Skip to content

Instantly share code, notes, and snippets.

View AbWahab07's full-sized avatar

Abdul Wahab AbWahab07

View GitHub Profile
These days some business have online store in different country with the same name. They have different URL for different country but they are facing a problem that how they can redirect store url based on IP address for eg.
www.domain.us – Customers in the United States
www.domain.ca – Customers in the Canada
www.domain.com – Customers in rest the world
This article guide you to do that.
# DEV Sandbox
## Objective
Learn Shopify and practice JavaScript by following BVA styleguide.
Some designs might be simplified along the way.
## Links
### Git
@AbWahab07
AbWahab07 / GitCommitEmoji.md
Created September 1, 2020 14:40 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@AbWahab07
AbWahab07 / resources.md
Last active August 31, 2020 17:31
FEM - Advanced CSS Layouts
@AbWahab07
AbWahab07 / readme.md
Created August 26, 2020 02:07 — forked from benstr/readme.md
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@AbWahab07
AbWahab07 / resources.md
Last active August 31, 2020 05:58
FEM - Design for Developers
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
|– components/
| |– _buttons.scss # Buttons
| |– _carousel.scss # Carousel
@AbWahab07
AbWahab07 / Blueprint-guarantee.liquid
Last active August 25, 2020 02:15
MVMT USP, Read more, Ships Free, USP badge, In Stock, Blueprint Guarantee
<div class="guarantee ">
<div class="guaranteeWrap text-center">
<div class="toplogo">
<img src="https://cdn.shopify.com/s/files/1/0376/1759/8600/files/LHG_1_410x.png?v=1589111157" alt="">
<img src="https://cdn.shopify.com/s/files/1/0376/1759/8600/files/BEB96113-2102-416D-AB8C-233A5B1D7E25_480x480_e3ddf4a5-4320-46f4-917e-40da6a07a4c9.png?v=1598321627" />
</div>
<div class="sectiontitle">
<h2>Our Guarantee</h2>
</div>
<div class="sectioncontent">
@AbWahab07
AbWahab07 / product.liquid
Created May 8, 2020 01:53 — forked from NickFlicks/product.liquid
Select variants by clicking their images. Add the code at the bottom of sections/product.liquid
{% if product.variants.size > 1 %}
<script>
var variantImages = {},
thumbnails,
variant,
variantImage,
optionValue,
productOptions = [];
{% for variant in product.variants %}
variant = {{ variant | json }};
@AbWahab07
AbWahab07 / product-json.liquid
Created May 4, 2020 10:03
Product JSON - Vantage
<script id="product-json-{{ product.id }}" class="product-json" type="application/json">
{
"id": {{ product.id | json }},
"title": {{ product.title | json }},
"handle": {{ product.handle | json }},
"description": {{ product.description | json }},
"vendor": {{ product.vendor | json }},
"type": {{ product.type | json }},
"tags": {{ product.tags | json }},
"price": {{ product.price | json }},