BEYON NN 2024 Summer Men's Solid Color Casual Long Sleeved Shirt Hooded Drawstring Cotton Linen Cardigan Trendy Loose Beach T-shirt
${function() {
const variantData = data.variant || {"id":"3dfbc5b1-4e64-48e4-b7fb-8a68e1470e2c","product_id":"3e994067-4779-4230-b170-3b4cc75e5306","title":"black-S","weight_unit":"g","inventory_quantity":730,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de274acfab7e9e0179aff6e1b4d0a69e.jpeg","path":"de274acfab7e9e0179aff6e1b4d0a69e.jpeg","width":679,"height":831,"alt":"","aspect_ratio":0.8170878459687124},"wholesale_price":[{"price":20.9,"min_quantity":1}],"weight":"227","compare_at_price":"20.9","price":"20.9","retail_price":"20.9","available":true,"url":"\/products\/beyon-nn-2024-summer-mens-solid-color-casual-long-sleeved-shirt-hooded-drawstring-cotton-linen-cardigan-trendy-loose-beach-t-shirt?variant=3dfbc5b1-4e64-48e4-b7fb-8a68e1470e2c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":384};
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:
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
$20.90
${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":"3dfbc5b1-4e64-48e4-b7fb-8a68e1470e2c","product_id":"3e994067-4779-4230-b170-3b4cc75e5306","title":"black-S","weight_unit":"g","inventory_quantity":730,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de274acfab7e9e0179aff6e1b4d0a69e.jpeg","path":"de274acfab7e9e0179aff6e1b4d0a69e.jpeg","width":679,"height":831,"alt":"","aspect_ratio":0.8170878459687124},"wholesale_price":[{"price":20.9,"min_quantity":1}],"weight":"227","compare_at_price":"20.9","price":"20.9","retail_price":"20.9","available":true,"url":"\/products\/beyon-nn-2024-summer-mens-solid-color-casual-long-sleeved-shirt-hooded-drawstring-cotton-linen-cardigan-trendy-loose-beach-t-shirt?variant=3dfbc5b1-4e64-48e4-b7fb-8a68e1470e2c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":384};
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":"3dfbc5b1-4e64-48e4-b7fb-8a68e1470e2c","product_id":"3e994067-4779-4230-b170-3b4cc75e5306","title":"black-S","weight_unit":"g","inventory_quantity":730,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de274acfab7e9e0179aff6e1b4d0a69e.jpeg","path":"de274acfab7e9e0179aff6e1b4d0a69e.jpeg","width":679,"height":831,"alt":"","aspect_ratio":0.8170878459687124},"wholesale_price":[{"price":20.9,"min_quantity":1}],"weight":"227","compare_at_price":"20.9","price":"20.9","retail_price":"20.9","available":true,"url":"\/products\/beyon-nn-2024-summer-mens-solid-color-casual-long-sleeved-shirt-hooded-drawstring-cotton-linen-cardigan-trendy-loose-beach-t-shirt?variant=3dfbc5b1-4e64-48e4-b7fb-8a68e1470e2c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":384};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}