Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement discount code? #47

Closed
ulziibat-n opened this issue Oct 11, 2022 · 2 comments
Closed

How to implement discount code? #47

ulziibat-n opened this issue Oct 11, 2022 · 2 comments

Comments

@ulziibat-n
Copy link

Hello!
Thanks for the awesome plugin.
I'm using this plugin for a custom Shopify theme.
I need to discount code (Coupon) field on the my-card.liquid file.
I couldn't find about coupon code in your documentation.
Can you provide any guidance or information on this?
Thanks again.

@EvgeniyMukhamedjanov
Copy link
Owner

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.

@ulziibat-n
Copy link
Author

ulziibat-n commented Oct 12, 2022

Thank you very much for the quick response.

Repository owner locked and limited conversation to collaborators Oct 12, 2022
@EvgeniyMukhamedjanov EvgeniyMukhamedjanov converted this issue into discussion #48 Oct 12, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants