GAR BETHE Low-heel Square Heel Short Martin Boots
${function() {
const variantData = data.variant || {"id":"1777f6a5-0b84-4972-80b5-e2fbc6b3404d","product_id":"ceaf9619-7a66-4dc3-9b78-ba89f81f0ecf","title":"Yellow-34","weight_unit":"g","inventory_quantity":863,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"34","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/684e0630521d18b9715ab77f1225b5da.jpeg","path":"684e0630521d18b9715ab77f1225b5da.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.6,"min_quantity":1}],"weight":"550","compare_at_price":"44.7","price":"24.6","retail_price":"44.7","available":true,"url":"\/products\/gar-bethe-low-heel-square-heel-short-martin-boots?variant=1777f6a5-0b84-4972-80b5-e2fbc6b3404d","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"34"}],"off_ratio":45,"flashsale_info":[],"sales":322};
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:
34
${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
$24.60
${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":"1777f6a5-0b84-4972-80b5-e2fbc6b3404d","product_id":"ceaf9619-7a66-4dc3-9b78-ba89f81f0ecf","title":"Yellow-34","weight_unit":"g","inventory_quantity":863,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"34","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/684e0630521d18b9715ab77f1225b5da.jpeg","path":"684e0630521d18b9715ab77f1225b5da.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.6,"min_quantity":1}],"weight":"550","compare_at_price":"44.7","price":"24.6","retail_price":"44.7","available":true,"url":"\/products\/gar-bethe-low-heel-square-heel-short-martin-boots?variant=1777f6a5-0b84-4972-80b5-e2fbc6b3404d","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"34"}],"off_ratio":45,"flashsale_info":[],"sales":322};
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.