Sportlift Ultra Shorts(🎁Christmas Hot Sale🎁-Buy 2 free shipping)
${function() {
const variantData = data.variant || {"id":"7cd5f3f8-9601-4a41-8280-0218d9b8874c","product_id":"07fd56c4-572e-496f-b6c3-b0b60a01059f","title":"Short Black-XL","weight_unit":"kg","inventory_quantity":997,"sku":"34851048-short-black-xl","barcode":"","position":1,"option1":"Short Black","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c7afd2911d0a5353ee6c52c75b911bd.jpeg","path":"9c7afd2911d0a5353ee6c52c75b911bd.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.75,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"12.75","retail_price":"32","available":true,"url":"\/products\/push-up-high-waist-shorts-sivt?variant=7cd5f3f8-9601-4a41-8280-0218d9b8874c","available_quantity":999999999,"options":[{"name":"Color","value":"Short Black"},{"name":"Size","value":"XL"}],"off_ratio":60,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Short 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:
XL
${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
$12.75
${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":"7cd5f3f8-9601-4a41-8280-0218d9b8874c","product_id":"07fd56c4-572e-496f-b6c3-b0b60a01059f","title":"Short Black-XL","weight_unit":"kg","inventory_quantity":997,"sku":"34851048-short-black-xl","barcode":"","position":1,"option1":"Short Black","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c7afd2911d0a5353ee6c52c75b911bd.jpeg","path":"9c7afd2911d0a5353ee6c52c75b911bd.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.75,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"12.75","retail_price":"32","available":true,"url":"\/products\/push-up-high-waist-shorts-sivt?variant=7cd5f3f8-9601-4a41-8280-0218d9b8874c","available_quantity":999999999,"options":[{"name":"Color","value":"Short Black"},{"name":"Size","value":"XL"}],"off_ratio":60,"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.
Sku : 34851048-short-black-xl
${function(){
const variantData = data.variant || {"id":"7cd5f3f8-9601-4a41-8280-0218d9b8874c","product_id":"07fd56c4-572e-496f-b6c3-b0b60a01059f","title":"Short Black-XL","weight_unit":"kg","inventory_quantity":997,"sku":"34851048-short-black-xl","barcode":"","position":1,"option1":"Short Black","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c7afd2911d0a5353ee6c52c75b911bd.jpeg","path":"9c7afd2911d0a5353ee6c52c75b911bd.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.75,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"12.75","retail_price":"32","available":true,"url":"\/products\/push-up-high-waist-shorts-sivt?variant=7cd5f3f8-9601-4a41-8280-0218d9b8874c","available_quantity":999999999,"options":[{"name":"Color","value":"Short Black"},{"name":"Size","value":"XL"}],"off_ratio":60,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}