SAYO TOMASYON High Street Niche Design Double Zipper Patchwork Turtleneck Hooded Pullover Tops
${function() {
const variantData = data.variant || {"id":"9af08621-30a3-4581-b83b-4e29bf204e06","product_id":"08410c06-f5a1-4cc5-95a4-a8d2d42248f6","title":"Black-M","weight_unit":"g","inventory_quantity":733,"sku":"","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdf2ffad701661606517ef16034b0446.jpeg","path":"bdf2ffad701661606517ef16034b0446.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.7,"min_quantity":1}],"weight":"770","compare_at_price":"44.7","price":"44.7","retail_price":"44.7","available":true,"url":"\/products\/sayo-tomasyon-high-street-niche-design-double-zipper-patchwork-turtleneck-hooded-pullover-tops?variant=9af08621-30a3-4581-b83b-4e29bf204e06","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":497};
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
$44.70
${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":"9af08621-30a3-4581-b83b-4e29bf204e06","product_id":"08410c06-f5a1-4cc5-95a4-a8d2d42248f6","title":"Black-M","weight_unit":"g","inventory_quantity":733,"sku":"","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdf2ffad701661606517ef16034b0446.jpeg","path":"bdf2ffad701661606517ef16034b0446.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.7,"min_quantity":1}],"weight":"770","compare_at_price":"44.7","price":"44.7","retail_price":"44.7","available":true,"url":"\/products\/sayo-tomasyon-high-street-niche-design-double-zipper-patchwork-turtleneck-hooded-pullover-tops?variant=9af08621-30a3-4581-b83b-4e29bf204e06","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":497};
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.