User Tools

Site Tools


public:apps:preorder:manual_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:apps:preorder:manual_installation [12.02.19 в 18:13]
Максим Засорин
public:apps:preorder:manual_installation [22.05.19 в 09:42] (current)
Максим Дубинин
Line 37: Line 37:
             ]             ]
         },         },
 +        // "​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 45: 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>​
  
 > **Important:​** At the very bottom of the snippet in the last line, replace the text "​NAME-OF-YOUR-SHOP"​ with the address of your store from the address bar of the browser when you are in the admin area of the store (like "//​**simple-pre-order-demo-shop**//​.myshopify.com",​ and not, for example, "<​del>​spo-demo.shop</​del>"​). > **Important:​** At the very bottom of the snippet in the last line, replace the text "​NAME-OF-YOUR-SHOP"​ with the address of your store from the address bar of the browser when you are in the admin area of the store (like "//​**simple-pre-order-demo-shop**//​.myshopify.com",​ and not, for example, "<​del>​spo-demo.shop</​del>"​).
  
-2. In the theme template //"product.liquid"//​ right before the closing tag "</​head>"​ add the code to connect the snippet:+2. In the theme template //"theme.liquid"//​ right before the closing tag "</​head>"​ add the code to connect the snippet:
 <​code>​ <​code>​
 <!-- Snippet for Simple Preorder app --> <!-- Snippet for Simple Preorder app -->
public/apps/preorder/manual_installation.1549984386.txt.gz · Last modified: 12.02.19 в 18:13 by Максим Засорин