Women's Sweater Dress
${function() {
const variantData = data.variant || {"id":"e670fc74-74fb-4631-a551-20afd31f56fb","product_id":"ce702654-1af3-4ec7-8414-9355b4af90af","title":"Gray-One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","weight_unit":"kg","inventory_quantity":1000,"sku":"SW085-06","barcode":"","position":1,"option1":"Gray","option2":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0879b53982e0b234c83bbed8089a6f57.jpeg","path":"0879b53982e0b234c83bbed8089a6f57.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"0","compare_at_price":"42.89","price":"42.89","retail_price":"42.89","available":true,"url":"\/products\/womens-sweater-dressa42ef320-88aa-42cc-8956-5d3a39378e406169bf5e-5ca2-48b8-8e5e-0f572a95ee6dbd70eaa4-64af-4ed6-aa0d-98fbc20d5ce0?variant=e670fc74-74fb-4631-a551-20afd31f56fb","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","value":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Gray
${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}
`
}()}
One Size (Length 96Cm, Bust 104Cm, Sleeve 54Cm, Shoulder 46Cm):
One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)
${function(){
const optName = "One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)";
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
$42.89
${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":"e670fc74-74fb-4631-a551-20afd31f56fb","product_id":"ce702654-1af3-4ec7-8414-9355b4af90af","title":"Gray-One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","weight_unit":"kg","inventory_quantity":1000,"sku":"SW085-06","barcode":"","position":1,"option1":"Gray","option2":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0879b53982e0b234c83bbed8089a6f57.jpeg","path":"0879b53982e0b234c83bbed8089a6f57.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"0","compare_at_price":"42.89","price":"42.89","retail_price":"42.89","available":true,"url":"\/products\/womens-sweater-dressa42ef320-88aa-42cc-8956-5d3a39378e406169bf5e-5ca2-48b8-8e5e-0f572a95ee6dbd70eaa4-64af-4ed6-aa0d-98fbc20d5ce0?variant=e670fc74-74fb-4631-a551-20afd31f56fb","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","value":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)"}],"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.
${function(){
const variantData = data.variant || {"id":"e670fc74-74fb-4631-a551-20afd31f56fb","product_id":"ce702654-1af3-4ec7-8414-9355b4af90af","title":"Gray-One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","weight_unit":"kg","inventory_quantity":1000,"sku":"SW085-06","barcode":"","position":1,"option1":"Gray","option2":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0879b53982e0b234c83bbed8089a6f57.jpeg","path":"0879b53982e0b234c83bbed8089a6f57.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"0","compare_at_price":"42.89","price":"42.89","retail_price":"42.89","available":true,"url":"\/products\/womens-sweater-dressa42ef320-88aa-42cc-8956-5d3a39378e406169bf5e-5ca2-48b8-8e5e-0f572a95ee6dbd70eaa4-64af-4ed6-aa0d-98fbc20d5ce0?variant=e670fc74-74fb-4631-a551-20afd31f56fb","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)","value":"One Size (Length 96cm, Bust 104cm, Sleeve 54cm, Shoulder 46cm)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}