Steel Toe Work Shoes
${function() {
const variantData = data.variant || {"id":"2381c2bb-6331-45ac-a2d5-a9875d62c90c","product_id":"e5b31875-e714-4b9c-90b6-bfb2d216451f","title":"Yellow-US 6 \/ EUR 38","weight_unit":"g","inventory_quantity":0,"sku":"sku1698647911040","barcode":"","position":1,"option1":"Yellow","option2":"US 6 \/ EUR 38","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77c8a4a4fb1a1367b54f3aadd8a4695d.jpeg","path":"77c8a4a4fb1a1367b54f3aadd8a4695d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/steel-toe-work-shoes-workshoe7719-o2op?variant=2381c2bb-6331-45ac-a2d5-a9875d62c90c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"US 6 \/ EUR 38"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Yellow
${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:
US 6 / EUR 38
${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
$59.99
${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":"2381c2bb-6331-45ac-a2d5-a9875d62c90c","product_id":"e5b31875-e714-4b9c-90b6-bfb2d216451f","title":"Yellow-US 6 \/ EUR 38","weight_unit":"g","inventory_quantity":0,"sku":"sku1698647911040","barcode":"","position":1,"option1":"Yellow","option2":"US 6 \/ EUR 38","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77c8a4a4fb1a1367b54f3aadd8a4695d.jpeg","path":"77c8a4a4fb1a1367b54f3aadd8a4695d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/steel-toe-work-shoes-workshoe7719-o2op?variant=2381c2bb-6331-45ac-a2d5-a9875d62c90c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"US 6 \/ EUR 38"}],"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 {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"2381c2bb-6331-45ac-a2d5-a9875d62c90c","product_id":"e5b31875-e714-4b9c-90b6-bfb2d216451f","title":"Yellow-US 6 \/ EUR 38","weight_unit":"g","inventory_quantity":0,"sku":"sku1698647911040","barcode":"","position":1,"option1":"Yellow","option2":"US 6 \/ EUR 38","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77c8a4a4fb1a1367b54f3aadd8a4695d.jpeg","path":"77c8a4a4fb1a1367b54f3aadd8a4695d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/steel-toe-work-shoes-workshoe7719-o2op?variant=2381c2bb-6331-45ac-a2d5-a9875d62c90c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"US 6 \/ EUR 38"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}