Drespot Chic Patchwork Khaki Dress Woman Turn-Down Collar Fall Korean Elegant Bodycon Dress Female Runway Business Maxi Dresses
${function() {
const variantData = data.variant || {"id":"321ab170-afff-4c01-a26d-fe0c1c39778a","product_id":"af62b7b1-e23d-4bdb-94ac-0fd1ed60d3e9","title":"black-S","weight_unit":"lb","inventory_quantity":9996,"sku":"30928669-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b0dc16ca8884855c7d3e6396236d15e2.jpeg","path":"b0dc16ca8884855c7d3e6396236d15e2.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.77,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"46.77","retail_price":"62.99","available":true,"url":"\/products\/chic-patchwork-khaki-dress-woman-turn-down-collar-fall-2022-korean-elegant-bodycon-dress-female-runway-business-maxi-dresses?variant=321ab170-afff-4c01-a26d-fe0c1c39778a","available_quantity":9996,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
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
$46.77
${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":"321ab170-afff-4c01-a26d-fe0c1c39778a","product_id":"af62b7b1-e23d-4bdb-94ac-0fd1ed60d3e9","title":"black-S","weight_unit":"lb","inventory_quantity":9996,"sku":"30928669-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b0dc16ca8884855c7d3e6396236d15e2.jpeg","path":"b0dc16ca8884855c7d3e6396236d15e2.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.77,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"46.77","retail_price":"62.99","available":true,"url":"\/products\/chic-patchwork-khaki-dress-woman-turn-down-collar-fall-2022-korean-elegant-bodycon-dress-female-runway-business-maxi-dresses?variant=321ab170-afff-4c01-a26d-fe0c1c39778a","available_quantity":9996,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":26,"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":"321ab170-afff-4c01-a26d-fe0c1c39778a","product_id":"af62b7b1-e23d-4bdb-94ac-0fd1ed60d3e9","title":"black-S","weight_unit":"lb","inventory_quantity":9996,"sku":"30928669-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b0dc16ca8884855c7d3e6396236d15e2.jpeg","path":"b0dc16ca8884855c7d3e6396236d15e2.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.77,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"46.77","retail_price":"62.99","available":true,"url":"\/products\/chic-patchwork-khaki-dress-woman-turn-down-collar-fall-2022-korean-elegant-bodycon-dress-female-runway-business-maxi-dresses?variant=321ab170-afff-4c01-a26d-fe0c1c39778a","available_quantity":9996,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
`
}()}