Fashion Solid Color Irregular Top Skirt Two-Piece Set
${function() {
const variantData = data.variant || {"id":"835390ae-e209-4b1c-967a-d2590c54048c","product_id":"eeb30b86-6925-41ff-847e-72a63b682473","title":"gray-S","weight_unit":"lb","inventory_quantity":973,"sku":"SN266-gray-S","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72f69fd3e49757e8a83237d081e29016.jpeg","path":"72f69fd3e49757e8a83237d081e29016.jpeg","width":1170,"height":1478,"alt":"","aspect_ratio":0.7916102841677943},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"55.99","retail_price":"89.99","available":true,"url":"\/products\/fashion-solid-color-irregular-top-skirt-two-piece-set76a762b4-7861-4439-b8c5-d8834462de3e854906c5-8cfd-4604-9e86-2c4dd691e7c53d2cbb34-7748-4705-b3e0-993b312e7690323485fc-7043-4433-a137-e97be780c2ef-kmn2?variant=835390ae-e209-4b1c-967a-d2590c54048c","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
gray
${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
$55.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":"835390ae-e209-4b1c-967a-d2590c54048c","product_id":"eeb30b86-6925-41ff-847e-72a63b682473","title":"gray-S","weight_unit":"lb","inventory_quantity":973,"sku":"SN266-gray-S","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72f69fd3e49757e8a83237d081e29016.jpeg","path":"72f69fd3e49757e8a83237d081e29016.jpeg","width":1170,"height":1478,"alt":"","aspect_ratio":0.7916102841677943},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"55.99","retail_price":"89.99","available":true,"url":"\/products\/fashion-solid-color-irregular-top-skirt-two-piece-set76a762b4-7861-4439-b8c5-d8834462de3e854906c5-8cfd-4604-9e86-2c4dd691e7c53d2cbb34-7748-4705-b3e0-993b312e7690323485fc-7043-4433-a137-e97be780c2ef-kmn2?variant=835390ae-e209-4b1c-967a-d2590c54048c","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":38,"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":"835390ae-e209-4b1c-967a-d2590c54048c","product_id":"eeb30b86-6925-41ff-847e-72a63b682473","title":"gray-S","weight_unit":"lb","inventory_quantity":973,"sku":"SN266-gray-S","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72f69fd3e49757e8a83237d081e29016.jpeg","path":"72f69fd3e49757e8a83237d081e29016.jpeg","width":1170,"height":1478,"alt":"","aspect_ratio":0.7916102841677943},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"55.99","retail_price":"89.99","available":true,"url":"\/products\/fashion-solid-color-irregular-top-skirt-two-piece-set76a762b4-7861-4439-b8c5-d8834462de3e854906c5-8cfd-4604-9e86-2c4dd691e7c53d2cbb34-7748-4705-b3e0-993b312e7690323485fc-7043-4433-a137-e97be780c2ef-kmn2?variant=835390ae-e209-4b1c-967a-d2590c54048c","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}