inostor™-Stylish Loose Pocket Long Sleeve Coat and Warm Fringed Scarf
${function(){
const variantData = data.variant || {"id":"d1f49cbb-8da9-4b90-afd2-7d5e0d1b95cd","product_id":"40f5acf6-d368-4bf5-bd67-0c788921e595","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WJ29598-BK-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba944b6a84d77829adf4f69e45a49918.jpg","path":"ba944b6a84d77829adf4f69e45a49918.jpg","width":1080,"height":1349,"alt":"","aspect_ratio":0.8005930318754633},"wholesale_price":[{"price":65.88,"min_quantity":1}],"weight":"0","compare_at_price":"65.88","price":"65.88","retail_price":"65.88","available":true,"url":"\/products\/stylish-loose-pocket-long-sleeve-coat-and-warm-fringed-scarf?variant=d1f49cbb-8da9-4b90-afd2-7d5e0d1b95cd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const variantData = data.variant || {"id":"d1f49cbb-8da9-4b90-afd2-7d5e0d1b95cd","product_id":"40f5acf6-d368-4bf5-bd67-0c788921e595","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WJ29598-BK-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba944b6a84d77829adf4f69e45a49918.jpg","path":"ba944b6a84d77829adf4f69e45a49918.jpg","width":1080,"height":1349,"alt":"","aspect_ratio":0.8005930318754633},"wholesale_price":[{"price":65.88,"min_quantity":1}],"weight":"0","compare_at_price":"65.88","price":"65.88","retail_price":"65.88","available":true,"url":"\/products\/stylish-loose-pocket-long-sleeve-coat-and-warm-fringed-scarf?variant=d1f49cbb-8da9-4b90-afd2-7d5e0d1b95cd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
people are viewing this right now
Color:
Black
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
S
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$65.88
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"d1f49cbb-8da9-4b90-afd2-7d5e0d1b95cd","product_id":"40f5acf6-d368-4bf5-bd67-0c788921e595","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WJ29598-BK-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba944b6a84d77829adf4f69e45a49918.jpg","path":"ba944b6a84d77829adf4f69e45a49918.jpg","width":1080,"height":1349,"alt":"","aspect_ratio":0.8005930318754633},"wholesale_price":[{"price":65.88,"min_quantity":1}],"weight":"0","compare_at_price":"65.88","price":"65.88","retail_price":"65.88","available":true,"url":"\/products\/stylish-loose-pocket-long-sleeve-coat-and-warm-fringed-scarf?variant=d1f49cbb-8da9-4b90-afd2-7d5e0d1b95cd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.