SAYO TOMASYON New Men's Printed 3d T-shirt Short Sleeve
${function() {
const variantData = data.variant || {"id":"1a17f37e-1bc1-40a4-a715-d149a6a4c861","product_id":"1e5d6a10-679f-4bcf-a2b8-3e7194c52d9b","title":"XCNZ187style-XS","weight_unit":"g","inventory_quantity":626,"sku":"","barcode":"","position":1,"option1":"XCNZ187style","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c6e9f63c251994502a7ad4c92eb2e537.jpeg","path":"c6e9f63c251994502a7ad4c92eb2e537.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"220","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/sayo-tomasyon-new-mens-printed-3d-t-shirt-short-sleeve?variant=1a17f37e-1bc1-40a4-a715-d149a6a4c861","available_quantity":999999999,"options":[{"name":"style","value":"XCNZ187style"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":152};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
XCNZ187style
${function(){
const optName = "style";
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:
XS
${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
$16.40
${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":"1a17f37e-1bc1-40a4-a715-d149a6a4c861","product_id":"1e5d6a10-679f-4bcf-a2b8-3e7194c52d9b","title":"XCNZ187style-XS","weight_unit":"g","inventory_quantity":626,"sku":"","barcode":"","position":1,"option1":"XCNZ187style","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c6e9f63c251994502a7ad4c92eb2e537.jpeg","path":"c6e9f63c251994502a7ad4c92eb2e537.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.4,"min_quantity":1}],"weight":"220","compare_at_price":"16.4","price":"16.4","retail_price":"16.4","available":true,"url":"\/products\/sayo-tomasyon-new-mens-printed-3d-t-shirt-short-sleeve?variant=1a17f37e-1bc1-40a4-a715-d149a6a4c861","available_quantity":999999999,"options":[{"name":"style","value":"XCNZ187style"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":152};
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.