• Resolved davidoi

    (@davidoi)


    Hello,
    when I add a variable product to the cart, and I go to checkout doesn’t display the correct price, it always shows the lowest price of all the variations for this product. But the total price it’s correct.
    It seems to be a issue of your plugin because when I deactivate it goes well.

    Can you help me to fix it?
    Thank you so much!

    https://www.ads-software.com/plugins/woo-poly-integration/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Hyyan Abo Fakher

    (@hyyan)

    @davidoi thank for your valuable feedback , fixing this in the next release

    zaidapicazo

    (@zaidapicazogmailcom)

    Hello,
    I have the same problem. When do you have planned more os less the next release?
    Thanks

    Hi, I’m experiencing the exact same issue. It’s related to the following hook that is registered in the File src/Hyyan/WPI/Cart.php:

    // handle the translation of displayed porducts in cart
    add_filter(
            'woocommerce_cart_item_product'
            , array($this, 'translateCartProducts')
            , 10
            , 2
    );

    When hooking in before that filter (priority < 10), the prices in the passed object/arrays are correct. So I guess that the translation object does not correctly adopt the variation price from the original product object.

    I’ll be looking for a solution as well.
    Thanks for the geat Plugins and cheers

    I have same problem.

    Hello,

    I have a similar problem with variable products. Not sure if everything is related.

    For me, the price of the translated variable product doesn’t change when I change the attribute (as defined in the original product, where it works fine).

    On the other hand, i can’t not translate the attribute field, even the WooPoly>Features>”Enable Attributes translations” is unchecked. I also have tried to uncheck the WooPoly>Meta List>”Product Attributes” and “Default Attributes” options, but it doesn’t work (they are still checked after save changes).
    Any idea?

    For the rest of the features…a great and powerful plugin! Congrats

    Thank you and best regards

    Hello again,

    I have just fixed my first problem: price not changing in the translated product. To fix it, I have to unchecked the “Fields Locker” option and set the variations of the translated product manually. It doesn’t inherit it from its “father”.

    The attribute translation has been fixed too, with the next combination:
    – “Enable Attributes translations”: checked
    – “Product Attributes”: unchecked (I can’t maintain Product and Default options unchecked at the same time…as commented in other support thread).

    But, the bad news…as the rest here, I’m having now the referred problem in this post: ” it always shows the lowest price of all the variations for this product. But the total price it’s correct”.

    Hope the solutions comes soon.
    If more info is needed, please ask.

    Thanks and best regards

    xmflsct

    (@xmflsct)

    I have the same problem, and I followed what @shearwater suggested, but no luck. The translated attributes and variable products (SKU) are synced nicely, however I cannot associate any of the translated attributed to the linked variable products. I mean, I do can click the save button, but it won’t save to the database. Hope there is solution soon.

    hi guys, does anyone found a solution for the problem of variable products prices that display wrong in the cart ?

    hi Hyyan Abo Fakher,
    hi mjke87,
    hi all,

    could you find any solution?

    Good day ahead

    Hi Shredmates,

    Somehow my installation works by itself. I have no idea why.

    To be noted that, I didn’t update WooCommerce and Polylang since then, because the integration plugin did not update also.

    Hey xmflsct,

    I just started up, so am I using the latest version of all. And for me it is not working at all.

    What I get is:
    the lowest price in the shopping bag, always
    and product attributes and variable are overridden by the second language

    It is very frustrating experience…

    I solved it. I first tried this fix :
    https://www.ads-software.com/support/topic/variable-product-price-on-cart-page-is-wrong?replies=7
    I brought some changes but still not solve problem.

    Thus if I well remember, I removed all my delivery class. Then it worked fine.

    I cannot find hyyan in my plugin folder ??

    where is this >src>hyyan>WPI>cart.php located?

    Is this working only with one currency?

    For this fix you’ll find the folder in wp-content/plugins/woo-poly-integration/src/hyyan/WPI/Cart.php

    This worked only for my primary language. That’s why I then removed the delivery class in Products settings

    hi couiljer,

    thanks for your help.

    It does not work for me. It is still a big bordel, except primary language, even though I have disabled all shipping options.

    I do not see any other solution than trying another translation plug in.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘variable product price problem’ is closed to new replies.