GAR BETHE New Pure Cotton Korean Men Summer Casual Thin Loose Work Clothes Harlan Pants Fashion Trend Lion Embroidery Drawstring Trousers
${function() {
const variantData = data.variant || {"id":"c1144e03-ad53-42c0-9556-40e07205546a","product_id":"751d9a08-2733-450a-877d-dde50fe71f2d","title":"M-Black","weight_unit":"kg","inventory_quantity":915,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/512d60e96db82990c2b680b851baa6b1.jpeg","path":"512d60e96db82990c2b680b851baa6b1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.5,"min_quantity":1}],"weight":"0.55","compare_at_price":"51.8","price":"28.5","retail_price":"51.8","available":true,"url":"\/products\/gar-bethe-new-pure-cotton-korean-men-summer-casual-thin-loose-work-clothes-harlan-pants-fashion-trend-lion-embroidery-drawstring-trousers?variant=c1144e03-ad53-42c0-9556-40e07205546a","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":45,"flashsale_info":[],"sales":741};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
M
${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
$28.50
${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":"c1144e03-ad53-42c0-9556-40e07205546a","product_id":"751d9a08-2733-450a-877d-dde50fe71f2d","title":"M-Black","weight_unit":"kg","inventory_quantity":915,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/512d60e96db82990c2b680b851baa6b1.jpeg","path":"512d60e96db82990c2b680b851baa6b1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.5,"min_quantity":1}],"weight":"0.55","compare_at_price":"51.8","price":"28.5","retail_price":"51.8","available":true,"url":"\/products\/gar-bethe-new-pure-cotton-korean-men-summer-casual-thin-loose-work-clothes-harlan-pants-fashion-trend-lion-embroidery-drawstring-trousers?variant=c1144e03-ad53-42c0-9556-40e07205546a","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":45,"flashsale_info":[],"sales":741};
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.