Multi attributes
Posted: 07 Feb 2021, 08:51
Hello,
i have a product with multi attributes.
stock control based on variants.
button add to cart is not shown because stock control is based on variant and first attribute option has 0 stock.
as soon as i make a choice on one of them i can order it. it does not force the customer to first select both options.
So stock control schould be based on all attributes not only the first selection.
i tried to change the second attribute as a checkbox, and required. this option force the customer to make a selection.
But with checkbox you can select both options. it should be only one.
main product stock = 1 (>0 is needed otherwise it does not show the product at all)
product price defined on variant
- attributes 1
Required, select
-- first option : Make your Choice
Set do default, no stock, no price
-- second option: 10 days
with stock, and price
-- third option: 30 days
with stock, and price
- attributes 2
-- first option : Make your Choice
Set do default, no stock, no price
-- second option: Male
with stock, and price
-- third option: female
i have a product with multi attributes.
stock control based on variants.
button add to cart is not shown because stock control is based on variant and first attribute option has 0 stock.
as soon as i make a choice on one of them i can order it. it does not force the customer to first select both options.
So stock control schould be based on all attributes not only the first selection.
i tried to change the second attribute as a checkbox, and required. this option force the customer to make a selection.
But with checkbox you can select both options. it should be only one.
main product stock = 1 (>0 is needed otherwise it does not show the product at all)
product price defined on variant
- attributes 1
Required, select
-- first option : Make your Choice
Set do default, no stock, no price
-- second option: 10 days
with stock, and price
-- third option: 30 days
with stock, and price
- attributes 2
-- first option : Make your Choice
Set do default, no stock, no price
-- second option: Male
with stock, and price
-- third option: female