BRANCH TEK Hungson Men's Slim Fit Stretch Jeans Ripped Skinny Jeans For Men, Distressed Straight Leg Fashion Comfort Flex Waist Pants
Apparel & Accessories > Clothing > Pants
${function() {
const variantData = data.variant || {"id":"56162969-aac0-4a6b-b9ef-487029e206e8","product_id":"91e1f03f-1535-4bc4-8299-f682ae46e7e9","title":"2023brown-28","weight_unit":"g","inventory_quantity":652,"sku":"","barcode":"","position":1,"option1":"2023brown","option2":"28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3af0ecabeff5931cfb7cd28894c72ed5.jpeg","path":"3af0ecabeff5931cfb7cd28894c72ed5.jpeg","width":298,"height":800,"alt":"","aspect_ratio":0.3725},"wholesale_price":[{"price":36.4,"min_quantity":1}],"weight":"10","compare_at_price":"66.2","price":"36.4","retail_price":"66.2","available":true,"url":"\/products\/branch-tek-hungson-mens-slim-fit-stretch-jeans-ripped-skinny-jeans-for-men-distressed-straight-leg-fashion-comfort-flex-waist-pants?variant=56162969-aac0-4a6b-b9ef-487029e206e8","available_quantity":999999999,"options":[{"name":"Color","value":"2023brown"},{"name":"Size","value":"28"}],"off_ratio":45,"flashsale_info":[],"sales":361};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
2023brown
${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:
28
${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
$36.40
${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":"56162969-aac0-4a6b-b9ef-487029e206e8","product_id":"91e1f03f-1535-4bc4-8299-f682ae46e7e9","title":"2023brown-28","weight_unit":"g","inventory_quantity":652,"sku":"","barcode":"","position":1,"option1":"2023brown","option2":"28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3af0ecabeff5931cfb7cd28894c72ed5.jpeg","path":"3af0ecabeff5931cfb7cd28894c72ed5.jpeg","width":298,"height":800,"alt":"","aspect_ratio":0.3725},"wholesale_price":[{"price":36.4,"min_quantity":1}],"weight":"10","compare_at_price":"66.2","price":"36.4","retail_price":"66.2","available":true,"url":"\/products\/branch-tek-hungson-mens-slim-fit-stretch-jeans-ripped-skinny-jeans-for-men-distressed-straight-leg-fashion-comfort-flex-waist-pants?variant=56162969-aac0-4a6b-b9ef-487029e206e8","available_quantity":999999999,"options":[{"name":"Color","value":"2023brown"},{"name":"Size","value":"28"}],"off_ratio":45,"flashsale_info":[],"sales":361};
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":"56162969-aac0-4a6b-b9ef-487029e206e8","product_id":"91e1f03f-1535-4bc4-8299-f682ae46e7e9","title":"2023brown-28","weight_unit":"g","inventory_quantity":652,"sku":"","barcode":"","position":1,"option1":"2023brown","option2":"28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3af0ecabeff5931cfb7cd28894c72ed5.jpeg","path":"3af0ecabeff5931cfb7cd28894c72ed5.jpeg","width":298,"height":800,"alt":"","aspect_ratio":0.3725},"wholesale_price":[{"price":36.4,"min_quantity":1}],"weight":"10","compare_at_price":"66.2","price":"36.4","retail_price":"66.2","available":true,"url":"\/products\/branch-tek-hungson-mens-slim-fit-stretch-jeans-ripped-skinny-jeans-for-men-distressed-straight-leg-fashion-comfort-flex-waist-pants?variant=56162969-aac0-4a6b-b9ef-487029e206e8","available_quantity":999999999,"options":[{"name":"Color","value":"2023brown"},{"name":"Size","value":"28"}],"off_ratio":45,"flashsale_info":[],"sales":361};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}