------+++++

------+++++

Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product
  • Load image into Gallery viewer, Ajax Cart product

Ajax Cart product

Vendor
prokopenko
Regular price
$200.01
Sale price
$200.01
Regular price
$210.01
Sold out
Unit price
per 
Tax included.

tab 1

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

tab 2

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 

прописываем подключения

{{ 'api.jquery.js' | shopify_asset_url | script_tag }}

{{ 'shop.js' | asset_url | script_tag }}

добавляем в assets - shop.js.liquid

в header.liquid прописываем qty и добавляем подключение миникарты

<a href="#" class="site-header__cart"> <span>{{ 'layout.cart.title' | t }}</span> <div id="CartCount" class="site-header__cart-count"> <span> {% if cart.item_count > 0 %} {{ cart.item_count }} {% endif %} </span> <span class="icon__fallback-text desktop-hidden">{{ 'layout.cart.items_count' | t: count: cart.item_count }}</span> </div> </a>

{% include 'minicart' %}

добавляем файл миникарты в snippets

в форму продукта http://prntscr.com/jeujm6

<input type="hidden" name="return_to" value="back" />

для сабмита дописываем http://prntscr.com/jeuk6k

onclick="Shopify.addItemFromForm('product_form_{{product.id}}'); return false;"

готово