Women's Winter Waterproof Warm Cotton Boots
${function() {
const variantData = data.variant || {"id":"5d1b9ab2-0753-4a79-a821-d4bee8dd351c","product_id":"12a8461b-3be2-4135-b672-a76cb09b84c5","title":"BROWN-UK 2","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":19,"option1":"BROWN","option2":"UK 2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b5b293ff2d8641a971f41ca952ca0f2.webp","path":"8b5b293ff2d8641a971f41ca952ca0f2.webp","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"22.99","retail_price":"55.99","available":true,"url":"\/products\/womens-winter-waterproof-warm-cotton-boots?variant=5d1b9ab2-0753-4a79-a821-d4bee8dd351c","available_quantity":999999999,"options":[{"name":"COLOR","value":"BROWN"},{"name":"UK SIZE","value":"UK 2"}],"off_ratio":59,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
BROWN
${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}
`
}()}
Uk Size:
UK 2
${function(){
const optName = "UK 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
£22.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":"5d1b9ab2-0753-4a79-a821-d4bee8dd351c","product_id":"12a8461b-3be2-4135-b672-a76cb09b84c5","title":"BROWN-UK 2","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":19,"option1":"BROWN","option2":"UK 2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b5b293ff2d8641a971f41ca952ca0f2.webp","path":"8b5b293ff2d8641a971f41ca952ca0f2.webp","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"22.99","retail_price":"55.99","available":true,"url":"\/products\/womens-winter-waterproof-warm-cotton-boots?variant=5d1b9ab2-0753-4a79-a821-d4bee8dd351c","available_quantity":999999999,"options":[{"name":"COLOR","value":"BROWN"},{"name":"UK SIZE","value":"UK 2"}],"off_ratio":59,"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":"5d1b9ab2-0753-4a79-a821-d4bee8dd351c","product_id":"12a8461b-3be2-4135-b672-a76cb09b84c5","title":"BROWN-UK 2","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":19,"option1":"BROWN","option2":"UK 2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b5b293ff2d8641a971f41ca952ca0f2.webp","path":"8b5b293ff2d8641a971f41ca952ca0f2.webp","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"22.99","retail_price":"55.99","available":true,"url":"\/products\/womens-winter-waterproof-warm-cotton-boots?variant=5d1b9ab2-0753-4a79-a821-d4bee8dd351c","available_quantity":999999999,"options":[{"name":"COLOR","value":"BROWN"},{"name":"UK SIZE","value":"UK 2"}],"off_ratio":59,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}