GAR BETHE Men's Fashion Casual Long Sleeve Round Neck Slim-fit Jumper
${function() {
const variantData = data.variant || {"id":"dea3ace7-3ec4-4a47-b846-9e8f82a1e1f9","product_id":"ca4744d2-0add-44a4-907c-85eb0d57b559","title":"Figure 1-S","weight_unit":"g","inventory_quantity":661,"sku":"","barcode":"","position":1,"option1":"Figure 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a09c39ff7aa445316480c79302f7152.jpeg","path":"7a09c39ff7aa445316480c79302f7152.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.2,"min_quantity":1}],"weight":"320","compare_at_price":"35.7","price":"23.2","retail_price":"35.7","available":true,"url":"\/products\/gar-bethe-mens-fashion-casual-long-sleeve-round-neck-slim-fit-jumper?variant=dea3ace7-3ec4-4a47-b846-9e8f82a1e1f9","available_quantity":999999999,"options":[{"name":"Color","value":"Figure 1"},{"name":"size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":589};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Figure 1
${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
$23.20
${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":"dea3ace7-3ec4-4a47-b846-9e8f82a1e1f9","product_id":"ca4744d2-0add-44a4-907c-85eb0d57b559","title":"Figure 1-S","weight_unit":"g","inventory_quantity":661,"sku":"","barcode":"","position":1,"option1":"Figure 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a09c39ff7aa445316480c79302f7152.jpeg","path":"7a09c39ff7aa445316480c79302f7152.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.2,"min_quantity":1}],"weight":"320","compare_at_price":"35.7","price":"23.2","retail_price":"35.7","available":true,"url":"\/products\/gar-bethe-mens-fashion-casual-long-sleeve-round-neck-slim-fit-jumper?variant=dea3ace7-3ec4-4a47-b846-9e8f82a1e1f9","available_quantity":999999999,"options":[{"name":"Color","value":"Figure 1"},{"name":"size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":589};
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.