This is the error log
Fatal error: Uncaught Error: Class 'Alg_WC_PPBF_Math' not found in /var/www/maazamaaza.duckdns.org/wp-content/plugins/product-price-by-formula-for-woocommerce/includes/class-prowc-ppbf-core.php:229 Stack trace: #0 /var/www/maazamaaza.duckdns.org/wp-content/plugins/product-price-by-formula-for-woocommerce/includes/class-prowc-ppbf-core.php(279): ProWC_PPBF_Core->evaluate_formula() #1 /var/www/maazamaaza.duckdns.org/wp-content/plugins/product-price-by-formula-for-woocommerce/includes/class-prowc-ppbf-admin.php(217): ProWC_PPBF_Core->price_by_formula() #2 /var/www/maazamaaza.duckdns.org/wp-includes/class-wp-hook.php(292): ProWC_PPBF_Admin->add_final_price_preview_to_meta_box() #3 /var/www/maazamaaza.duckdns.org/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #4 /var/www/maazamaaza.duckdns.org/wp-includes/plugin.php(484): WP_Hook->do_action() #5 /var/www/maazamaaza.duckdns.org/wp-content/plugins/product-price-by-formula-for-woocommerce/includes/settings/class-prowc-ppbf-metaboxes.php(149): do_action() #6 /var/www in /var/www/maazamaaza.duckdns.org/wp-content/plugins/product-price-by-formula-for-woocommerce/includes/class-prowc-ppbf-core.php on line 229
Hi @kneelesh48,
I apologize for the issue you’re facing. Please set this formula in this format,
“x*p1+p2”
To set the value of the parameter. ex.p1 and p2
See this screenshot for more details and exact input that you need to set, https://www.screenpresso.com/=Eo8ag
Thank you!
Do I always have to use formula in this format? x*p1+p2
If that’s the case why is there even an option to enter a formula?
Can I have numbers in the formula?
My formula is a but complex, what should I do?