Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Add line item properties to ajax cart. Cleaned up ajax cart JS. #411

Merged
merged 1 commit into from
May 14, 2015

Conversation

cshold
Copy link
Contributor

@cshold cshold commented May 12, 2015

When products have custom properties they weren't differentiated in the ajax cart because the variant ID was used, rather than the 'line' of the cart it was one. This PR:

  • Uses the 'line' of the cart item to adjust quantity
  • Removes use of variant ID in JS
  • Updates jQuery selector variables to be prefaced with $
  • Adds line item properties to the ajax cart template
  • Uses the plus/minus icons in the quantity selectors

@carolineschnapp @stevebosworth (same update as Brooklyn theme)

cshold added a commit that referenced this pull request May 14, 2015
Add line item properties to ajax cart. Cleaned up ajax cart JS.
@cshold cshold merged commit b40ce7e into master May 14, 2015
@cshold cshold deleted the ajax-cart-properties branch May 14, 2015 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant