${function() {
const variantData = data.variant || {"id":"7b2b22ff-68b9-4db4-9ae8-7a1442685ead","product_id":"3e544955-70ce-45f0-b12a-0999735d1c17","title":"Nylon and Cotton Jacquard-Shades of Dune with Cuoio leather trimmings-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS258522","barcode":"","position":1,"option1":"Nylon and Cotton Jacquard","option2":"Shades of Dune with Cuoio leather trimmings","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/3482754258b001818f30d521fc6a32bb.jpeg","path":"3482754258b001818f30d521fc6a32bb.jpeg","width":1881,"height":1409,"alt":"","aspect_ratio":1.3349893541518807},"wholesale_price":[{"price":176.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"176.4","retail_price":"0","available":true,"url":"\/products\/shopper-shades-of-dune-cuoio?variant=7b2b22ff-68b9-4db4-9ae8-7a1442685ead","available_quantity":999999999,"options":[{"name":"Material","value":"Nylon and Cotton Jacquard"},{"name":"readabout","value":"Shades of Dune with Cuoio leather trimmings"},{"name":"hscode","value":"4202.92"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Material
: Nylon and Cotton Jacquard
${function(){
const optName = "Material";
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}
`
}()}
Readabout
: Shades of Dune with Cuoio leather trimmings
${function(){
const optName = "readabout";
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}
`
}()}
Hscode
: 4202.92
${function(){
const optName = "hscode";
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
$176.40
${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":"7b2b22ff-68b9-4db4-9ae8-7a1442685ead","product_id":"3e544955-70ce-45f0-b12a-0999735d1c17","title":"Nylon and Cotton Jacquard-Shades of Dune with Cuoio leather trimmings-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS258522","barcode":"","position":1,"option1":"Nylon and Cotton Jacquard","option2":"Shades of Dune with Cuoio leather trimmings","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/3482754258b001818f30d521fc6a32bb.jpeg","path":"3482754258b001818f30d521fc6a32bb.jpeg","width":1881,"height":1409,"alt":"","aspect_ratio":1.3349893541518807},"wholesale_price":[{"price":176.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"176.4","retail_price":"0","available":true,"url":"\/products\/shopper-shades-of-dune-cuoio?variant=7b2b22ff-68b9-4db4-9ae8-7a1442685ead","available_quantity":999999999,"options":[{"name":"Material","value":"Nylon and Cotton Jacquard"},{"name":"readabout","value":"Shades of Dune with Cuoio leather trimmings"},{"name":"hscode","value":"4202.92"}],"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 {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"7b2b22ff-68b9-4db4-9ae8-7a1442685ead","product_id":"3e544955-70ce-45f0-b12a-0999735d1c17","title":"Nylon and Cotton Jacquard-Shades of Dune with Cuoio leather trimmings-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS258522","barcode":"","position":1,"option1":"Nylon and Cotton Jacquard","option2":"Shades of Dune with Cuoio leather trimmings","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/3482754258b001818f30d521fc6a32bb.jpeg","path":"3482754258b001818f30d521fc6a32bb.jpeg","width":1881,"height":1409,"alt":"","aspect_ratio":1.3349893541518807},"wholesale_price":[{"price":176.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"176.4","retail_price":"0","available":true,"url":"\/products\/shopper-shades-of-dune-cuoio?variant=7b2b22ff-68b9-4db4-9ae8-7a1442685ead","available_quantity":999999999,"options":[{"name":"Material","value":"Nylon and Cotton Jacquard"},{"name":"readabout","value":"Shades of Dune with Cuoio leather trimmings"},{"name":"hscode","value":"4202.92"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}