GAR BETHE Summer Polo Men's Shirt New Style Lapel Ice Silk Short Sleeve Striped Plaid Button Letter Printing Fashion Casual Tops
${function() {
const variantData = data.variant || {"id":"7445ecaa-c1fb-419f-8f57-e116a404d080","product_id":"12f3d90d-ffc6-402d-b13d-803ae8514496","title":"Black-165M(40-50)kg","weight_unit":"kg","inventory_quantity":981,"sku":"","barcode":"","position":1,"option1":"Black","option2":"165M(40-50)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5f14cef4a28830f4d4aef2fc02b3c45.jpeg","path":"d5f14cef4a28830f4d4aef2fc02b3c45.jpeg","width":480,"height":480,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.7,"min_quantity":1}],"weight":"0.2","compare_at_price":"38","price":"24.7","retail_price":"38","available":true,"url":"\/products\/gar-bethe-summer-polo-mens-shirt-new-style-lapel-ice-silk-short-sleeve-striped-plaid-button-letter-printing-fashion-casual-tops-5hkf?variant=7445ecaa-c1fb-419f-8f57-e116a404d080","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"165M(40-50)kg"}],"off_ratio":35,"flashsale_info":[],"sales":188};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
Size:
165M(40-50)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
$24.70
${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":"7445ecaa-c1fb-419f-8f57-e116a404d080","product_id":"12f3d90d-ffc6-402d-b13d-803ae8514496","title":"Black-165M(40-50)kg","weight_unit":"kg","inventory_quantity":981,"sku":"","barcode":"","position":1,"option1":"Black","option2":"165M(40-50)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5f14cef4a28830f4d4aef2fc02b3c45.jpeg","path":"d5f14cef4a28830f4d4aef2fc02b3c45.jpeg","width":480,"height":480,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.7,"min_quantity":1}],"weight":"0.2","compare_at_price":"38","price":"24.7","retail_price":"38","available":true,"url":"\/products\/gar-bethe-summer-polo-mens-shirt-new-style-lapel-ice-silk-short-sleeve-striped-plaid-button-letter-printing-fashion-casual-tops-5hkf?variant=7445ecaa-c1fb-419f-8f57-e116a404d080","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"165M(40-50)kg"}],"off_ratio":35,"flashsale_info":[],"sales":188};
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.