Tummy Control Skinny Jeans
${function() {
const variantData = data.variant || {"id":"33e8c25f-e805-4c24-b3f6-9653dbfb743b","product_id":"a349feb7-ce31-4f09-9e98-2e225470ee58","title":"Dark Blue-Regular-XS (0-2)","weight_unit":"kg","inventory_quantity":1000,"sku":"TTB2787","barcode":"","position":1,"option1":"Dark Blue","option2":"Regular","option3":"XS (0-2)","note":"","image":{"src":"\/\/img.staticdj.com\/bdbdd40a2ec5ea1932ad48463434b8a0.jpeg","path":"bdbdd40a2ec5ea1932ad48463434b8a0.jpeg","width":1500,"height":2000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.96","price":"39.98","retail_price":"79.96","available":true,"url":"\/products\/tummy-control-skinny-jeans-39fg?variant=33e8c25f-e805-4c24-b3f6-9653dbfb743b","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Inseam","value":"Regular"},{"name":"Size","value":"XS (0-2)"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
people are viewing this right now
Color:
Dark Blue
${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}
`
}()}
Inseam:
Regular
${function(){
const optName = "Inseam";
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 (0-2)
${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.98
${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":"33e8c25f-e805-4c24-b3f6-9653dbfb743b","product_id":"a349feb7-ce31-4f09-9e98-2e225470ee58","title":"Dark Blue-Regular-XS (0-2)","weight_unit":"kg","inventory_quantity":1000,"sku":"TTB2787","barcode":"","position":1,"option1":"Dark Blue","option2":"Regular","option3":"XS (0-2)","note":"","image":{"src":"\/\/img.staticdj.com\/bdbdd40a2ec5ea1932ad48463434b8a0.jpeg","path":"bdbdd40a2ec5ea1932ad48463434b8a0.jpeg","width":1500,"height":2000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.96","price":"39.98","retail_price":"79.96","available":true,"url":"\/products\/tummy-control-skinny-jeans-39fg?variant=33e8c25f-e805-4c24-b3f6-9653dbfb743b","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Inseam","value":"Regular"},{"name":"Size","value":"XS (0-2)"}],"off_ratio":50,"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":"33e8c25f-e805-4c24-b3f6-9653dbfb743b","product_id":"a349feb7-ce31-4f09-9e98-2e225470ee58","title":"Dark Blue-Regular-XS (0-2)","weight_unit":"kg","inventory_quantity":1000,"sku":"TTB2787","barcode":"","position":1,"option1":"Dark Blue","option2":"Regular","option3":"XS (0-2)","note":"","image":{"src":"\/\/img.staticdj.com\/bdbdd40a2ec5ea1932ad48463434b8a0.jpeg","path":"bdbdd40a2ec5ea1932ad48463434b8a0.jpeg","width":1500,"height":2000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.96","price":"39.98","retail_price":"79.96","available":true,"url":"\/products\/tummy-control-skinny-jeans-39fg?variant=33e8c25f-e805-4c24-b3f6-9653dbfb743b","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Inseam","value":"Regular"},{"name":"Size","value":"XS (0-2)"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}