So it gets a bit more complex here… (for me)
I figured out how to make custom states for the selection but need to integrate those to the workflow of the shopping-cart.
First of all could it be more simple than this:
I set a state Yes/No for each button
It’s working but any way to make it react with a custom state set for the group to have less condition (for each button)? Well the problem seems it would reset all the button without exception!
Then I went a bit further in this process by integrating this to the workflow of this shopping-cart:
I set a custom state for the group so it recognizes when there is a selection and don’t pass the order when the button “Add to cart” is pressed. I did by adding the condition “… and group product size is yes” to a few steps:
There is gets messier!
I added a “Size” field to Order and Ordered product:
And now I make change to the “Order” workflow when the “Size” button is pressed but I’ll need to click again after I pressed… This makes sense since it didn’t store that info but it’s not what I want. I’ll need to sort this out. i.e.: When the “Size” button is pressed → store this info by creating a custom state → send this info to the new Order after the “Add to cart” button is pressed.
Here the issue before/after pressing “Size” button again to enter this “size” data:
And there the very beginning of this workflow:
Custom state to prevent “Add to cart” button to trigger the order:
I changed the workflow to have the Size into the Order fields here:
But it seems I make a mistake by using “Placed Orders” since the first time I enter the order the size is not stored yet in “Ordered products” while displayed in “Orders”:
Then it is displayed in “Ordered products” and not anymore in “Orders”:
A bit confused, I’ll sleep on this. I just started this today and I need to clarify my mind with this workflow… Glad I could copy paste the Shopping-cart widget but it is complex already to mess with it by adding simple tasks like this…
Any help would be greatly appreciated!