BRANCH TEK Clothin Men's Elastic-waist Travel Pant Stretchy Lightweight Pant Multi-pockets Quick Dry Breathable
Apparel & Accessories > Clothing > Pants
${function() {
const variantData = data.variant || {"id":"776fc47a-4eeb-40fa-814d-ab6dba67e1d2","product_id":"285a6088-3b49-49b0-92cb-4c7168ebb66c","title":"Blue-31W x 30L","weight_unit":"kg","inventory_quantity":904,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"31W x 30L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15677175e10fcac85b6ef8a601c3a922.jpeg","path":"15677175e10fcac85b6ef8a601c3a922.jpeg","width":724,"height":1500,"alt":"","aspect_ratio":0.4826666666666667},"wholesale_price":[{"price":49.9,"min_quantity":1}],"weight":"0","compare_at_price":"99.8","price":"49.9","retail_price":"99.8","available":true,"url":"\/products\/branch-tek-clothin-mens-elastic-waist-travel-pant-stretchy-lightweight-pant-multi-pockets-quick-dry-breathable-9ssi?variant=776fc47a-4eeb-40fa-814d-ab6dba67e1d2","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"31W x 30L"}],"off_ratio":50,"flashsale_info":[],"sales":629};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Blue
${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:
31W x 30L
${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
$49.90
${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":"776fc47a-4eeb-40fa-814d-ab6dba67e1d2","product_id":"285a6088-3b49-49b0-92cb-4c7168ebb66c","title":"Blue-31W x 30L","weight_unit":"kg","inventory_quantity":904,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"31W x 30L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15677175e10fcac85b6ef8a601c3a922.jpeg","path":"15677175e10fcac85b6ef8a601c3a922.jpeg","width":724,"height":1500,"alt":"","aspect_ratio":0.4826666666666667},"wholesale_price":[{"price":49.9,"min_quantity":1}],"weight":"0","compare_at_price":"99.8","price":"49.9","retail_price":"99.8","available":true,"url":"\/products\/branch-tek-clothin-mens-elastic-waist-travel-pant-stretchy-lightweight-pant-multi-pockets-quick-dry-breathable-9ssi?variant=776fc47a-4eeb-40fa-814d-ab6dba67e1d2","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"31W x 30L"}],"off_ratio":50,"flashsale_info":[],"sales":629};
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":"776fc47a-4eeb-40fa-814d-ab6dba67e1d2","product_id":"285a6088-3b49-49b0-92cb-4c7168ebb66c","title":"Blue-31W x 30L","weight_unit":"kg","inventory_quantity":904,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"31W x 30L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15677175e10fcac85b6ef8a601c3a922.jpeg","path":"15677175e10fcac85b6ef8a601c3a922.jpeg","width":724,"height":1500,"alt":"","aspect_ratio":0.4826666666666667},"wholesale_price":[{"price":49.9,"min_quantity":1}],"weight":"0","compare_at_price":"99.8","price":"49.9","retail_price":"99.8","available":true,"url":"\/products\/branch-tek-clothin-mens-elastic-waist-travel-pant-stretchy-lightweight-pant-multi-pockets-quick-dry-breathable-9ssi?variant=776fc47a-4eeb-40fa-814d-ab6dba67e1d2","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"31W x 30L"}],"off_ratio":50,"flashsale_info":[],"sales":629};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}