Add product to cart via script
Looking for a way to add an item to the cart using a script. In Shopify I can do this using a URL or a script Ike shown below.
or
script
- $.post('/cart/add.js', { //Post the below in the cart
quantity: 1, //Add the quantity of products
id:31947959435111 //product variant id
},function(){
window.location.reload();
});
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.