adjust cart item pricing overrides previous changes to the price
-
Hi there,
I’m using an other plugin which can affect the price of the product when added to the cart, but advanced-product-fields-for-woocommerce overrides previously made changes by using the product’s base price instead of the price set in the cart items.
So in
class-product-controller.php
>public function adjust_cart_item_pricing($cart_obj) {
,
instead of doing$base = Helper::get_product_base_price($product);
it should do
$base = $item['data']->get_price();
in order to keep the changes made by other plugins.
It would be great if you’d consider changing that.
Thanks,
Marc.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘adjust cart item pricing overrides previous changes to the price’ is closed to new replies.