My website gives customers the option to order a shoe repair and I have added functionality using repeating sections based on woocommerce quantities for users to add multiple different pairs of shoes to their order (without having to add to cart and go back to the ordering page repeatedly).
I have several conditional fields that apply to some shoes types but not to others.
It seems that after one order is input, and the user attempts to add an additional order, the conditional fields relevant to the first order are applied to the additional order as well despite not necessarily being relevant.
This causes the order to fail as those conditional fields are “Required” for certain shoe types but not for others and are still being applied covertly to every shoe type.
I’m guessing this is due to the way woocommerce quantity changes duplicate the data, I’m wondering if there’s a workaround for this. Repeating a section based on “Clicking a button” doesn’t allow me to calculate a staggered shipping rate and doesn’t break the order down into individual pairs of shoes with their respective prices in the cart and invoice.
To replicate the issue:
Go to: http://www.arcticsoles.no/#resole
Scroll down a little
Add an order as a “Climbing shoe” under “Choose a Shoe Type” and fill out the form, then add an additional pair with the option at the end of the form.
Add a new order as an “Approach shoe” type.
The order will fail and send you back to the homescreen, if you scroll down to the ordering section again then an error saying “Brand name is required” or similar will be displayed.
The page I need help with: [log in to see the link]