GAR BETHE Men Contrast Trim Trouser Fashion Casual Pants Solid Color Breathable Loose Straight Drawstring Pants Streetwear
${function() {
const variantData = data.variant || {"id":"3e5d3568-01e1-46d1-8a30-c37eb33c234b","product_id":"60761472-0c1f-442c-a0a1-7bccc32f0834","title":"S-gray-Pack of 1","weight_unit":"g","inventory_quantity":931,"sku":"","barcode":"","position":2,"option1":"S","option2":"gray","option3":"Pack of 1","note":"","image":{"src":"\/\/img.staticdj.com\/8452aa7b11913d21e6b1722cb34b0c5d.jpeg","path":"8452aa7b11913d21e6b1722cb34b0c5d.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":21.6,"min_quantity":1}],"weight":"360","compare_at_price":"30.9","price":"21.6","retail_price":"30.9","available":true,"url":"\/products\/gar-bethe-men-contrast-trim-trouser-fashion-casual-pants-solid-color-breathable-loose-straight-drawstring-pants-streetwear?variant=3e5d3568-01e1-46d1-8a30-c37eb33c234b","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"gray"},{"name":"Sale By Pack","value":"Pack of 1"}],"off_ratio":30,"flashsale_info":[],"sales":559};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
Color:
gray
${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}
`
}()}
Sale By Pack:
Pack of 1
${function(){
const optName = "Sale By Pack";
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
$21.60
${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":"3e5d3568-01e1-46d1-8a30-c37eb33c234b","product_id":"60761472-0c1f-442c-a0a1-7bccc32f0834","title":"S-gray-Pack of 1","weight_unit":"g","inventory_quantity":931,"sku":"","barcode":"","position":2,"option1":"S","option2":"gray","option3":"Pack of 1","note":"","image":{"src":"\/\/img.staticdj.com\/8452aa7b11913d21e6b1722cb34b0c5d.jpeg","path":"8452aa7b11913d21e6b1722cb34b0c5d.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":21.6,"min_quantity":1}],"weight":"360","compare_at_price":"30.9","price":"21.6","retail_price":"30.9","available":true,"url":"\/products\/gar-bethe-men-contrast-trim-trouser-fashion-casual-pants-solid-color-breathable-loose-straight-drawstring-pants-streetwear?variant=3e5d3568-01e1-46d1-8a30-c37eb33c234b","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"gray"},{"name":"Sale By Pack","value":"Pack of 1"}],"off_ratio":30,"flashsale_info":[],"sales":559};
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.