Hi @graficavillcom,
If I understand what you’re after, checkout this thread with a recommended PHP snippet. 🙂
https://wordpress.org/support/topic/one-product-and-one-piece-in-cart/
Hi @ryanr14,
Thank you but that’s not my situation. I don’t need that cart limit is set to one product only. I need that only when product A is add to cart, this will be sold individually. But if product A is not in cart and I add other products (B, C, D, E, etc) the cart should be working as usual.
Phil
(@fullysupportedphil)
Automattic Happiness Engineer
Thanks for the follow up @graficavillcom
I don’t have any suggestions for custom code that would do that. If you aren’t able to find something already written by someone with an online search, I’d recommend checking a site like Codeable for a skilled third-party developer.
Or if you are comfortable writing code yourself, you could join the WooCommerce Developer Slack.
Plugin Support
con
(@conschneider)
Engineer
Hi there,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Kind regards,
Hi @conschneider,
Sadly but I did not find a solution yet. I’m still looking for a plugin that help me with that.
Thx.