Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Plot prices woocommerce product

Beskrivning

Chart plugin to view price changes of woocommerce product.

  • 1-Place the Php code do_shortcode( ’[chartprice]’ ); in the single page product.
  • 2-use shortcode [chartprice] in product post.

Arbitrary section

  • for change format date use php code below in function.php file:

Skärmdumpar

  • Plot in product
  • Settting

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress

Vanliga frågor

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;
}

Recensioner

Hey

18 februari 2021
This is exactly what i was looking for but I couldn't really understand the instructions, if possible can you give a step by step instruction? The chart is visible on my product page but the data are not accurate... And the php code snippet is exactly what? Kind regards
14 december 2020
با درود وقتی محصول ساده میزنیم و قیمت رو میزنیم. بعدش ویژگی های محصول رو اضافه میکنیم نمودار نشون داده نمیشه و فقط جدول نمودار خالی رو میاره. اما وقتی به محصول متغیر تغییرش میدیم با همون ویژگی ها میاد. این یک مشکله. چطور میشه حلش کرد؟ البته برای محصول ساده اگر ویژگی وارد نکنیم میاره و مشکلی نیست. ممنون میشم رانمایی کنید. سپاس
Läs alla 4 betyg

Bidragsgivare och utvecklare

”Plot prices woocommerce product” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.0

*head version of plugin

1.1

*chang js file to chart js

2.0

*add the variable product to plot