SAYO TOMASYON Men Long Tank Muscle Workout T-shirt Bodybuilding Gym Athletic Training Sports Tops
${function() {
const variantData = data.variant || {"id":"7d3b848a-b92e-45a7-8ed0-33a2e9aee187","product_id":"38baa7d6-dbe2-45b0-9553-3439d08acd7a","title":"Green-M","weight_unit":"g","inventory_quantity":653,"sku":"","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/afc5744bbb051a0e092195d6b9265145.jpeg","path":"afc5744bbb051a0e092195d6b9265145.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.8,"min_quantity":1}],"weight":"224","compare_at_price":"21.8","price":"21.8","retail_price":"21.8","available":true,"url":"\/products\/sayo-tomasyon-men-long-tank-muscle-workout-t-shirt-bodybuilding-gym-athletic-training-sports-tops?variant=7d3b848a-b92e-45a7-8ed0-33a2e9aee187","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":315};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Green
${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
${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
$21.80
${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":"7d3b848a-b92e-45a7-8ed0-33a2e9aee187","product_id":"38baa7d6-dbe2-45b0-9553-3439d08acd7a","title":"Green-M","weight_unit":"g","inventory_quantity":653,"sku":"","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/afc5744bbb051a0e092195d6b9265145.jpeg","path":"afc5744bbb051a0e092195d6b9265145.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.8,"min_quantity":1}],"weight":"224","compare_at_price":"21.8","price":"21.8","retail_price":"21.8","available":true,"url":"\/products\/sayo-tomasyon-men-long-tank-muscle-workout-t-shirt-bodybuilding-gym-athletic-training-sports-tops?variant=7d3b848a-b92e-45a7-8ed0-33a2e9aee187","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":315};
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.