Comments (6)
Can you share a preview link and steps to reproduce the issue?
from liquid-ajax-cart.
Sure let me clean up the preview. Will send shortly
from liquid-ajax-cart.
https://hhckl444oj1c2gcx-76794134825.shopifypreview.com/products/ruffled-cushion-medium
pass: iadeeg
Minimal layout and styling for testing. Just use product page as standard. Add product variants, check side cart updates, try updating quantities in side cart. Check cart preview updates at top of screen.
from liquid-ajax-cart.
Also noticed plus/minus buttons don't function either
from liquid-ajax-cart.
This is happening because your cart isn't inside a Shopify section.
Liquid Ajax Cart uses Shopify Sections API to update the cart's content, which is available only if you put your content in a Shopify section.
So to fix that -- create a new shopify section and make sure that the element with the data-ajax-cart-section
attribute and all its children is inside the section.
from liquid-ajax-cart.
Awesome this solves it. Thank you
from liquid-ajax-cart.
Related Issues (20)
- there is a data-ajax-cart-section element that is not inside a Shopify section
- Having a hard time getting a data-ajax-cart-section to update after ATC button clicks HOT 6
- Conditional doesn't work HOT 5
- How to implement discount code? HOT 2
- Add to cart event was firing twice
- add_to_cart event fires twice HOT 5
- Detect when a product has been removed from cart HOT 2
- Ajaxified cart doesn't seem to work when console/inspector is open HOT 3
- Incorrect replacement of input values in the stateHandler function in controls/quantity-input.ts HOT 5
- Ajax Cart Quantity Bug HOT 13
- Compatibility of the Ajax Cart with "Gift Card Add Recipient" feature HOT 1
- Style cart errors HOT 2
- Quantity buttons: Minus to 0 HOT 8
- Migration to 2.0.1: No named exports when using modules. HOT 2
- Add a class for when product adding to cart HOT 5
- data-ajax-cart-bind="item_count" not working HOT 2
- Liquid Ajax Cart: the HTML for the "sections_url" section was requested but the response is null HOT 14
- ajax add to cart for bundles not working HOT 2
- Trigger update event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquid-ajax-cart.