Drespot Gothic Black Dress Women Casual Button Lace Evening Party Sexy Mini Dress Female Long Sleeve One-piece Dress Korean Autumn
${function() {
const variantData = data.variant || {"id":"bb6115e4-4c68-4be3-9439-3ab4caa8f3a2","product_id":"66000e79-b16e-4a96-914b-755bf0a1c702","title":"black-S","weight_unit":"lb","inventory_quantity":110,"sku":"55512186-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ac93579c97c9e368b3982c60e14b267.jpeg","path":"9ac93579c97c9e368b3982c60e14b267.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.66","price":"39.99","retail_price":"48.66","available":true,"url":"\/products\/gothic-black-dress-women-casual-button-lace-evening-party-sexy-mini-dress-female-long-sleeve-one-piece-dress-korean-2020-autumn?variant=bb6115e4-4c68-4be3-9439-3ab4caa8f3a2","available_quantity":110,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":18,"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
$39.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":"bb6115e4-4c68-4be3-9439-3ab4caa8f3a2","product_id":"66000e79-b16e-4a96-914b-755bf0a1c702","title":"black-S","weight_unit":"lb","inventory_quantity":110,"sku":"55512186-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ac93579c97c9e368b3982c60e14b267.jpeg","path":"9ac93579c97c9e368b3982c60e14b267.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.66","price":"39.99","retail_price":"48.66","available":true,"url":"\/products\/gothic-black-dress-women-casual-button-lace-evening-party-sexy-mini-dress-female-long-sleeve-one-piece-dress-korean-2020-autumn?variant=bb6115e4-4c68-4be3-9439-3ab4caa8f3a2","available_quantity":110,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":18,"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":"bb6115e4-4c68-4be3-9439-3ab4caa8f3a2","product_id":"66000e79-b16e-4a96-914b-755bf0a1c702","title":"black-S","weight_unit":"lb","inventory_quantity":110,"sku":"55512186-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ac93579c97c9e368b3982c60e14b267.jpeg","path":"9ac93579c97c9e368b3982c60e14b267.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.66","price":"39.99","retail_price":"48.66","available":true,"url":"\/products\/gothic-black-dress-women-casual-button-lace-evening-party-sexy-mini-dress-female-long-sleeve-one-piece-dress-korean-2020-autumn?variant=bb6115e4-4c68-4be3-9439-3ab4caa8f3a2","available_quantity":110,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
`
}()}