GAR BETHE Men 15.6 Laptop Backpack Anti Theft Backpack Usb Charging Women School Notebook Bag Oxford Waterproof Travel Backpack
${function() {
const variantData = data.variant || {"id":"ff016a5a-7f84-48bb-ae2e-66260c5656ef","product_id":"e2fc493e-64c8-4eeb-87c3-acc9d62e916e","title":"Red no logo","weight_unit":"g","inventory_quantity":808,"sku":"","barcode":"","position":1,"option1":"Red no logo","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57ebefb9949a8b58f1ea7d8cec02e595.png","path":"57ebefb9949a8b58f1ea7d8cec02e595.png","width":426,"height":413,"alt":"","aspect_ratio":1.0314769975786926},"wholesale_price":[{"price":43.6,"min_quantity":1}],"weight":"943","compare_at_price":"72.7","price":"43.6","retail_price":"72.7","available":true,"url":"\/products\/gar-bethe-men-15-6-laptop-backpack-anti-theft-backpack-usb-charging-women-school-notebook-bag-oxford-waterproof-travel-backpack?variant=ff016a5a-7f84-48bb-ae2e-66260c5656ef","available_quantity":999999999,"options":[{"name":"Color","value":"Red no logo"}],"off_ratio":40,"flashsale_info":[],"sales":370};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red no logo
${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}
`
}()}
Add to cart
$43.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":"ff016a5a-7f84-48bb-ae2e-66260c5656ef","product_id":"e2fc493e-64c8-4eeb-87c3-acc9d62e916e","title":"Red no logo","weight_unit":"g","inventory_quantity":808,"sku":"","barcode":"","position":1,"option1":"Red no logo","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57ebefb9949a8b58f1ea7d8cec02e595.png","path":"57ebefb9949a8b58f1ea7d8cec02e595.png","width":426,"height":413,"alt":"","aspect_ratio":1.0314769975786926},"wholesale_price":[{"price":43.6,"min_quantity":1}],"weight":"943","compare_at_price":"72.7","price":"43.6","retail_price":"72.7","available":true,"url":"\/products\/gar-bethe-men-15-6-laptop-backpack-anti-theft-backpack-usb-charging-women-school-notebook-bag-oxford-waterproof-travel-backpack?variant=ff016a5a-7f84-48bb-ae2e-66260c5656ef","available_quantity":999999999,"options":[{"name":"Color","value":"Red no logo"}],"off_ratio":40,"flashsale_info":[],"sales":370};
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.