Total : 0.00 €

Before contacting us, please make sure to check our F.A.Q

Please, login or register to our website in order to be able to post a presale question in the forum.

× WooPrice Calculator PRO

Sale price dosent work

More
1 week 2 days ago #1804 by john morten
john morten replied the topic: Sale price dosent work
I changed the public function code in the ecommercehelper.php and this looks to work.
Now it works on sale price , and also on variable products.:)

from

public function getProductArrayFromWooCommerce($product){
return array(
'id' => $product->get_id(),
'name' => $product->get_title(),
'price' => $product->get_regular_price(),
);
}


too


public function getProductArrayFromWooCommerce($product){
return array(
'id' => $product->get_id(),
'name' => $product->get_title(),
'price' => $product->get_price(),
);
}

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #1803 by john morten
john morten created the topic: Sale price dosent work
When adding sale price to a product the "base price" in the calculator gets the regualar price. is this a bug?

Please Log in or Create an account to join the conversation.

Moderators: david
Time to create page: 0.333 seconds

Cart

Total : 0.00 €