SAYO TOMASYON Men's And Women's T-shirts Men's Movie T-shirts
${function() {
const variantData = data.variant || {"id":"9e424e8f-429f-4991-b9f0-eca1b62241af","product_id":"c5b99981-4867-4dcc-a3d2-483e2140797a","title":"TXX004 L","weight_unit":"g","inventory_quantity":790,"sku":"","barcode":"","position":1,"option1":"TXX004 L","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e214918b824a758a72e07b0023c4a09.jpeg","path":"0e214918b824a758a72e07b0023c4a09.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.9,"min_quantity":1}],"weight":"120","compare_at_price":"17.9","price":"17.9","retail_price":"17.9","available":true,"url":"\/products\/sayo-tomasyon-mens-and-womens-t-shirts-mens-movie-t-shirts?variant=9e424e8f-429f-4991-b9f0-eca1b62241af","available_quantity":999999999,"options":[{"name":"Size","value":"TXX004 L"}],"off_ratio":0,"flashsale_info":[],"sales":657};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
TXX004 L
${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
$17.90
${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":"9e424e8f-429f-4991-b9f0-eca1b62241af","product_id":"c5b99981-4867-4dcc-a3d2-483e2140797a","title":"TXX004 L","weight_unit":"g","inventory_quantity":790,"sku":"","barcode":"","position":1,"option1":"TXX004 L","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e214918b824a758a72e07b0023c4a09.jpeg","path":"0e214918b824a758a72e07b0023c4a09.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.9,"min_quantity":1}],"weight":"120","compare_at_price":"17.9","price":"17.9","retail_price":"17.9","available":true,"url":"\/products\/sayo-tomasyon-mens-and-womens-t-shirts-mens-movie-t-shirts?variant=9e424e8f-429f-4991-b9f0-eca1b62241af","available_quantity":999999999,"options":[{"name":"Size","value":"TXX004 L"}],"off_ratio":0,"flashsale_info":[],"sales":657};
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.