SAYO TOMASYON New Halloween Men's Printed Shirt
${function() {
const variantData = data.variant || {"id":"7a4a858c-0d0c-4705-ae00-2567f6679725","product_id":"3e8c9f49-590e-4786-9d5e-58bed0eb3f10","title":"2257371style-5XL","weight_unit":"g","inventory_quantity":873,"sku":"","barcode":"","position":1,"option1":"2257371style","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0da404abfec465fc25732d6f1cfb9362.jpeg","path":"0da404abfec465fc25732d6f1cfb9362.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.6,"min_quantity":1}],"weight":"350","compare_at_price":"19.6","price":"19.6","retail_price":"19.6","available":true,"url":"\/products\/sayo-tomasyon-new-halloween-mens-printed-shirt?variant=7a4a858c-0d0c-4705-ae00-2567f6679725","available_quantity":999999999,"options":[{"name":"Color","value":"2257371style"},{"name":"size","value":"5XL"}],"off_ratio":0,"flashsale_info":[],"sales":481};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
2257371style
${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:
5XL
${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
$19.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":"7a4a858c-0d0c-4705-ae00-2567f6679725","product_id":"3e8c9f49-590e-4786-9d5e-58bed0eb3f10","title":"2257371style-5XL","weight_unit":"g","inventory_quantity":873,"sku":"","barcode":"","position":1,"option1":"2257371style","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0da404abfec465fc25732d6f1cfb9362.jpeg","path":"0da404abfec465fc25732d6f1cfb9362.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.6,"min_quantity":1}],"weight":"350","compare_at_price":"19.6","price":"19.6","retail_price":"19.6","available":true,"url":"\/products\/sayo-tomasyon-new-halloween-mens-printed-shirt?variant=7a4a858c-0d0c-4705-ae00-2567f6679725","available_quantity":999999999,"options":[{"name":"Color","value":"2257371style"},{"name":"size","value":"5XL"}],"off_ratio":0,"flashsale_info":[],"sales":481};
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.