Leopard Print Casual Soft-soled Sandals
${function() {
const variantData = data.variant || {"id":"ea590c87-80af-4617-91c8-08c045ac1265","product_id":"dcf6df8a-bea0-4a6b-bcb9-f6352aedfdc9","title":"Brown-US 6.0","weight_unit":"kg","inventory_quantity":0,"sku":"XJW1823-BR37","barcode":"","position":1,"option1":"Brown","option2":"US 6.0","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/968d2442d6cff1184b70216b598e392d.jpeg","path":"968d2442d6cff1184b70216b598e392d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/sandals-stylish-leopard-print-all-in-one-shoes-w1823?variant=ea590c87-80af-4617-91c8-08c045ac1265","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US 6.0"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
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}
`
}()}
Size:
US 6.0
${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
$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":"ea590c87-80af-4617-91c8-08c045ac1265","product_id":"dcf6df8a-bea0-4a6b-bcb9-f6352aedfdc9","title":"Brown-US 6.0","weight_unit":"kg","inventory_quantity":0,"sku":"XJW1823-BR37","barcode":"","position":1,"option1":"Brown","option2":"US 6.0","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/968d2442d6cff1184b70216b598e392d.jpeg","path":"968d2442d6cff1184b70216b598e392d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/sandals-stylish-leopard-print-all-in-one-shoes-w1823?variant=ea590c87-80af-4617-91c8-08c045ac1265","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US 6.0"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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":"ea590c87-80af-4617-91c8-08c045ac1265","product_id":"dcf6df8a-bea0-4a6b-bcb9-f6352aedfdc9","title":"Brown-US 6.0","weight_unit":"kg","inventory_quantity":0,"sku":"XJW1823-BR37","barcode":"","position":1,"option1":"Brown","option2":"US 6.0","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/968d2442d6cff1184b70216b598e392d.jpeg","path":"968d2442d6cff1184b70216b598e392d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/sandals-stylish-leopard-print-all-in-one-shoes-w1823?variant=ea590c87-80af-4617-91c8-08c045ac1265","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US 6.0"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
`
}()}