✨Women's Summer Patchwork Dress with V-Neck Print
${function() {
const variantData = data.variant || {"id":"8d282dce-d419-4a66-8f7a-a27d08e100bb","product_id":"e750c02b-dfc2-45d6-8bb1-05c9a9529b12","title":"Purple flowers black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CQ2609029-\u7d2b\u8272\u82b1\u6735\u9ed1S","barcode":"","position":1,"option1":"Purple flowers black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fd776784fc2a61f6040dc265111e236.png","path":"6fd776784fc2a61f6040dc265111e236.png","width":643,"height":705,"alt":"","aspect_ratio":0.9120567375886525},"wholesale_price":[{"price":33.9,"min_quantity":1}],"weight":"0","compare_at_price":"66.4","price":"33.9","retail_price":"66.4","available":true,"url":"\/products\/women-s-summer-patchwork-dress-with-v-neck-print?variant=8d282dce-d419-4a66-8f7a-a27d08e100bb","available_quantity":999999999,"options":[{"name":"color","value":"Purple flowers black"},{"name":"size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Purple flowers 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}
`
}()}
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
$33.90
${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":"8d282dce-d419-4a66-8f7a-a27d08e100bb","product_id":"e750c02b-dfc2-45d6-8bb1-05c9a9529b12","title":"Purple flowers black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CQ2609029-\u7d2b\u8272\u82b1\u6735\u9ed1S","barcode":"","position":1,"option1":"Purple flowers black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fd776784fc2a61f6040dc265111e236.png","path":"6fd776784fc2a61f6040dc265111e236.png","width":643,"height":705,"alt":"","aspect_ratio":0.9120567375886525},"wholesale_price":[{"price":33.9,"min_quantity":1}],"weight":"0","compare_at_price":"66.4","price":"33.9","retail_price":"66.4","available":true,"url":"\/products\/women-s-summer-patchwork-dress-with-v-neck-print?variant=8d282dce-d419-4a66-8f7a-a27d08e100bb","available_quantity":999999999,"options":[{"name":"color","value":"Purple flowers black"},{"name":"size","value":"S"}],"off_ratio":49,"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.