All things Shopify and commerce
<div class="container">
<div class="row">
<div class="col-lg-6">
<a href="{{ section.settings.First_product_url }}">
<img src="{{ section.settings.First_product | img_url: '600x' }}"/>
</a>
<form method="post" action="/cart/add">
<input type="hidden" name="id" value="{{ product.variants.first.id }}" />
<input class="inputcart" min="1" max="" type="number" id="quantity" name="quantity" value="1"/>
<input type="submit" value="Add to cart" class="btn crt" />
</form>
</div>
<div class="col-lg-6">
<div class="row">
<div class="col-lg-6">
<a href="{{ section.second_product_url }}">
<img src="{{ section.settings.second_product | img_url: '600x' }}"/>
</a>
<form method="post" action="/cart/add">
<input type="hidden" name="id" value="{{ product.variants.first.id }}" />
<input class="inputcart" min="1" max="" type="number" name="quantity" id="quantity" value="1"/>
<input type="submit" value="Add to cart" class="btn crt" />
</form>
</div>
</div>
</div>
</div>
</div>
{% schema %}
{
"name": "product_saphire",
"settings": [
{
"type":"product",
"id":"First_product",
"label":"select product"
},
{
"type":"url",
"id":"First_product_url",
"label":"First product url"
},
{
"type":"product",
"id":"second_product",
"label":"select product"
},
{
"type":"url",
"id":"second_product_url",
"label":"Second product url"
}
],
"presets": [
{
"name": "product_saphire",
"category": "ADVANCED LAYOUT"
}
]
}
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024