We are looking for some feedback from a nopCommerce expert we cant see a way with out the box advanced settings (so far) to achieve the following request we got from a gin website seller
Product with variants - Custom Gin Cocktail Box made up of Single Products
We need to limit a Custom Cocktail selector to 5 choices per box, at the moment the only setting could find was max number in cart for the single product but allowed more than 5 in total before the cart limiter kicked in
Also tried product attributres but again it maxed out on 5 orange 5 strawberry, 5 apple etc thats no good we need limiting user selection like below
1 orange 2 apple 1 strawberry 1 raspberry
total maximum 5 cocktail types per box
Thought we could as a quick work around intercept with javascript on add to cart button event and limit it that way but better to use nopCommerce API and modify the cart handler or any other methods?
Does anyone know the best way/s to do this, is it possible? 8)
Have you considered a single product (not variants), with five product attributes - e.g. Choice 1, Choice 2, etc. The attribute dropdowns would each show all the flavors
Thanks for answering but that's what we meant when said "Product with variants - Custom Gin Cocktail Box made up of Single Products"
Problem is we already tried that but it did not limit the customer to only 5 of any type - even with max number in cart allowed set to 5 as that only applies to single product - as it lets them add max 5 of each but they could add for example 7 total of a combination!
the seller rules are they need to be restricted to 5 no matter what, any ideas?
Ah sorry read that too quickly saw the brackets and it looked like the (with variant) in the admin just was was getting messages from other people at same time distracting me
To make it clear have tried 2 setup configurations
Configuration 1 +++++++++++++ Grouped (Product with Variants) https://www.orogin.co.uk/shop/cocktail-selection
also tried before that Product attributes but it still let the customer add more than 5 total flavours
Configuration 2 +++++++++++++ Single Product Product Attribute - Flavour https://www.orogin.co.uk/shop/attributes-test-cocktail
Both let the total number of cocktail combinations be more than 5 it treats a flavour as a separate product
Neither of your examples shows "combinations". As per my prior "five product attributes - e.g. Choice 1, Choice 2, etc. " - it would be one Simple Product - for example:
RE: "duplicate option for product attribute" No, but it can be done if you know SQL and the table structures. (Similar example here, but it's product to product, and not values.)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.