GAR BETHE Polo Shirts For Men Summer Short Sleeve Loose Turn-down Collar Solid Pockets Button Printing Fashion Casual Tops
${function() {
const variantData = data.variant || {"id":"138bac2a-9352-46a4-bc5e-faf13b48c594","product_id":"d0997b62-533e-468e-be01-5228b32387fa","title":"D101Black-105M(50-60)kg","weight_unit":"kg","inventory_quantity":835,"sku":"","barcode":"","position":1,"option1":"D101Black","option2":"105M(50-60)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9cd0db405f58e62e2c4c60281a53bc41.jpeg","path":"9cd0db405f58e62e2c4c60281a53bc41.jpeg","width":800,"height":596,"alt":"","aspect_ratio":1.342281879194631},"wholesale_price":[{"price":26.4,"min_quantity":1}],"weight":"0.2","compare_at_price":"48","price":"26.4","retail_price":"48","available":true,"url":"\/products\/gar-bethe-polo-shirts-for-men-summer-short-sleeve-loose-turn-down-collar-solid-pockets-button-printing-fashion-casual-tops-49pd?variant=138bac2a-9352-46a4-bc5e-faf13b48c594","available_quantity":999999999,"options":[{"name":"color","value":"D101Black"},{"name":"size","value":"105M(50-60)kg"}],"off_ratio":45,"flashsale_info":[],"sales":264};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
D101Black
${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:
105M(50-60)kg
${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
$26.40
${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":"138bac2a-9352-46a4-bc5e-faf13b48c594","product_id":"d0997b62-533e-468e-be01-5228b32387fa","title":"D101Black-105M(50-60)kg","weight_unit":"kg","inventory_quantity":835,"sku":"","barcode":"","position":1,"option1":"D101Black","option2":"105M(50-60)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9cd0db405f58e62e2c4c60281a53bc41.jpeg","path":"9cd0db405f58e62e2c4c60281a53bc41.jpeg","width":800,"height":596,"alt":"","aspect_ratio":1.342281879194631},"wholesale_price":[{"price":26.4,"min_quantity":1}],"weight":"0.2","compare_at_price":"48","price":"26.4","retail_price":"48","available":true,"url":"\/products\/gar-bethe-polo-shirts-for-men-summer-short-sleeve-loose-turn-down-collar-solid-pockets-button-printing-fashion-casual-tops-49pd?variant=138bac2a-9352-46a4-bc5e-faf13b48c594","available_quantity":999999999,"options":[{"name":"color","value":"D101Black"},{"name":"size","value":"105M(50-60)kg"}],"off_ratio":45,"flashsale_info":[],"sales":264};
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.