SUCCESS SMARTU Anime Ippo Compreesion Shorts For Men Gym Workout Running Athletic 2 In 1 Performance Shorts With Pockets Activewear
${function() {
const variantData = data.variant || {"id":"0559fe0a-6a55-4b21-b4ae-5bf721874d4a","product_id":"5496e2e0-a485-431b-bf3f-dbe3f52ef04f","title":"black2-SAIER023C-M","weight_unit":"g","inventory_quantity":688,"sku":"","barcode":"","position":1,"option1":"black2-SAIER023C","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca9c79ee362fe0c2bb75c0c2428faa42.jpeg","path":"ca9c79ee362fe0c2bb75c0c2428faa42.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"260","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/success-smartu-anime-ippo-compreesion-shorts-for-men-gym-workout-running-athletic-2-in-1-performance-shorts-with-pockets-activewear?variant=0559fe0a-6a55-4b21-b4ae-5bf721874d4a","available_quantity":999999999,"options":[{"name":"color","value":"black2-SAIER023C"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":876};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
black2-SAIER023C
${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:
M
${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
$16.40
${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":"0559fe0a-6a55-4b21-b4ae-5bf721874d4a","product_id":"5496e2e0-a485-431b-bf3f-dbe3f52ef04f","title":"black2-SAIER023C-M","weight_unit":"g","inventory_quantity":688,"sku":"","barcode":"","position":1,"option1":"black2-SAIER023C","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca9c79ee362fe0c2bb75c0c2428faa42.jpeg","path":"ca9c79ee362fe0c2bb75c0c2428faa42.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"260","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/success-smartu-anime-ippo-compreesion-shorts-for-men-gym-workout-running-athletic-2-in-1-performance-shorts-with-pockets-activewear?variant=0559fe0a-6a55-4b21-b4ae-5bf721874d4a","available_quantity":999999999,"options":[{"name":"color","value":"black2-SAIER023C"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":876};
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":"0559fe0a-6a55-4b21-b4ae-5bf721874d4a","product_id":"5496e2e0-a485-431b-bf3f-dbe3f52ef04f","title":"black2-SAIER023C-M","weight_unit":"g","inventory_quantity":688,"sku":"","barcode":"","position":1,"option1":"black2-SAIER023C","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca9c79ee362fe0c2bb75c0c2428faa42.jpeg","path":"ca9c79ee362fe0c2bb75c0c2428faa42.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"260","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/success-smartu-anime-ippo-compreesion-shorts-for-men-gym-workout-running-athletic-2-in-1-performance-shorts-with-pockets-activewear?variant=0559fe0a-6a55-4b21-b4ae-5bf721874d4a","available_quantity":999999999,"options":[{"name":"color","value":"black2-SAIER023C"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":876};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}