GAR BETHE New Turn-down Collar Men's Clothing Spring Autumn Long Sleeve Loose Polo T-shirt Striped Button Casual Fashion Vintage Tops
${function() {
const variantData = data.variant || {"id":"88fb7235-b56d-464a-901f-5dc6757e2004","product_id":"9a5687b0-4e80-4dc2-9cca-f635a194e0dc","title":"A973 dark gray-M(42.5-50)kg","weight_unit":"kg","inventory_quantity":781,"sku":"","barcode":"","position":13,"option1":"A973 dark gray","option2":"M(42.5-50)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4e9fe808645c297ae064f11c61c0d10.jpeg","path":"c4e9fe808645c297ae064f11c61c0d10.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.4,"min_quantity":1}],"weight":"0.32","compare_at_price":"25.4","price":"25.4","retail_price":"25.4","available":true,"url":"\/products\/gar-bethe-new-turn-down-collar-mens-clothing-spring-autumn-long-sleeve-loose-polo-t-shirt-striped-button-casual-fashion-vintage-tops?variant=88fb7235-b56d-464a-901f-5dc6757e2004","available_quantity":999999999,"options":[{"name":"color","value":"A973 dark gray"},{"name":"size","value":"M(42.5-50)kg"}],"off_ratio":0,"flashsale_info":[],"sales":446};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
A973 dark gray
${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:
M(42.5-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
$25.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":"88fb7235-b56d-464a-901f-5dc6757e2004","product_id":"9a5687b0-4e80-4dc2-9cca-f635a194e0dc","title":"A973 dark gray-M(42.5-50)kg","weight_unit":"kg","inventory_quantity":781,"sku":"","barcode":"","position":13,"option1":"A973 dark gray","option2":"M(42.5-50)kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4e9fe808645c297ae064f11c61c0d10.jpeg","path":"c4e9fe808645c297ae064f11c61c0d10.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.4,"min_quantity":1}],"weight":"0.32","compare_at_price":"25.4","price":"25.4","retail_price":"25.4","available":true,"url":"\/products\/gar-bethe-new-turn-down-collar-mens-clothing-spring-autumn-long-sleeve-loose-polo-t-shirt-striped-button-casual-fashion-vintage-tops?variant=88fb7235-b56d-464a-901f-5dc6757e2004","available_quantity":999999999,"options":[{"name":"color","value":"A973 dark gray"},{"name":"size","value":"M(42.5-50)kg"}],"off_ratio":0,"flashsale_info":[],"sales":446};
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.