Ingvn - Elegant One Shoulder Tulle Maternity Dresses See Through Sexy Women Plus Size Tulle Maternity Dressing Gowns For Photography
${function() {
const variantData = data.variant || {"id":"b379886f-a64e-4df6-92be-724d8a795c0f","product_id":"1dd99f87-02e4-48d8-9ba0-7a3d14fa144c","title":"picture color-US 2","weight_unit":"g","inventory_quantity":100,"sku":"52037731-black-us-2","barcode":"","position":1,"option1":"picture color","option2":"US 2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/938ccbdebab6315317f61654eab57190.jpeg","path":"938ccbdebab6315317f61654eab57190.jpeg","width":1000,"height":1000,"alt":"657799177-1","aspect_ratio":1},"wholesale_price":[{"price":139.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"139.99","retail_price":"0","available":true,"url":"\/products\/elegant-one-shoulder-tulle-maternity-dresses-see-through-sexy-women-plus-size-tulle-maternity-dressing-gowns-for-photography?variant=b379886f-a64e-4df6-92be-724d8a795c0f","available_quantity":100,"options":[{"name":"Color","value":"picture color"},{"name":"Size","value":"US 2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const postageFreeAmount = 10;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
Color:
picture color
${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:
US 2
${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
$139.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":"b379886f-a64e-4df6-92be-724d8a795c0f","product_id":"1dd99f87-02e4-48d8-9ba0-7a3d14fa144c","title":"picture color-US 2","weight_unit":"g","inventory_quantity":100,"sku":"52037731-black-us-2","barcode":"","position":1,"option1":"picture color","option2":"US 2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/938ccbdebab6315317f61654eab57190.jpeg","path":"938ccbdebab6315317f61654eab57190.jpeg","width":1000,"height":1000,"alt":"657799177-1","aspect_ratio":1},"wholesale_price":[{"price":139.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"139.99","retail_price":"0","available":true,"url":"\/products\/elegant-one-shoulder-tulle-maternity-dresses-see-through-sexy-women-plus-size-tulle-maternity-dressing-gowns-for-photography?variant=b379886f-a64e-4df6-92be-724d8a795c0f","available_quantity":100,"options":[{"name":"Color","value":"picture color"},{"name":"Size","value":"US 2"}],"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.
Sku : 52037731-black-us-2
${function(){
const variantData = data.variant || {"id":"b379886f-a64e-4df6-92be-724d8a795c0f","product_id":"1dd99f87-02e4-48d8-9ba0-7a3d14fa144c","title":"picture color-US 2","weight_unit":"g","inventory_quantity":100,"sku":"52037731-black-us-2","barcode":"","position":1,"option1":"picture color","option2":"US 2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/938ccbdebab6315317f61654eab57190.jpeg","path":"938ccbdebab6315317f61654eab57190.jpeg","width":1000,"height":1000,"alt":"657799177-1","aspect_ratio":1},"wholesale_price":[{"price":139.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"139.99","retail_price":"0","available":true,"url":"\/products\/elegant-one-shoulder-tulle-maternity-dresses-see-through-sexy-women-plus-size-tulle-maternity-dressing-gowns-for-photography?variant=b379886f-a64e-4df6-92be-724d8a795c0f","available_quantity":100,"options":[{"name":"Color","value":"picture color"},{"name":"Size","value":"US 2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}