Chart plugin to view plot price changes of woocommerce product.
Chart plugin to view price changes of woocommerce product.
for change format date use php code below in function.php file:
This section describes how to install the plugin and get it working.
e.g.
1-Place the Php code do_shortcode( ‘[chartprice]’ ); in the single page product.
2-use shortcode [chartprice] in product post.
3- for change format date use php code below in function.php file:
add_filter('chart_price_apply_filter_format_date', 'format_date');
function format_date($date)
{
$date=date('Y/m/d');//defult Y-m-d
return $date;
}
*head version of plugin
*chang js file to chart js
*add the variable product to plot