Women's Hoodies Lamb Velvet Loose Drawstring Pocket Long Sleeve Casual Sweatshirts
${function() {
const variantData = data.variant || {"id":"f33c82c1-ff83-4a23-94ee-f72335e4cc36","product_id":"a9dd9ab9-8071-4574-a5da-963a0bc7d22d","title":"Beige-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-631154972937-Apri-M","barcode":"","position":1,"option1":"Beige","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f5161189ef5b1166cddf66242454cf4a.jpeg","path":"f5161189ef5b1166cddf66242454cf4a.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.49,"min_quantity":1}],"weight":"0.35","compare_at_price":"29.99","price":"34.49","retail_price":"29.99","available":true,"url":"\/products\/womens-hoodies-lamb-velvet-loose-drawstring-pocket-long-sleeve-casual-sweatshirts-lmcx?variant=f33c82c1-ff83-4a23-94ee-f72335e4cc36","available_quantity":1000,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Beige
${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
$34.49
${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":"f33c82c1-ff83-4a23-94ee-f72335e4cc36","product_id":"a9dd9ab9-8071-4574-a5da-963a0bc7d22d","title":"Beige-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-631154972937-Apri-M","barcode":"","position":1,"option1":"Beige","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f5161189ef5b1166cddf66242454cf4a.jpeg","path":"f5161189ef5b1166cddf66242454cf4a.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.49,"min_quantity":1}],"weight":"0.35","compare_at_price":"29.99","price":"34.49","retail_price":"29.99","available":true,"url":"\/products\/womens-hoodies-lamb-velvet-loose-drawstring-pocket-long-sleeve-casual-sweatshirts-lmcx?variant=f33c82c1-ff83-4a23-94ee-f72335e4cc36","available_quantity":1000,"options":[{"name":"Color","value":"Beige"},{"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.