Women's Independence Day American Flag With Floral Pattern Art Print Cotton And Linen Dress
${function() {
const variantData = data.variant || {"id":"1fd516e1-1f53-4fa9-a05a-f301c8f9f24c","product_id":"2dc1cef0-215e-4394-9765-1625cbdfb551","title":"Red blue-S","weight_unit":"g","inventory_quantity":1,"sku":"DZ-209956-LSX-Red_blue-S","barcode":"","position":1,"option1":"Red blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cdf30f86e1efccd92a537bcd0d627f10.png","path":"cdf30f86e1efccd92a537bcd0d627f10.png","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/womens-independence-day-american-flag-with-floral-pattern-art-print-cotton-and-linen-dress?variant=1fd516e1-1f53-4fa9-a05a-f301c8f9f24c","available_quantity":999999999,"options":[{"name":"Color","value":"Red blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red blue
${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
$37.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":"1fd516e1-1f53-4fa9-a05a-f301c8f9f24c","product_id":"2dc1cef0-215e-4394-9765-1625cbdfb551","title":"Red blue-S","weight_unit":"g","inventory_quantity":1,"sku":"DZ-209956-LSX-Red_blue-S","barcode":"","position":1,"option1":"Red blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cdf30f86e1efccd92a537bcd0d627f10.png","path":"cdf30f86e1efccd92a537bcd0d627f10.png","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/womens-independence-day-american-flag-with-floral-pattern-art-print-cotton-and-linen-dress?variant=1fd516e1-1f53-4fa9-a05a-f301c8f9f24c","available_quantity":999999999,"options":[{"name":"Color","value":"Red blue"},{"name":"Size","value":"S"}],"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":"1fd516e1-1f53-4fa9-a05a-f301c8f9f24c","product_id":"2dc1cef0-215e-4394-9765-1625cbdfb551","title":"Red blue-S","weight_unit":"g","inventory_quantity":1,"sku":"DZ-209956-LSX-Red_blue-S","barcode":"","position":1,"option1":"Red blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cdf30f86e1efccd92a537bcd0d627f10.png","path":"cdf30f86e1efccd92a537bcd0d627f10.png","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/womens-independence-day-american-flag-with-floral-pattern-art-print-cotton-and-linen-dress?variant=1fd516e1-1f53-4fa9-a05a-f301c8f9f24c","available_quantity":999999999,"options":[{"name":"Color","value":"Red blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}