GAR BETHE Fashion Men's Jeans Stretch Slim Chic Pockets Personality Male Clothing Denim Trousers Casual Comfortable Pants For Men
${function() {
const variantData = data.variant || {"id":"9581aba8-d5ae-42cd-8a5e-53bf1b391a22","product_id":"bb4d58ec-df25-4ec5-bfec-323a88d9bd09","title":"black grey-Asia 28","weight_unit":"kg","inventory_quantity":838,"sku":"","barcode":"","position":1,"option1":"black grey","option2":"Asia 28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63994c4be41bf0459ca70a20a3ba15a8.jpeg","path":"63994c4be41bf0459ca70a20a3ba15a8.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.2,"min_quantity":1}],"weight":"0.9","compare_at_price":"65.3","price":"39.2","retail_price":"65.3","available":true,"url":"\/products\/gar-bethe-fashion-mens-jeans-stretch-slim-chic-pockets-personality-male-clothing-denim-trousers-casual-comfortable-pants-for-men?variant=9581aba8-d5ae-42cd-8a5e-53bf1b391a22","available_quantity":999999999,"options":[{"name":"color","value":"black grey"},{"name":"size","value":"Asia 28"}],"off_ratio":40,"flashsale_info":[],"sales":166};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
black grey
${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:
Asia 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
$39.20
${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":"9581aba8-d5ae-42cd-8a5e-53bf1b391a22","product_id":"bb4d58ec-df25-4ec5-bfec-323a88d9bd09","title":"black grey-Asia 28","weight_unit":"kg","inventory_quantity":838,"sku":"","barcode":"","position":1,"option1":"black grey","option2":"Asia 28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63994c4be41bf0459ca70a20a3ba15a8.jpeg","path":"63994c4be41bf0459ca70a20a3ba15a8.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.2,"min_quantity":1}],"weight":"0.9","compare_at_price":"65.3","price":"39.2","retail_price":"65.3","available":true,"url":"\/products\/gar-bethe-fashion-mens-jeans-stretch-slim-chic-pockets-personality-male-clothing-denim-trousers-casual-comfortable-pants-for-men?variant=9581aba8-d5ae-42cd-8a5e-53bf1b391a22","available_quantity":999999999,"options":[{"name":"color","value":"black grey"},{"name":"size","value":"Asia 28"}],"off_ratio":40,"flashsale_info":[],"sales":166};
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.