Skip to content

Instantly share code, notes, and snippets.

@AlexWebLab
Created November 7, 2018 09:03
Show Gist options
  • Save AlexWebLab/ecb3cde7a660aef4c08c8c4dc24201bd to your computer and use it in GitHub Desktop.
Save AlexWebLab/ecb3cde7a660aef4c08c8c4dc24201bd to your computer and use it in GitHub Desktop.
after
{{item.variant.title}}
add
<span class="saso-cart-item-discount-notes" data-key="{{item.key}}"></span>
<span class="saso-cart-item-upsell-notes" data-key="{{item.key}}"></span>
==
replace
{{ item.price | money }}
with
<span class="saso-cart-item-price" data-key="{{item.key}}">{{ item.price | money }}</span>
==
replace
{{ item.line_price | money }}
with
<span class="saso-cart-item-line-price" data-key="{{item.key}}">{{ item.line_price | money }}</span>
==
before
{{ cart.total_price | money }}
add
<div class="saso-summary"></div>
==
replace
{{ cart.total_price | money }}
with
<span class="saso-cart-original-total">{{ cart.total_price | money }}</span>
<span class="saso-cart-total"></span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment