SAYO TOMASYON Gradient Retro Couple Undershirt T-shirt Top
${function() {
const variantData = data.variant || {"id":"578e9cfc-219e-48b3-9e84-3318e8518173","product_id":"2af3e0b1-ffef-47ad-8624-51392cf49700","title":"Black-M","weight_unit":"g","inventory_quantity":647,"sku":"","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1c8c1fc5f1959f854e5832b19a4e608.jpeg","path":"e1c8c1fc5f1959f854e5832b19a4e608.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"370","compare_at_price":"29","price":"29","retail_price":"29","available":true,"url":"\/products\/sayo-tomasyon-gradient-retro-couple-undershirt-t-shirt-top?variant=578e9cfc-219e-48b3-9e84-3318e8518173","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":125};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${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:
M
${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
$29.00
${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":"578e9cfc-219e-48b3-9e84-3318e8518173","product_id":"2af3e0b1-ffef-47ad-8624-51392cf49700","title":"Black-M","weight_unit":"g","inventory_quantity":647,"sku":"","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1c8c1fc5f1959f854e5832b19a4e608.jpeg","path":"e1c8c1fc5f1959f854e5832b19a4e608.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"370","compare_at_price":"29","price":"29","retail_price":"29","available":true,"url":"\/products\/sayo-tomasyon-gradient-retro-couple-undershirt-t-shirt-top?variant=578e9cfc-219e-48b3-9e84-3318e8518173","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":125};
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.