GAR BETHE Men's Steel Toed Lace-up Work Boots, Anti-smashing Non-slip Wear-resistant Shoes For Construction Sites And Outdoor Hiking
${function() {
const variantData = data.variant || {"id":"996fbd2c-dd46-4c09-8a23-d2bd3d8f0054","product_id":"1d235e15-c55e-47d1-b619-90802fe1a585","title":"Yellow-US 6","weight_unit":"kg","inventory_quantity":685,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"US 6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51e236e21fe6e08a5bb603cea23ae854.jpeg","path":"51e236e21fe6e08a5bb603cea23ae854.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"90","price":"45","retail_price":"90","available":true,"url":"\/products\/gar-bethe-mens-steel-toed-lace-up-work-boots-anti-smashing-non-slip-wear-resistant-shoes-for-construction-sites-and-outdoor-hiking?variant=996fbd2c-dd46-4c09-8a23-d2bd3d8f0054","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"US 6"}],"off_ratio":50,"flashsale_info":[],"sales":176};
const saveType = "amount";
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
${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
$45.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":"996fbd2c-dd46-4c09-8a23-d2bd3d8f0054","product_id":"1d235e15-c55e-47d1-b619-90802fe1a585","title":"Yellow-US 6","weight_unit":"kg","inventory_quantity":685,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"US 6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51e236e21fe6e08a5bb603cea23ae854.jpeg","path":"51e236e21fe6e08a5bb603cea23ae854.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"90","price":"45","retail_price":"90","available":true,"url":"\/products\/gar-bethe-mens-steel-toed-lace-up-work-boots-anti-smashing-non-slip-wear-resistant-shoes-for-construction-sites-and-outdoor-hiking?variant=996fbd2c-dd46-4c09-8a23-d2bd3d8f0054","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"US 6"}],"off_ratio":50,"flashsale_info":[],"sales":176};
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.