GAR BETHE Men's Pants Spring And Autumn New Fashion Drawstring Style Pants Black Casual Small Foot Style Large Crotch Pants Black Slim Fit
${function() {
const variantData = data.variant || {"id":"b16759c9-3596-4ebd-af57-260023ccc04e","product_id":"22cc9611-f040-41c5-8269-ad894df49c8d","title":"S-Black","weight_unit":"kg","inventory_quantity":880,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab720f0d9d43b25908a6fc5171a42fc9.jpeg","path":"ab720f0d9d43b25908a6fc5171a42fc9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0.9","compare_at_price":"53.8","price":"35","retail_price":"53.8","available":true,"url":"\/products\/gar-bethe-mens-pants-spring-and-autumn-new-fashion-drawstring-style-pants-black-casual-small-foot-style-large-crotch-pants-black-slim-fit?variant=b16759c9-3596-4ebd-af57-260023ccc04e","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":35,"flashsale_info":[],"sales":467};
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
$35.00
${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":"b16759c9-3596-4ebd-af57-260023ccc04e","product_id":"22cc9611-f040-41c5-8269-ad894df49c8d","title":"S-Black","weight_unit":"kg","inventory_quantity":880,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab720f0d9d43b25908a6fc5171a42fc9.jpeg","path":"ab720f0d9d43b25908a6fc5171a42fc9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0.9","compare_at_price":"53.8","price":"35","retail_price":"53.8","available":true,"url":"\/products\/gar-bethe-mens-pants-spring-and-autumn-new-fashion-drawstring-style-pants-black-casual-small-foot-style-large-crotch-pants-black-slim-fit?variant=b16759c9-3596-4ebd-af57-260023ccc04e","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":35,"flashsale_info":[],"sales":467};
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.