Daily Off Shoulder Sweater Dress
${function() {
const variantData = data.variant || {"id":"27944297-92d3-401d-89a5-6e0d57c9b6b5","product_id":"627ff585-b1ce-4f3b-8f85-57b344a64966","title":"red-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120320-red-s","barcode":"","position":3,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33bc3483a0cbd208dfabb07ebc2e3892.jpeg","path":"33bc3483a0cbd208dfabb07ebc2e3892.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.76,"min_quantity":1}],"weight":"0","compare_at_price":"68.07","price":"39.76","retail_price":"68.07","available":true,"url":"\/products\/daily-off-shoulder-sweater-dress-5mm5?variant=27944297-92d3-401d-89a5-6e0d57c9b6b5","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"s"}],"off_ratio":42,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
red
${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:
s
${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
$39.76
${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":"27944297-92d3-401d-89a5-6e0d57c9b6b5","product_id":"627ff585-b1ce-4f3b-8f85-57b344a64966","title":"red-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120320-red-s","barcode":"","position":3,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33bc3483a0cbd208dfabb07ebc2e3892.jpeg","path":"33bc3483a0cbd208dfabb07ebc2e3892.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.76,"min_quantity":1}],"weight":"0","compare_at_price":"68.07","price":"39.76","retail_price":"68.07","available":true,"url":"\/products\/daily-off-shoulder-sweater-dress-5mm5?variant=27944297-92d3-401d-89a5-6e0d57c9b6b5","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"s"}],"off_ratio":42,"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":"27944297-92d3-401d-89a5-6e0d57c9b6b5","product_id":"627ff585-b1ce-4f3b-8f85-57b344a64966","title":"red-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120320-red-s","barcode":"","position":3,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33bc3483a0cbd208dfabb07ebc2e3892.jpeg","path":"33bc3483a0cbd208dfabb07ebc2e3892.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.76,"min_quantity":1}],"weight":"0","compare_at_price":"68.07","price":"39.76","retail_price":"68.07","available":true,"url":"\/products\/daily-off-shoulder-sweater-dress-5mm5?variant=27944297-92d3-401d-89a5-6e0d57c9b6b5","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"s"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}