Women Fashion Lapel Pocket Pure Color Coat
${function() {
const variantData = data.variant || {"id":"c6dff2b3-2c64-4524-9317-10912e539180","product_id":"f69bc6ec-21d9-4493-bca5-7fe5df9d9939","title":"khaki-s","weight_unit":"kg","inventory_quantity":999,"sku":"20120715-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6407a49d4856e1b325b8e45f0c009169.jpeg","path":"6407a49d4856e1b325b8e45f0c009169.jpeg","width":750,"height":905,"alt":"","aspect_ratio":0.8287292817679558},"wholesale_price":[{"price":61.26,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"61.26","retail_price":"80","available":true,"url":"\/products\/women-fashion-lapel-pocket-pure-color-coat?variant=c6dff2b3-2c64-4524-9317-10912e539180","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"s"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
khaki
${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
$61.26
${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":"c6dff2b3-2c64-4524-9317-10912e539180","product_id":"f69bc6ec-21d9-4493-bca5-7fe5df9d9939","title":"khaki-s","weight_unit":"kg","inventory_quantity":999,"sku":"20120715-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6407a49d4856e1b325b8e45f0c009169.jpeg","path":"6407a49d4856e1b325b8e45f0c009169.jpeg","width":750,"height":905,"alt":"","aspect_ratio":0.8287292817679558},"wholesale_price":[{"price":61.26,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"61.26","retail_price":"80","available":true,"url":"\/products\/women-fashion-lapel-pocket-pure-color-coat?variant=c6dff2b3-2c64-4524-9317-10912e539180","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"s"}],"off_ratio":23,"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.
${function(){
const variantData = data.variant || {"id":"c6dff2b3-2c64-4524-9317-10912e539180","product_id":"f69bc6ec-21d9-4493-bca5-7fe5df9d9939","title":"khaki-s","weight_unit":"kg","inventory_quantity":999,"sku":"20120715-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6407a49d4856e1b325b8e45f0c009169.jpeg","path":"6407a49d4856e1b325b8e45f0c009169.jpeg","width":750,"height":905,"alt":"","aspect_ratio":0.8287292817679558},"wholesale_price":[{"price":61.26,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"61.26","retail_price":"80","available":true,"url":"\/products\/women-fashion-lapel-pocket-pure-color-coat?variant=c6dff2b3-2c64-4524-9317-10912e539180","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"s"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}