SAYO TOMASYON Printed Men's Crew Neck Casual T-shirt
${function() {
const variantData = data.variant || {"id":"7510a736-c112-409f-a52a-c6e6f5846b12","product_id":"a9ae2cb6-bd40-478e-8353-7b69ff31395a","title":"DT42 TC1106-S","weight_unit":"g","inventory_quantity":696,"sku":"","barcode":"","position":1,"option1":"DT42 TC1106","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1d65adb0df9afb14aa1a4aa09be9fe9.jpeg","path":"e1d65adb0df9afb14aa1a4aa09be9fe9.jpeg","width":719,"height":771,"alt":"","aspect_ratio":0.9325551232166018},"wholesale_price":[{"price":15.5,"min_quantity":1}],"weight":"100","compare_at_price":"15.5","price":"15.5","retail_price":"15.5","available":true,"url":"\/products\/sayo-tomasyon-printed-mens-crew-neck-casual-t-shirt?variant=7510a736-c112-409f-a52a-c6e6f5846b12","available_quantity":999999999,"options":[{"name":"Color","value":"DT42 TC1106"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":693};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
DT42 TC1106
${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
$15.50
${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":"7510a736-c112-409f-a52a-c6e6f5846b12","product_id":"a9ae2cb6-bd40-478e-8353-7b69ff31395a","title":"DT42 TC1106-S","weight_unit":"g","inventory_quantity":696,"sku":"","barcode":"","position":1,"option1":"DT42 TC1106","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1d65adb0df9afb14aa1a4aa09be9fe9.jpeg","path":"e1d65adb0df9afb14aa1a4aa09be9fe9.jpeg","width":719,"height":771,"alt":"","aspect_ratio":0.9325551232166018},"wholesale_price":[{"price":15.5,"min_quantity":1}],"weight":"100","compare_at_price":"15.5","price":"15.5","retail_price":"15.5","available":true,"url":"\/products\/sayo-tomasyon-printed-mens-crew-neck-casual-t-shirt?variant=7510a736-c112-409f-a52a-c6e6f5846b12","available_quantity":999999999,"options":[{"name":"Color","value":"DT42 TC1106"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":693};
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.