16oz Waxed Canvas Work Apron with Tape Holder - Fully Adjustable, Tough Protection for Men
${function() {
const variantData = data.variant || {"id":"19a3c8c4-7651-4316-b1a1-2ccafeb17d77","product_id":"da2048f0-a894-4dc0-a618-8f59a28cccf6","title":"Brown","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b51560990c6a323891906c374008d247.jpeg","path":"b51560990c6a323891906c374008d247.jpeg","width":1200,"height":1200,"alt":"16oz Waxed Canvas Work Apron with Tape Holder - Fully Adjustable, Tough Protection for Men","aspect_ratio":1},"wholesale_price":[{"price":53.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.86","price":"53.98","retail_price":"79.86","available":true,"url":"\/products\/16oz-waxed-canvas-work-apron-with-tape-holder-fully-adjustable-tough-protection-for-men?variant=19a3c8c4-7651-4316-b1a1-2ccafeb17d77","available_quantity":999999999,"options":[{"name":"Model","value":"Brown"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Model:
Brown
${function(){
const optName = "Model";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Добавить в корзину
$53.98
${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":"19a3c8c4-7651-4316-b1a1-2ccafeb17d77","product_id":"da2048f0-a894-4dc0-a618-8f59a28cccf6","title":"Brown","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b51560990c6a323891906c374008d247.jpeg","path":"b51560990c6a323891906c374008d247.jpeg","width":1200,"height":1200,"alt":"16oz Waxed Canvas Work Apron with Tape Holder - Fully Adjustable, Tough Protection for Men","aspect_ratio":1},"wholesale_price":[{"price":53.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.86","price":"53.98","retail_price":"79.86","available":true,"url":"\/products\/16oz-waxed-canvas-work-apron-with-tape-holder-fully-adjustable-tough-protection-for-men?variant=19a3c8c4-7651-4316-b1a1-2ccafeb17d77","available_quantity":999999999,"options":[{"name":"Model","value":"Brown"}],"off_ratio":32,"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 ? `
` : ' ';
}
}()}
Купи сейчас
Товара не было в наличии.
Продукт недоступен.
${function(){
const variantData = data.variant || {"id":"19a3c8c4-7651-4316-b1a1-2ccafeb17d77","product_id":"da2048f0-a894-4dc0-a618-8f59a28cccf6","title":"Brown","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b51560990c6a323891906c374008d247.jpeg","path":"b51560990c6a323891906c374008d247.jpeg","width":1200,"height":1200,"alt":"16oz Waxed Canvas Work Apron with Tape Holder - Fully Adjustable, Tough Protection for Men","aspect_ratio":1},"wholesale_price":[{"price":53.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.86","price":"53.98","retail_price":"79.86","available":true,"url":"\/products\/16oz-waxed-canvas-work-apron-with-tape-holder-fully-adjustable-tough-protection-for-men?variant=19a3c8c4-7651-4316-b1a1-2ccafeb17d77","available_quantity":999999999,"options":[{"name":"Model","value":"Brown"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
`
}()}