Within your own website:
If you wish to create a custom "Add to Cart" button for a product within your website (where the store code is already placed) you can use the following Java Script Call to do so. Simply apply this to any product within your site.
Java Script Call: wazala_widget.addtocart('Product ID', 'Product Name', {'Option 1' : 'Option 1 Value', 'Option 2' : 'Option 2 Value'});
Please note:
- You need to make sure the product name of the specific product is placed instead of "Product Name".
- You will need the product ID. Product ID can be found by signing into your Wazala account. Go to MANAGER >> PRODUCTS, then select that specific product and in the preview window you will find the product ID.
Within a newsletter or from another site:
If you wish to create a custom "Add to Shopping Cart" button for any product for sale you can use the following URL to do so.
http://YOURSTORENAME.wazala.com/?act=addcart&pid=ProductID&page=cart
http://YOURSTORENAME.wazala.com/?act=addcart&pname=PRODUCT NAME&page=cart
http://YOURSTORENAME.wazala.com/?act=addcart&pid=ProductID&page=cart&poptions={"option1":"option1value","option2":"option2value"}
Please note:
Make sure you replace "YOURSTORENAME" with your store name and the product name of the specific product is placed instead of "PRODUCT NAME" and Product ID is place instead of "ProductID".
*Product ID can be found by signing into your Wazala account. Go to MANAGER >> PRODUCTS, then select that specific product and in the preview window you will find the product ID.