PLUS LOFTS Men Shorts Summer Cotton Middle Waist Male Luxury Casual Business Men Shorts Printed Beach Stretch Chino Classic Fit Short Homme
${function() {
const variantData = data.variant || {"id":"33b4462f-0f8d-48a5-8066-18ddd8c491ee","product_id":"bc567428-e2d5-4b0b-8cd4-f93a48ccdf36","title":"yellow-29","weight_unit":"kg","inventory_quantity":860,"sku":"","barcode":"","position":1,"option1":"yellow","option2":"29","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24562bfe9b473cefa066b8b048762c1f.jpeg","path":"24562bfe9b473cefa066b8b048762c1f.jpeg","width":1380,"height":1380,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.2,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.9","price":"29.2","retail_price":"44.9","available":true,"url":"\/products\/plus-lofts-men-shorts-summer-cotton-middle-waist-male-luxury-casual-business-men-shorts-printed-beach-stretch-chino-classic-fit-short-homme-qba5?variant=33b4462f-0f8d-48a5-8066-18ddd8c491ee","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"29"}],"off_ratio":35,"flashsale_info":[],"sales":507};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
yellow
${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:
29
${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
$29.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":"33b4462f-0f8d-48a5-8066-18ddd8c491ee","product_id":"bc567428-e2d5-4b0b-8cd4-f93a48ccdf36","title":"yellow-29","weight_unit":"kg","inventory_quantity":860,"sku":"","barcode":"","position":1,"option1":"yellow","option2":"29","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24562bfe9b473cefa066b8b048762c1f.jpeg","path":"24562bfe9b473cefa066b8b048762c1f.jpeg","width":1380,"height":1380,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.2,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.9","price":"29.2","retail_price":"44.9","available":true,"url":"\/products\/plus-lofts-men-shorts-summer-cotton-middle-waist-male-luxury-casual-business-men-shorts-printed-beach-stretch-chino-classic-fit-short-homme-qba5?variant=33b4462f-0f8d-48a5-8066-18ddd8c491ee","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"29"}],"off_ratio":35,"flashsale_info":[],"sales":507};
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.