This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
public:apps:preorder:manual_installation [06.02.19 в 10:34] Артем Куц old revision restored (2019/01/31 в 16:24) |
public:apps:preorder:manual_installation [15.05.19 в 10:18] Максим Дубинин |
||
---|---|---|---|
Line 31: | Line 31: | ||
"inventory_quantity": '{{item.variant.inventory_quantity}}', | "inventory_quantity": '{{item.variant.inventory_quantity}}', | ||
"inventory_management": '{{item.variant.inventory_management}}', | "inventory_management": '{{item.variant.inventory_management}}', | ||
- | "inventory_policy": '{{item.variant.inventory_policy}}' | + | "inventory_policy": '{{item.variant.inventory_policy}}', |
+ | "properties": {{ item.properties | json }} | ||
}, | }, | ||
{% endfor %} | {% endfor %} | ||
] | ] | ||
}, | }, | ||
+ | // "startupDelay": 100, | ||
// "productSelector": 'form[action="/cart/add"] [type="submit"]', | // "productSelector": 'form[action="/cart/add"] [type="submit"]', | ||
// "variantsSelector": 'form[action="/cart/add"] .variants-selector', | // "variantsSelector": 'form[action="/cart/add"] .variants-selector', | ||
+ | // "nativeVariantsSelector": 'form[action="/cart"] [name^="id"]', | ||
// "checkoutSelector": 'form[action="/cart"] [type="submit"][name="checkout"]', | // "checkoutSelector": 'form[action="/cart"] [type="submit"][name="checkout"]', | ||
// "updateSelector": 'form[action="/cart"] [type="submit"][name="update"]', | // "updateSelector": 'form[action="/cart"] [type="submit"][name="update"]', | ||
Line 44: | Line 47: | ||
}; | }; | ||
</script> | </script> | ||
- | <script src="https://http://preorder.kad.systems/scripts/NAME-OF-YOUR-SHOP.myshopify.com.js"></script> | + | <script src="https://preorder.kad.systems/scripts/NAME-OF-YOUR-SHOP.myshopify.com.js"></script> |
</code> | </code> | ||