${function() {
const variantData = data.variant || {"id":"46f8321c-2223-434f-b8f7-1fa68ce3f067","product_id":"d14178a8-3878-4388-bb8f-4d2a3ce4b3fd","title":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather-Army Cotton Canvas-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS710720","barcode":"","position":1,"option1":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather","option2":"Army Cotton Canvas","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/6778cb6213b54e3470cdae85a76228d6.webp","path":"6778cb6213b54e3470cdae85a76228d6.webp","width":1652,"height":1236,"alt":"","aspect_ratio":1.3365695792880259},"wholesale_price":[{"price":260.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"260.4","retail_price":"0","available":true,"url":"\/products\/mate-army-cuoio?variant=46f8321c-2223-434f-b8f7-1fa68ce3f067","available_quantity":999999999,"options":[{"name":"Material","value":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather"},{"name":"readabout","value":"Army Cotton Canvas"},{"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
: Tight-woven Italian canvas with a water-repellant coating & 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
: Army Cotton Canvas
${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
$260.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":"46f8321c-2223-434f-b8f7-1fa68ce3f067","product_id":"d14178a8-3878-4388-bb8f-4d2a3ce4b3fd","title":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather-Army Cotton Canvas-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS710720","barcode":"","position":1,"option1":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather","option2":"Army Cotton Canvas","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/6778cb6213b54e3470cdae85a76228d6.webp","path":"6778cb6213b54e3470cdae85a76228d6.webp","width":1652,"height":1236,"alt":"","aspect_ratio":1.3365695792880259},"wholesale_price":[{"price":260.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"260.4","retail_price":"0","available":true,"url":"\/products\/mate-army-cuoio?variant=46f8321c-2223-434f-b8f7-1fa68ce3f067","available_quantity":999999999,"options":[{"name":"Material","value":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather"},{"name":"readabout","value":"Army Cotton Canvas"},{"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":"46f8321c-2223-434f-b8f7-1fa68ce3f067","product_id":"d14178a8-3878-4388-bb8f-4d2a3ce4b3fd","title":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather-Army Cotton Canvas-4202.92","weight_unit":"kg","inventory_quantity":1000,"sku":"MS710720","barcode":"","position":1,"option1":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather","option2":"Army Cotton Canvas","option3":"4202.92","note":"","image":{"src":"\/\/img.staticdj.com\/6778cb6213b54e3470cdae85a76228d6.webp","path":"6778cb6213b54e3470cdae85a76228d6.webp","width":1652,"height":1236,"alt":"","aspect_ratio":1.3365695792880259},"wholesale_price":[{"price":260.4,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"260.4","retail_price":"0","available":true,"url":"\/products\/mate-army-cuoio?variant=46f8321c-2223-434f-b8f7-1fa68ce3f067","available_quantity":999999999,"options":[{"name":"Material","value":"Tight-woven Italian canvas with a water-repellant coating & vegetable tanned full-grain bridle leather"},{"name":"readabout","value":"Army Cotton Canvas"},{"name":"hscode","value":"4202.92"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}