This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% layout none%} | |
{% assign applied_discounts = cart.discount_applications | where: "type", "discount_code" %} | |
{% capture discounts %} | |
{% for discount_application in applied_discounts %} | |
{ | |
"title" : "{{ discount_application.title }}", | |
"value" : "{{ discount_application.value }}", | |
"value_type": "{{ discount_application.value_type }}", | |
"type": "{{ discount_application.type }}", | |
"amount" : "{{ discount_application.total_allocated_amount | money }}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%comment%} | |
############################################# | |
# Mohamed El-Ghorfi Discount Code on Cart # | |
# [UPDATED] # | |
############################################# | |
# Paypal Me: https://paypal.me/elghorfimed # | |
# Buy Me A Coffee: # | |
# https://www.buymeacoffee.com/elghorfi # | |
############################################# | |
# [email protected] # |