Now users can add products brought on your website to their Online Wardrobe.
How to install a product button from Online Wardrobe?
1) Insert the code shown below on the page where you would like the OW button to appear.
2) Insert the code script on the same page in header part of the page.
function yuuze()
{ var prodName= 'Product name';
var prodImageUrl ='product Image path';
if(prodName!=''&& prodImageUrl!='')
{
window.open('https://www.onlinewardrobe.com/auth/apilogin?product='+prodName+'&prourl='+prodImageUrl,'_blank');
return false;
}else{
alert('please check product name or image url');
}
}
3) In the above script (Step 2)
Insert the product name
var prodName = 'Product name goes here';
4) Insert the image path of the product
var prodImageUrl ='product Image path goes here';
5) You are all set.
For any issue or help contact to support team at contactus@onlinewardrobe.com