GAR BETHE New Autumn Men's Sweater Cardigan Brand Fashion Slim Fit Solid Knitted Cardigan Men Casual Knit Sweater Coats Mens Clothing 2024
${function() {
const variantData = data.variant || {"id":"e8095e00-284d-4767-affe-d8b458c6d93d","product_id":"6d616a2e-ef08-47be-bb87-5daf825868a3","title":"black-M","weight_unit":"kg","inventory_quantity":959,"sku":"","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f9ff48764c43dc3000ac17182770cd9.jpeg","path":"2f9ff48764c43dc3000ac17182770cd9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.9,"min_quantity":1}],"weight":"0.5","compare_at_price":"37","price":"25.9","retail_price":"37","available":true,"url":"\/products\/gar-bethe-new-autumn-mens-sweater-cardigan-brand-fashion-slim-fit-solid-knitted-cardigan-men-casual-knit-sweater-coats-mens-clothing-2024?variant=e8095e00-284d-4767-affe-d8b458c6d93d","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":605};
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
$25.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":"e8095e00-284d-4767-affe-d8b458c6d93d","product_id":"6d616a2e-ef08-47be-bb87-5daf825868a3","title":"black-M","weight_unit":"kg","inventory_quantity":959,"sku":"","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f9ff48764c43dc3000ac17182770cd9.jpeg","path":"2f9ff48764c43dc3000ac17182770cd9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.9,"min_quantity":1}],"weight":"0.5","compare_at_price":"37","price":"25.9","retail_price":"37","available":true,"url":"\/products\/gar-bethe-new-autumn-mens-sweater-cardigan-brand-fashion-slim-fit-solid-knitted-cardigan-men-casual-knit-sweater-coats-mens-clothing-2024?variant=e8095e00-284d-4767-affe-d8b458c6d93d","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":605};
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.