inostor™-Men's Casual Loose Cotton And Linen Pants
${function(){
const variantData = data.variant || {"id":"d13fe00b-3ebb-4308-801c-d17920672e5b","product_id":"370412a0-4658-4ea7-b33b-407cd4282a91","title":"Khaki-S","weight_unit":"kg","inventory_quantity":979,"sku":"XH-131821-LWZ-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06ef969dac361a55acdb2125b10ee0a7.png","path":"06ef969dac361a55acdb2125b10ee0a7.png","width":649,"height":866,"alt":"","aspect_ratio":0.7494226327944573},"wholesale_price":[{"price":55.88,"min_quantity":1}],"weight":"0","compare_at_price":"55.88","price":"55.88","retail_price":"55.88","available":true,"url":"\/products\/mens-casual-loose-cotton-and-linen-pants510548d2-ffe1-4ee5-a27b-0af784b73e14?variant=d13fe00b-3ebb-4308-801c-d17920672e5b","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":218};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const variantData = data.variant || {"id":"d13fe00b-3ebb-4308-801c-d17920672e5b","product_id":"370412a0-4658-4ea7-b33b-407cd4282a91","title":"Khaki-S","weight_unit":"kg","inventory_quantity":979,"sku":"XH-131821-LWZ-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06ef969dac361a55acdb2125b10ee0a7.png","path":"06ef969dac361a55acdb2125b10ee0a7.png","width":649,"height":866,"alt":"","aspect_ratio":0.7494226327944573},"wholesale_price":[{"price":55.88,"min_quantity":1}],"weight":"0","compare_at_price":"55.88","price":"55.88","retail_price":"55.88","available":true,"url":"\/products\/mens-casual-loose-cotton-and-linen-pants510548d2-ffe1-4ee5-a27b-0af784b73e14?variant=d13fe00b-3ebb-4308-801c-d17920672e5b","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":218};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
people are viewing this right now
Color:
Khaki
${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:
S
${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
$55.88
${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":"d13fe00b-3ebb-4308-801c-d17920672e5b","product_id":"370412a0-4658-4ea7-b33b-407cd4282a91","title":"Khaki-S","weight_unit":"kg","inventory_quantity":979,"sku":"XH-131821-LWZ-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06ef969dac361a55acdb2125b10ee0a7.png","path":"06ef969dac361a55acdb2125b10ee0a7.png","width":649,"height":866,"alt":"","aspect_ratio":0.7494226327944573},"wholesale_price":[{"price":55.88,"min_quantity":1}],"weight":"0","compare_at_price":"55.88","price":"55.88","retail_price":"55.88","available":true,"url":"\/products\/mens-casual-loose-cotton-and-linen-pants510548d2-ffe1-4ee5-a27b-0af784b73e14?variant=d13fe00b-3ebb-4308-801c-d17920672e5b","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":218};
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.