• Resolved diffuzor

    (@diffuzor)


    Hello, dear Developer!

    I have an issues “could not be added to the cart because some requirements are not met” with ALL products in my wishlist.

    My theme is custom, woocommerce works with zero prices. I checked wishlist also with non-zero price, but the issue is still there. I checked all other topics, I don’t use variable products. Only simple!

    Also i tried to add products from single-product page and archive pages. No result, the issue is still there.

    Please, help me to fix it?

    WordPress 6.2.2 \ Woocommerce 7.7.1 \ Php 7.4

    • This topic was modified 1 year, 5 months ago by diffuzor.
    • This topic was modified 1 year, 5 months ago by diffuzor.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hello,

    Our plugin uses the default WooCommerce add-to-cart product validation, and this appears to be causing the issue you’re experiencing.

    Given that your product’s price is set to zero or is empty, the WooCommerce method “is_purchasable” returns ‘false’. Consequently, you wouldn’t be able to add these products to the cart directly from your shop’s product listing or product page. We’ve verified this on your shop.

    To resolve this, you may want to consider using the “woocommerce_is_purchasable” hook. This could provide a workaround for your situation by altering the conditions under which a product is deemed purchasable. Bear in mind, though, that you may need some custom coding to adjust this setting according to your needs.

    We hope this information helps as the issue lies outside the scope of our plugin.

    Thread Starter diffuzor

    (@diffuzor)

    Thank you for your responce!

    But, I have a lot of products that have non-zero price, and again I have the same issues

    Plugin Author templateinvaders

    (@templateinvaders)

    You can effortlessly test your issue – if a product can be added to the cart from the product page or shop page, it should also be able to be added from the wishlist.

    Thread Starter diffuzor

    (@diffuzor)

    But, I tried to add this product https://merceurofoods.com.au/product/sokolow-mielonka-300g-x-6pcs/

    Add to cart works great on a shop page and on category archive, but it fires an issue in wishlist.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘could not be added to the cart because some requirements are not met’ is closed to new replies.