• Resolved halleylucena

    (@halleylucena)


    Hi Guys!

    I have a problem when I use the Woocommerce Name Your Price plugin. I have already analyzed all the active plugins and I saw that with woo-poly-integration it makes an error when using Name Your Price.

    The Name Your Price plugin works by giving the buyer the option to decide what price to pay on the product, it has a form on the product page where they enter the price they want, and that price goes to the cart. with woo-poly-integration active , the price in the cart is the base price of the product, which we determine in the product dashboard, instead the price the buyer chose.

    Please, help me in this situation.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    Please note that this plugin only supports woocommerce compatibility with polylang, it does not implement polylang compatibiity for other woocommerce extensions.
    This plugin is a free plugin supported by volunteers in their spare time and cannot support any other plugins compatibility with polylang: if other plugins want to be compliant with polylang then they should implement their own compatibility layer, or you should do so yourself.

    Also note that there are at least 3 plugins called Name Your Price (by YITH, Algoritmika and WooCommerce themselves) so you need to be more specific in your request – if you mean the Name Your Price by the WooCommerce team then this is a paid plugin with paid support people so you should ask them whether they are willing to support usage with polylang: also as it is a paid plugin, the volunteer here do not have access to the code to be able to tell you how to modify it to be compatible.

    Having said all that, the problem you are likely to have is with the cart functionality: this plugin filters the cart to apply the correct language versions of the products in the cart. Doing so may break the functionality of name your price type plugins. (I didn’t write this part of the functionality, I am just an unpaid volunteer helpfully telling you about it so don’t write back to me complaining about it, if you don’t agree with how it works, please raise a suggestion and pull request on github – the notes for this plugin do say there is no help available on this forum).

    This clash in the cart functionality could be avoided by either changing the filter priority of one or both of the plugins or by disabling the Cart.php functionality in this plugin. – at the moment there’s no option for that in the plugin, you are welcome to suggest and/or implement one at https://github.com/hyyan/woo-poly-integration/issues/
    if it helps your situation.

    So, closing this issue since Name Your Price support for Polylang is not in scope of this plugin.

    Thread Starter halleylucena

    (@halleylucena)

    Hi Jonmoore

    Thanks for the feedback! i found a snippet that solves a part of my problem. for now, should be enough!

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    Great!
    Please post the snippet and your results to let other users know.

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    @halleylucena did you find solution?
    I’m thinking it might be worth adding an option to the plugin to disable the cart functionality if it solves this type of problem

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error with Woocommerce Name Your Price Plugin’ is closed to new replies.