GAR BETHE Sweater Men's Half Turtleneck Solid Color Trend Knitwear Line Clothing Spring And Autumn Personalized Base Shirt Collar 2024 New
${function() {
const variantData = data.variant || {"id":"5a5b1d82-6318-4c7a-a1a2-956c2406240e","product_id":"911b11fc-697a-4e99-83e2-3ee2a0c341cf","title":"Creamy-white-M 45 kg-57.50 kg","weight_unit":"kg","inventory_quantity":672,"sku":"","barcode":"","position":1,"option1":"Creamy-white","option2":"M 45 kg-57.50 kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5388a5b29ac8e05bba1cc916296ff7b.jpeg","path":"c5388a5b29ac8e05bba1cc916296ff7b.jpeg","width":480,"height":480,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.6,"min_quantity":1}],"weight":"0.4","compare_at_price":"46.5","price":"25.6","retail_price":"46.5","available":true,"url":"\/products\/gar-bethe-sweater-mens-half-turtleneck-solid-color-trend-knitwear-line-clothing-spring-and-autumn-personalized-base-shirt-collar-2024-new-skxr?variant=5a5b1d82-6318-4c7a-a1a2-956c2406240e","available_quantity":999999999,"options":[{"name":"color","value":"Creamy-white"},{"name":"size","value":"M 45 kg-57.50 kg"}],"off_ratio":45,"flashsale_info":[],"sales":107};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Creamy-white
${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 45 kg-57.50 kg
${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.60
${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":"5a5b1d82-6318-4c7a-a1a2-956c2406240e","product_id":"911b11fc-697a-4e99-83e2-3ee2a0c341cf","title":"Creamy-white-M 45 kg-57.50 kg","weight_unit":"kg","inventory_quantity":672,"sku":"","barcode":"","position":1,"option1":"Creamy-white","option2":"M 45 kg-57.50 kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5388a5b29ac8e05bba1cc916296ff7b.jpeg","path":"c5388a5b29ac8e05bba1cc916296ff7b.jpeg","width":480,"height":480,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.6,"min_quantity":1}],"weight":"0.4","compare_at_price":"46.5","price":"25.6","retail_price":"46.5","available":true,"url":"\/products\/gar-bethe-sweater-mens-half-turtleneck-solid-color-trend-knitwear-line-clothing-spring-and-autumn-personalized-base-shirt-collar-2024-new-skxr?variant=5a5b1d82-6318-4c7a-a1a2-956c2406240e","available_quantity":999999999,"options":[{"name":"color","value":"Creamy-white"},{"name":"size","value":"M 45 kg-57.50 kg"}],"off_ratio":45,"flashsale_info":[],"sales":107};
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.