Comments (2)
Hey!
The discount code functionality isn't a part of the Liquid Ajax Cart library as this functionality mostly done by apps and there is no a recommended way to do this. If you don't want to use any app you can try to make Ajax requests to the /discount/{discount_code} url. Try to find some info about this endpoint on how to use it on shopify community website.
from liquid-ajax-cart.
Thank you very much for the quick response.
from liquid-ajax-cart.
Related Issues (16)
- data-ajax-cart-quantity-input with input[type="number"] and .stepUp() / .stepDown() HOT 14
- Clear errors on another product form when a different product form is submitted. HOT 1
- Liquid Ajax Cart x PJAX HOT 16
- cart.item_count not updating on the first add to cart HOT 3
- Cart Item Count not updating when navigating back HOT 9
- The cart ajax is break when Shopify Markets is turned on. HOT 6
- Liquid Ajax Cart: the HTML for the "ajax-cart-section" section was requested but the response is null HOT 2
- Sometimes getting double add to cart requests HOT 2
- 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
- Add to cart event was firing twice
- cartRequestAdd doesn't work HOT 10
- Lazy Loading HOT 4
- No more than 2 times the same product in the cart HOT 3
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.