Slimming Butt Lifter Control Panty Underwear Shorts
${function() {
const variantData = data.variant || {"id":"ca97df7d-7e60-47af-8055-7e3467c57f6d","product_id":"8a6386e9-cf5e-41e6-a35d-61c2c904b774","title":"RosyBrown-XS","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"RosyBrown","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a8863955455538dffcee63bcc11c878.jpeg","path":"4a8863955455538dffcee63bcc11c878.jpeg","width":1209,"height":1511,"alt":"","aspect_ratio":0.800132362673726},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/slimming-butt-lifter-control-panty-underwear-shorts?variant=ca97df7d-7e60-47af-8055-7e3467c57f6d","available_quantity":999999999,"options":[{"name":"Color","value":"RosyBrown"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
RosyBrown
${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:
XS
${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
$32.00
${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":"ca97df7d-7e60-47af-8055-7e3467c57f6d","product_id":"8a6386e9-cf5e-41e6-a35d-61c2c904b774","title":"RosyBrown-XS","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"RosyBrown","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a8863955455538dffcee63bcc11c878.jpeg","path":"4a8863955455538dffcee63bcc11c878.jpeg","width":1209,"height":1511,"alt":"","aspect_ratio":0.800132362673726},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/slimming-butt-lifter-control-panty-underwear-shorts?variant=ca97df7d-7e60-47af-8055-7e3467c57f6d","available_quantity":999999999,"options":[{"name":"Color","value":"RosyBrown"},{"name":"Size","value":"XS"}],"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":"ca97df7d-7e60-47af-8055-7e3467c57f6d","product_id":"8a6386e9-cf5e-41e6-a35d-61c2c904b774","title":"RosyBrown-XS","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"RosyBrown","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a8863955455538dffcee63bcc11c878.jpeg","path":"4a8863955455538dffcee63bcc11c878.jpeg","width":1209,"height":1511,"alt":"","aspect_ratio":0.800132362673726},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/slimming-butt-lifter-control-panty-underwear-shorts?variant=ca97df7d-7e60-47af-8055-7e3467c57f6d","available_quantity":999999999,"options":[{"name":"Color","value":"RosyBrown"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}