SAYO TOMASYON Lapel Mesh Shirt Hollow-out Short-sleeved Fishnet Men's Striped Polo Shirt
${function() {
const variantData = data.variant || {"id":"91f101d2-eb1e-4204-891e-b900f4e14f24","product_id":"ba66c330-dd03-4af8-a446-84970999c6a1","title":"Green-S","weight_unit":"g","inventory_quantity":877,"sku":"","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b330c42e414b5cc41cf585ed1885bc7e.jpeg","path":"b330c42e414b5cc41cf585ed1885bc7e.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.6,"min_quantity":1}],"weight":"360","compare_at_price":"25.6","price":"25.6","retail_price":"25.6","available":true,"url":"\/products\/sayo-tomasyon-lapel-mesh-shirt-hollow-out-short-sleeved-fishnet-mens-striped-polo-shirt?variant=91f101d2-eb1e-4204-891e-b900f4e14f24","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":312};
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:
S
${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.60
${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":"91f101d2-eb1e-4204-891e-b900f4e14f24","product_id":"ba66c330-dd03-4af8-a446-84970999c6a1","title":"Green-S","weight_unit":"g","inventory_quantity":877,"sku":"","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b330c42e414b5cc41cf585ed1885bc7e.jpeg","path":"b330c42e414b5cc41cf585ed1885bc7e.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.6,"min_quantity":1}],"weight":"360","compare_at_price":"25.6","price":"25.6","retail_price":"25.6","available":true,"url":"\/products\/sayo-tomasyon-lapel-mesh-shirt-hollow-out-short-sleeved-fishnet-mens-striped-polo-shirt?variant=91f101d2-eb1e-4204-891e-b900f4e14f24","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":312};
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.