${function() {
const variantData = data.variant || {"id":"95ccfadb-4750-40a3-b30c-dc98d41a4ba0","product_id":"b7641c64-efa7-49f1-86d2-b7a2ca65a47d","title":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather-Palm jacquard-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS257620","barcode":"","position":1,"option1":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather","option2":"Palm jacquard","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/4f403cf28d134835be43d810c56daeae.webp","path":"4f403cf28d134835be43d810c56daeae.webp","width":1650,"height":1236,"alt":"","aspect_ratio":1.3349514563106797},"wholesale_price":[{"price":252,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"252","retail_price":"0","available":true,"url":"\/products\/shopper-palm-jacquard-cuoio?variant=95ccfadb-4750-40a3-b30c-dc98d41a4ba0","available_quantity":999999999,"options":[{"name":"Material","value":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather"},{"name":"readabout","value":"Palm jacquard"},{"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
: Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather
${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
: Palm jacquard
${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
$252.00
${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":"95ccfadb-4750-40a3-b30c-dc98d41a4ba0","product_id":"b7641c64-efa7-49f1-86d2-b7a2ca65a47d","title":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather-Palm jacquard-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS257620","barcode":"","position":1,"option1":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather","option2":"Palm jacquard","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/4f403cf28d134835be43d810c56daeae.webp","path":"4f403cf28d134835be43d810c56daeae.webp","width":1650,"height":1236,"alt":"","aspect_ratio":1.3349514563106797},"wholesale_price":[{"price":252,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"252","retail_price":"0","available":true,"url":"\/products\/shopper-palm-jacquard-cuoio?variant=95ccfadb-4750-40a3-b30c-dc98d41a4ba0","available_quantity":999999999,"options":[{"name":"Material","value":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather"},{"name":"readabout","value":"Palm jacquard"},{"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":"95ccfadb-4750-40a3-b30c-dc98d41a4ba0","product_id":"b7641c64-efa7-49f1-86d2-b7a2ca65a47d","title":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather-Palm jacquard-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS257620","barcode":"","position":1,"option1":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather","option2":"Palm jacquard","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/4f403cf28d134835be43d810c56daeae.webp","path":"4f403cf28d134835be43d810c56daeae.webp","width":1650,"height":1236,"alt":"","aspect_ratio":1.3349514563106797},"wholesale_price":[{"price":252,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"252","retail_price":"0","available":true,"url":"\/products\/shopper-palm-jacquard-cuoio?variant=95ccfadb-4750-40a3-b30c-dc98d41a4ba0","available_quantity":999999999,"options":[{"name":"Material","value":"Jacquard woven cotton canvas & Cuoio vegetable tanned full-grain bridle leather"},{"name":"readabout","value":"Palm jacquard"},{"name":"hscode","value":"4202.92"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}