Soft Leather Handmade Pumps
${function() {
const variantData = data.variant || {"id":"c34aa317-0d6d-4fb4-8862-87ea3c7cec2f","product_id":"3bd1fed6-6344-4b73-b8e2-60ec18aa19c7","title":"US 5-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"-US 5-Black-A00114521","barcode":"","position":29,"option1":"US 5","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d781342c76d3b667974febe7aa948b31.jpeg","path":"d781342c76d3b667974febe7aa948b31.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.67,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.67","retail_price":"0","available":true,"url":"\/products\/soft-leather-handmade-pumps?variant=c34aa317-0d6d-4fb4-8862-87ea3c7cec2f","available_quantity":999999999,"options":[{"name":"Size","value":"US 5"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
US 5
${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}
`
}()}
Color:
Black
${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}
`
}()}
Add to cart
$79.67
${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":"c34aa317-0d6d-4fb4-8862-87ea3c7cec2f","product_id":"3bd1fed6-6344-4b73-b8e2-60ec18aa19c7","title":"US 5-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"-US 5-Black-A00114521","barcode":"","position":29,"option1":"US 5","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d781342c76d3b667974febe7aa948b31.jpeg","path":"d781342c76d3b667974febe7aa948b31.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.67,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.67","retail_price":"0","available":true,"url":"\/products\/soft-leather-handmade-pumps?variant=c34aa317-0d6d-4fb4-8862-87ea3c7cec2f","available_quantity":999999999,"options":[{"name":"Size","value":"US 5"},{"name":"Color","value":"Black"}],"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.