Lafaq MFC Autumn And Winter Casual Wear With Loose Pullover Long-sleeved Shirt Vintage Crew-neck Fashion Men's Hoodie
${function() {
const variantData = data.variant || {"id":"8a26cee3-646e-42db-a7ae-53f7a25b5cdb","product_id":"138e3906-84ee-42bb-bcac-59a5cbacd44d","title":"GRAY-M","weight_unit":"g","inventory_quantity":728,"sku":"","barcode":"","position":11,"option1":"GRAY","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4744f551af7c08f07cb2fbf9131deb4.jpeg","path":"c4744f551af7c08f07cb2fbf9131deb4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.8,"min_quantity":1}],"weight":"550","compare_at_price":"36.8","price":"36.8","retail_price":"36.8","available":true,"url":"\/products\/gand-lg-autumn-and-winter-casual-wear-with-loose-pullover-long-sleeved-shirt-vintage-crew-neck-fashion-mens-hoodie?variant=8a26cee3-646e-42db-a7ae-53f7a25b5cdb","available_quantity":999999999,"options":[{"name":"color","value":"GRAY"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":354};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
GRAY
${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
$36.80
${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":"8a26cee3-646e-42db-a7ae-53f7a25b5cdb","product_id":"138e3906-84ee-42bb-bcac-59a5cbacd44d","title":"GRAY-M","weight_unit":"g","inventory_quantity":728,"sku":"","barcode":"","position":11,"option1":"GRAY","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4744f551af7c08f07cb2fbf9131deb4.jpeg","path":"c4744f551af7c08f07cb2fbf9131deb4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.8,"min_quantity":1}],"weight":"550","compare_at_price":"36.8","price":"36.8","retail_price":"36.8","available":true,"url":"\/products\/gand-lg-autumn-and-winter-casual-wear-with-loose-pullover-long-sleeved-shirt-vintage-crew-neck-fashion-mens-hoodie?variant=8a26cee3-646e-42db-a7ae-53f7a25b5cdb","available_quantity":999999999,"options":[{"name":"color","value":"GRAY"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":354};
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.