Created
February 5, 2018 18:27
-
-
Save essmahr/e863d3373ab8d7bf72a4cb688b5779ca to your computer and use it in GitHub Desktop.
This file contains 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
Before using any of the variables below, add this line, once per file | |
{% include 'buyx-price-min' with product %} | |
The following blocks are original code, if exist, and replacement code. | |
Note that instead of product.price, there might be variations like item.price, or product-block.price etc. | |
==== | |
product.available | |
== replace with ==> | |
buyx_product_available | |
==== | |
product.price | |
product.price_min | |
== replace with ==> | |
buyx_price_min | |
==== | |
{% if product.price_varies %} | |
== replace with ==> | |
{% if product.price_max > buyx_price_min %} | |
==== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment