GAR BETHE Retro 2024 Spring Washed Cotton Pants For Men Unisex Loose 380gsm Heavy-weight Leg Zipper Straight Loose Trousers Hy0809
${function() {
const variantData = data.variant || {"id":"e49bee96-abf7-4359-af23-e3efa61c70e5","product_id":"be6e601d-f3d8-4b4b-a157-4ff936d673cd","title":"S-Black","weight_unit":"kg","inventory_quantity":870,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a935ca9494694c3864d7fbb8f78ec2c.jpeg","path":"5a935ca9494694c3864d7fbb8f78ec2c.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.8,"min_quantity":1}],"weight":"0.85","compare_at_price":"99.6","price":"49.8","retail_price":"99.6","available":true,"url":"\/products\/gar-bethe-retro-2024-spring-washed-cotton-pants-for-men-unisex-loose-380gsm-heavy-weight-leg-zipper-straight-loose-trousers-hy0809-bktm?variant=e49bee96-abf7-4359-af23-e3efa61c70e5","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":294};
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:
Black
${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}
`
}()}
Add to cart
$49.80
${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":"e49bee96-abf7-4359-af23-e3efa61c70e5","product_id":"be6e601d-f3d8-4b4b-a157-4ff936d673cd","title":"S-Black","weight_unit":"kg","inventory_quantity":870,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a935ca9494694c3864d7fbb8f78ec2c.jpeg","path":"5a935ca9494694c3864d7fbb8f78ec2c.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.8,"min_quantity":1}],"weight":"0.85","compare_at_price":"99.6","price":"49.8","retail_price":"99.6","available":true,"url":"\/products\/gar-bethe-retro-2024-spring-washed-cotton-pants-for-men-unisex-loose-380gsm-heavy-weight-leg-zipper-straight-loose-trousers-hy0809-bktm?variant=e49bee96-abf7-4359-af23-e3efa61c70e5","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":294};
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.