PLUS LOFTS Joggers Cargo Pants Men Gyms Fitness Casual Pants Workout Sweatpants Trousers Mens Sweatpants Streetwear Stretch Waist
${function() {
const variantData = data.variant || {"id":"7681cc8a-66f8-4be4-b6a4-59b85d7c4849","product_id":"e98426d9-17ce-4278-ba21-ab9196c76b5b","title":"M-Black","weight_unit":"kg","inventory_quantity":622,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48bbd70f56a3690150d618dc335f1c6f.jpeg","path":"48bbd70f56a3690150d618dc335f1c6f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.2,"min_quantity":1}],"weight":"0.25","compare_at_price":"21.7","price":"15.2","retail_price":"21.7","available":true,"url":"\/products\/plus-lofts-joggers-cargo-pants-men-gyms-fitness-casual-pants-workout-sweatpants-trousers-mens-sweatpants-streetwear-stretch-waist-06vc?variant=7681cc8a-66f8-4be4-b6a4-59b85d7c4849","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":30,"flashsale_info":[],"sales":539};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
Color:
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}
`
}()}
Add to cart
$15.20
${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":"7681cc8a-66f8-4be4-b6a4-59b85d7c4849","product_id":"e98426d9-17ce-4278-ba21-ab9196c76b5b","title":"M-Black","weight_unit":"kg","inventory_quantity":622,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48bbd70f56a3690150d618dc335f1c6f.jpeg","path":"48bbd70f56a3690150d618dc335f1c6f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.2,"min_quantity":1}],"weight":"0.25","compare_at_price":"21.7","price":"15.2","retail_price":"21.7","available":true,"url":"\/products\/plus-lofts-joggers-cargo-pants-men-gyms-fitness-casual-pants-workout-sweatpants-trousers-mens-sweatpants-streetwear-stretch-waist-06vc?variant=7681cc8a-66f8-4be4-b6a4-59b85d7c4849","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":30,"flashsale_info":[],"sales":539};
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.