Skip to content

Conversation

@GerryFort
Copy link
Contributor

@GerryFort GerryFort commented Sep 9, 2019

Changed line 101 to be READONLY values rather than DISABLED. DISABLED form values do not submit; therefore if these trigger and changes are made to the cart, these items get removed. Changed to READONLY to address this.

Changed line 101 to be READONLY values rather than DISABLED. DISABLED form values do not submit; therefore if these trigger they are never submitted to checkout.
Copy link

@tasmaniaman tasmaniaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need the extra IF in the class section?

E.g. class="form-control cart-qty [%if [@aff_id@] eq 'free'%] readonly [%/if%]"

@philcon93
Copy link

@GerryFort @tasmaniaman it only requires to be an attribute for Bootstrap 4, it uses that for the styles:

@GerryFort
Copy link
Contributor Author

@philcon93 understand. Seeing line 67 had it; I thought I'd put it in my edit to comply with existing code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants