Vintage Black Gothic Velvet Short Dresses for Women Autumn New Y2K Lace Long Sleeve A-line Birthday Party Lace-up Female Clothes
${function() {
const variantData = data.variant || {"id":"67d69ee3-7564-44ab-be14-6920a7d1657c","product_id":"57e345fd-cc82-4545-9d40-c0bb542dcec0","title":"S-black","weight_unit":"kg","inventory_quantity":0,"sku":"-S-black-A0018490","barcode":"","position":1,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc4bc5c65baed920d2b944074678c9bc.jpeg","path":"cc4bc5c65baed920d2b944074678c9bc.jpeg","width":800,"height":1047,"alt":"","aspect_ratio":0.7640878701050621},"wholesale_price":[{"price":30.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.15","retail_price":"0","available":true,"url":"\/products\/vintage-black-gothic-velvet-short-dresses-for-women-autumn-new-y2k-lace-long-sleeve-a-line-birthday-party-lace-up-female-clothes?variant=67d69ee3-7564-44ab-be14-6920a7d1657c","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"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 `
`;
}()}
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}
`
}()}
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}
`
}()}
Add to cart
$30.15
${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":"67d69ee3-7564-44ab-be14-6920a7d1657c","product_id":"57e345fd-cc82-4545-9d40-c0bb542dcec0","title":"S-black","weight_unit":"kg","inventory_quantity":0,"sku":"-S-black-A0018490","barcode":"","position":1,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc4bc5c65baed920d2b944074678c9bc.jpeg","path":"cc4bc5c65baed920d2b944074678c9bc.jpeg","width":800,"height":1047,"alt":"","aspect_ratio":0.7640878701050621},"wholesale_price":[{"price":30.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.15","retail_price":"0","available":true,"url":"\/products\/vintage-black-gothic-velvet-short-dresses-for-women-autumn-new-y2k-lace-long-sleeve-a-line-birthday-party-lace-up-female-clothes?variant=67d69ee3-7564-44ab-be14-6920a7d1657c","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"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":"67d69ee3-7564-44ab-be14-6920a7d1657c","product_id":"57e345fd-cc82-4545-9d40-c0bb542dcec0","title":"S-black","weight_unit":"kg","inventory_quantity":0,"sku":"-S-black-A0018490","barcode":"","position":1,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc4bc5c65baed920d2b944074678c9bc.jpeg","path":"cc4bc5c65baed920d2b944074678c9bc.jpeg","width":800,"height":1047,"alt":"","aspect_ratio":0.7640878701050621},"wholesale_price":[{"price":30.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.15","retail_price":"0","available":true,"url":"\/products\/vintage-black-gothic-velvet-short-dresses-for-women-autumn-new-y2k-lace-long-sleeve-a-line-birthday-party-lace-up-female-clothes?variant=67d69ee3-7564-44ab-be14-6920a7d1657c","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}