Ingvn - Stars Stick Cloth Embroidered hoodie hoodie women long-sleeved loose college style niche cardigan coat 2023 spring Autumn
${function() {
const variantData = data.variant || {"id":"77edea1a-ec7d-4de2-ac91-a185abc70923","product_id":"ce84378d-d629-4568-8f0e-a6890a9e2013","title":"1-M","weight_unit":"g","inventory_quantity":863,"sku":"45169402-1-m","barcode":"","position":1,"option1":"1","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d205e1d7d8282147d9635ef98897d432.jpeg","path":"d205e1d7d8282147d9635ef98897d432.jpeg","width":750,"height":1000,"alt":"Ingvn - Stars Stick Cloth Embroidered Hoodie Women Long-Sleeved Loose College Style Niche Cardigan","aspect_ratio":0.75},"wholesale_price":[{"price":53.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"53.99","retail_price":"0","available":true,"url":"\/products\/stars-stick-cloth-embroidered-hoodie-hoodie-women-long-sleeved-loose-college-style-niche-cardigan-coat-2023-spring-autumn?variant=77edea1a-ec7d-4de2-ac91-a185abc70923","available_quantity":863,"options":[{"name":"Color","value":"1"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const postageFreeAmount = 10;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
Color:
1
${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
$53.99
${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":"77edea1a-ec7d-4de2-ac91-a185abc70923","product_id":"ce84378d-d629-4568-8f0e-a6890a9e2013","title":"1-M","weight_unit":"g","inventory_quantity":863,"sku":"45169402-1-m","barcode":"","position":1,"option1":"1","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d205e1d7d8282147d9635ef98897d432.jpeg","path":"d205e1d7d8282147d9635ef98897d432.jpeg","width":750,"height":1000,"alt":"Ingvn - Stars Stick Cloth Embroidered Hoodie Women Long-Sleeved Loose College Style Niche Cardigan","aspect_ratio":0.75},"wholesale_price":[{"price":53.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"53.99","retail_price":"0","available":true,"url":"\/products\/stars-stick-cloth-embroidered-hoodie-hoodie-women-long-sleeved-loose-college-style-niche-cardigan-coat-2023-spring-autumn?variant=77edea1a-ec7d-4de2-ac91-a185abc70923","available_quantity":863,"options":[{"name":"Color","value":"1"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.
${function(){
const variantData = data.variant || {"id":"77edea1a-ec7d-4de2-ac91-a185abc70923","product_id":"ce84378d-d629-4568-8f0e-a6890a9e2013","title":"1-M","weight_unit":"g","inventory_quantity":863,"sku":"45169402-1-m","barcode":"","position":1,"option1":"1","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d205e1d7d8282147d9635ef98897d432.jpeg","path":"d205e1d7d8282147d9635ef98897d432.jpeg","width":750,"height":1000,"alt":"Ingvn - Stars Stick Cloth Embroidered Hoodie Women Long-Sleeved Loose College Style Niche Cardigan","aspect_ratio":0.75},"wholesale_price":[{"price":53.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"53.99","retail_price":"0","available":true,"url":"\/products\/stars-stick-cloth-embroidered-hoodie-hoodie-women-long-sleeved-loose-college-style-niche-cardigan-coat-2023-spring-autumn?variant=77edea1a-ec7d-4de2-ac91-a185abc70923","available_quantity":863,"options":[{"name":"Color","value":"1"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}