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
Step0: determind which section you want to modify and inspect the section name | |
Step1: find the template you want to modify and add custom code to the schema | |
(e.g. tempalte -> page-sections-template.liquid) | |
{ | |
"type": "text-and-image" #section name | |
"name": "Image with text" | |
"Settings":[ #adding new section in here | |
{ | |
"type": "text"/"select"/"range"/"image_picker" |
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
Ping | |
to check connectivitiy to a host | |
$ ping host | |
Traceroute | |
used to discover the routes that packets actually take when traveling to their destination. | |
$ traceroute host | |
Telnet(obsolete) | |
used to connect form one host to another (remote login) via the internet network |
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
{% assign total_saving = 0 %} | |
{% for item in cart.items %} | |
{% if item.variant.compare_at_price > item.variant.price %} | |
{% capture saving %}{{ item.variant.compare_at_price | minus: item.variant.price }}{% endcapture %} | |
{% assign total_saving = saving | plus: total_saving %} | |
{% endif %} | |
...rest of cart code within for loop | |
{% endfor %} | |
Display saving: |