SAYO TOMASYON Men's Pure Cotton Printed Particle Pixel Retro Short Sleeves
${function() {
const variantData = data.variant || {"id":"c7e911a9-c9b7-4d88-925a-16c7b7c85c24","product_id":"7997153d-9503-444e-9f0f-c7d74b2380e5","title":"White-S","weight_unit":"g","inventory_quantity":822,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/688789a0fadd1a6930c1e600e6d11643.jpeg","path":"688789a0fadd1a6930c1e600e6d11643.jpeg","width":750,"height":759,"alt":"","aspect_ratio":0.9881422924901185},"wholesale_price":[{"price":25.2,"min_quantity":1}],"weight":"250","compare_at_price":"25.2","price":"25.2","retail_price":"25.2","available":true,"url":"\/products\/sayo-tomasyon-mens-pure-cotton-printed-particle-pixel-retro-short-sleeves?variant=c7e911a9-c9b7-4d88-925a-16c7b7c85c24","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":185};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
White
${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.20
${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":"c7e911a9-c9b7-4d88-925a-16c7b7c85c24","product_id":"7997153d-9503-444e-9f0f-c7d74b2380e5","title":"White-S","weight_unit":"g","inventory_quantity":822,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/688789a0fadd1a6930c1e600e6d11643.jpeg","path":"688789a0fadd1a6930c1e600e6d11643.jpeg","width":750,"height":759,"alt":"","aspect_ratio":0.9881422924901185},"wholesale_price":[{"price":25.2,"min_quantity":1}],"weight":"250","compare_at_price":"25.2","price":"25.2","retail_price":"25.2","available":true,"url":"\/products\/sayo-tomasyon-mens-pure-cotton-printed-particle-pixel-retro-short-sleeves?variant=c7e911a9-c9b7-4d88-925a-16c7b7c85c24","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":185};
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.