inostor™-Men's Stretch Suit Pants
${function(){
const variantData = data.variant || {"id":"cd8cbf14-9406-466d-aa82-00f5b5a4726a","product_id":"45c517bc-0482-4dff-9637-ffb051707125","title":"Aloe-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"SN282-Aloe-XS","barcode":"","position":1,"option1":"Aloe","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac71da615c1891f022d2d589d5963bc4.jpeg","path":"ac71da615c1891f022d2d589d5963bc4.jpeg","width":1444,"height":1532,"alt":"","aspect_ratio":0.9425587467362925},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"45","retail_price":"45","available":true,"url":"\/products\/apex-pant5f625d0e-6347-400f-a042-bad98ab0e339?variant=cd8cbf14-9406-466d-aa82-00f5b5a4726a","available_quantity":999999999,"options":[{"name":"Color","value":"Aloe"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":151};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const variantData = data.variant || {"id":"cd8cbf14-9406-466d-aa82-00f5b5a4726a","product_id":"45c517bc-0482-4dff-9637-ffb051707125","title":"Aloe-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"SN282-Aloe-XS","barcode":"","position":1,"option1":"Aloe","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac71da615c1891f022d2d589d5963bc4.jpeg","path":"ac71da615c1891f022d2d589d5963bc4.jpeg","width":1444,"height":1532,"alt":"","aspect_ratio":0.9425587467362925},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"45","retail_price":"45","available":true,"url":"\/products\/apex-pant5f625d0e-6347-400f-a042-bad98ab0e339?variant=cd8cbf14-9406-466d-aa82-00f5b5a4726a","available_quantity":999999999,"options":[{"name":"Color","value":"Aloe"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":151};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
people are viewing this right now
Color:
Aloe
${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:
XS
${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
$45.00
${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":"cd8cbf14-9406-466d-aa82-00f5b5a4726a","product_id":"45c517bc-0482-4dff-9637-ffb051707125","title":"Aloe-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"SN282-Aloe-XS","barcode":"","position":1,"option1":"Aloe","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac71da615c1891f022d2d589d5963bc4.jpeg","path":"ac71da615c1891f022d2d589d5963bc4.jpeg","width":1444,"height":1532,"alt":"","aspect_ratio":0.9425587467362925},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"45","retail_price":"45","available":true,"url":"\/products\/apex-pant5f625d0e-6347-400f-a042-bad98ab0e339?variant=cd8cbf14-9406-466d-aa82-00f5b5a4726a","available_quantity":999999999,"options":[{"name":"Color","value":"Aloe"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":151};
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.