PLUS LOFTS Bicycle Bag Waterproof Front Beam Bag Riding Bag Front Bag Mountain Bike Top Tube Bag
${function() {
const variantData = data.variant || {"id":"24047ce6-fdcd-477e-927c-06e8100f9ce9","product_id":"2767c16d-51fc-4780-ba6d-b8ad5585dc4e","title":"Carbon black-6.0 inch","weight_unit":"g","inventory_quantity":635,"sku":"","barcode":"","position":1,"option1":"Carbon black","option2":"6.0 inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d7d8b72d8f274ab92b7e58e6455c076.png","path":"1d7d8b72d8f274ab92b7e58e6455c076.png","width":417,"height":422,"alt":"","aspect_ratio":0.9881516587677726},"wholesale_price":[{"price":27.5,"min_quantity":1}],"weight":"290","compare_at_price":"50","price":"27.5","retail_price":"50","available":true,"url":"\/products\/plus-lofts-bicycle-bag-waterproof-front-beam-bag-riding-bag-front-bag-mountain-bike-top-tube-bag?variant=24047ce6-fdcd-477e-927c-06e8100f9ce9","available_quantity":999999999,"options":[{"name":"Color","value":"Carbon black"},{"name":"Size","value":"6.0 inch"}],"off_ratio":45,"flashsale_info":[],"sales":296};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Carbon 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:
6.0 inch
${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
$27.50
${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":"24047ce6-fdcd-477e-927c-06e8100f9ce9","product_id":"2767c16d-51fc-4780-ba6d-b8ad5585dc4e","title":"Carbon black-6.0 inch","weight_unit":"g","inventory_quantity":635,"sku":"","barcode":"","position":1,"option1":"Carbon black","option2":"6.0 inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d7d8b72d8f274ab92b7e58e6455c076.png","path":"1d7d8b72d8f274ab92b7e58e6455c076.png","width":417,"height":422,"alt":"","aspect_ratio":0.9881516587677726},"wholesale_price":[{"price":27.5,"min_quantity":1}],"weight":"290","compare_at_price":"50","price":"27.5","retail_price":"50","available":true,"url":"\/products\/plus-lofts-bicycle-bag-waterproof-front-beam-bag-riding-bag-front-bag-mountain-bike-top-tube-bag?variant=24047ce6-fdcd-477e-927c-06e8100f9ce9","available_quantity":999999999,"options":[{"name":"Color","value":"Carbon black"},{"name":"Size","value":"6.0 inch"}],"off_ratio":45,"flashsale_info":[],"sales":296};
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.