I have been trying to figure out a simple way of managing product stocks while also allowing the variant option.
Let's say we have the dimensions option added:
...can this be easily changed to something like:
...Where you add a ! before all the options that are not in stock?
And then use this somehow inside the <cms:pp_product_options > to add a not-in-stock class to the label of that size?
This can further be used in the front end to display messages when selecting between sizes or hide the buy button and display a form so you can get announced when it comes back in stock.
Let's say we have the dimensions option added:
- Code: Select all
Dimensions[XXS | XS | S | M | L | XL | XXL]**
...can this be easily changed to something like:
- Code: Select all
Dimensions[!XXS | !XS | S | M | L | !XL | XXL]**
...Where you add a ! before all the options that are not in stock?
And then use this somehow inside the <cms:pp_product_options > to add a not-in-stock class to the label of that size?
This can further be used in the front end to display messages when selecting between sizes or hide the buy button and display a form so you can get announced when it comes back in stock.