duncanmcclean / simple-commerce

A simple, yet powerful e-commerce addon for Statamic.
https://statamic.com/addons/duncanmcclean/simple-commerce
Other
143 stars 36 forks source link

Can't use field conditions inside product variant options #913

Closed duncanmcclean closed 11 months ago

duncanmcclean commented 12 months ago

Description

If you have a product with the Product Variants fieldtype, like shown below:

image

Then, add a field, in this case for managing stock:

image

You can go into the field and configure conditions for when the field should show:

image

However, even after the condition is configured and saved into the blueprint's YAML file, the field isn't actual conditional in the product variants field.

Steps to reproduce

n/a

Environment

n/a

github-actions[bot] commented 11 months ago

Released as part of v5.4.0.