Women's Chic Classic Collection Stretch Elastic Waist Pull-On Pant
${function() {
const variantData = data.variant || {"id":"dec8583a-6f68-4242-93a3-57f653e5d360","product_id":"71564854-345d-472d-9841-abd5014def91","title":"16-Mid Shade Denim","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"16","option2":"Mid Shade Denim","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98a488fcc765c7de2097f99a7661eeba.png","path":"98a488fcc765c7de2097f99a7661eeba.png","width":800,"height":1772,"alt":"","aspect_ratio":0.45146726862302483},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"46.99","retail_price":"69.99","available":true,"url":"\/products\/womens-chic-classic-collection-stretch-elastic-waist-pull-on-pant?variant=dec8583a-6f68-4242-93a3-57f653e5d360","available_quantity":999999999,"options":[{"name":"Size","value":"16"},{"name":"Color","value":"Mid Shade Denim"}],"off_ratio":33,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
16
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color:
Mid Shade Denim
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$46.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":"dec8583a-6f68-4242-93a3-57f653e5d360","product_id":"71564854-345d-472d-9841-abd5014def91","title":"16-Mid Shade Denim","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"16","option2":"Mid Shade Denim","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98a488fcc765c7de2097f99a7661eeba.png","path":"98a488fcc765c7de2097f99a7661eeba.png","width":800,"height":1772,"alt":"","aspect_ratio":0.45146726862302483},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"46.99","retail_price":"69.99","available":true,"url":"\/products\/womens-chic-classic-collection-stretch-elastic-waist-pull-on-pant?variant=dec8583a-6f68-4242-93a3-57f653e5d360","available_quantity":999999999,"options":[{"name":"Size","value":"16"},{"name":"Color","value":"Mid Shade Denim"}],"off_ratio":33,"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":"dec8583a-6f68-4242-93a3-57f653e5d360","product_id":"71564854-345d-472d-9841-abd5014def91","title":"16-Mid Shade Denim","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"16","option2":"Mid Shade Denim","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98a488fcc765c7de2097f99a7661eeba.png","path":"98a488fcc765c7de2097f99a7661eeba.png","width":800,"height":1772,"alt":"","aspect_ratio":0.45146726862302483},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"46.99","retail_price":"69.99","available":true,"url":"\/products\/womens-chic-classic-collection-stretch-elastic-waist-pull-on-pant?variant=dec8583a-6f68-4242-93a3-57f653e5d360","available_quantity":999999999,"options":[{"name":"Size","value":"16"},{"name":"Color","value":"Mid Shade Denim"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}