It seems the default WooCommerce option ‘Limit purchases to 1 item per order’ stops working when someone chooses different options. I am trying to create a ‘sample box’ where a customer can choose max. 3 options. However they should only be able to add one sample box per order, no matter what options they choose.
I’d be happy to help you with this issue. To better understand the situation and try to recreate it in my testing environment, could you please provide a bit more detail?
Could you share screenshots of your field settings in Flexible Product Fields?
Alternatively, could you describe how the fields are configured within FPF for the ‘sample box’ options?
This information will help me investigate the issue and find a solution tailored to your setup. Looking forward to your reply!
This is a screenshot of the current state (we didn’t do all styling yet, but functionality stays the same)
This product is a ‘free sample’, where the customer only has to pay for the shipping. They should be able to choose a minimum of 1 and a maximum of 3 colors/samples. Because this sample is free, they should only be able to order 1 product per order, no matter what samples they’ve chosen.
We currently use the ‘multi checkbox’ field. We’d actually prefer to be able to use this field with images (like the ‘radio with images’, but ‘multi checkbox with images’). I’m also wondering why this isn’t possible? 🙂
So we activated the ‘Limit purchases to 1 item per order’ option in WooCommerce (it’s a default option, no plugins). But the following happens:
If I choose a product with the exact same options, I can only add it once;
If I change the options (fill in another checkbox), I can add it multiple times, as long as the exact combination of samples is not chosen yet;
I’m wondering why this is happening because officially it’s not a variable product.
I’d like to clarify that the behavior you described is actually expected and aligns with the intended functionality of the plugin. Here’s why:
In WooCommerce, when dealing with variable products created without any plugins, the logic works similarly. Customers can add multiple variations of the same product to the cart as long as the options differ. However, they can only add one of any specific variation. Our plugin is designed to follow the same principle: customers can add multiple products with different options, but only one product with the exact same set of options.
This ensures consistency with the standard WooCommerce behavior and is working as intended. Unfortunately, there isn’t a way to alter this logic within the plugin as it was purposefully designed to function this way.
Regarding your suggestion about a “multi checkbox with images” field: thank you for sharing your idea! I’ve added it to our internal list of suggestions for future updates. While I can’t guarantee implementation, I’ll be happy to inform you if we decide to include this feature in a future release.
Please let me know if you have any other questions or if there’s anything else I can assist you with!