PLUS LOFTS Mountain Biking Hiking Outdoor Bag
${function() {
const variantData = data.variant || {"id":"92446ed1-c5db-499c-adef-5b3f382250aa","product_id":"dd6d0a57-f1de-4e8f-83d2-ff3a5affaafb","title":"Purple","weight_unit":"g","inventory_quantity":686,"sku":"","barcode":"","position":1,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac705aba2abe591614fb7d3d8c08242a.jpeg","path":"ac705aba2abe591614fb7d3d8c08242a.jpeg","width":310,"height":248,"alt":"","aspect_ratio":1.25},"wholesale_price":[{"price":22.6,"min_quantity":1}],"weight":"470","compare_at_price":"34.8","price":"22.6","retail_price":"34.8","available":true,"url":"\/products\/plus-lofts-mountain-biking-hiking-outdoor-bag?variant=92446ed1-c5db-499c-adef-5b3f382250aa","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"}],"off_ratio":35,"flashsale_info":[],"sales":517};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Purple
${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
$22.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":"92446ed1-c5db-499c-adef-5b3f382250aa","product_id":"dd6d0a57-f1de-4e8f-83d2-ff3a5affaafb","title":"Purple","weight_unit":"g","inventory_quantity":686,"sku":"","barcode":"","position":1,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac705aba2abe591614fb7d3d8c08242a.jpeg","path":"ac705aba2abe591614fb7d3d8c08242a.jpeg","width":310,"height":248,"alt":"","aspect_ratio":1.25},"wholesale_price":[{"price":22.6,"min_quantity":1}],"weight":"470","compare_at_price":"34.8","price":"22.6","retail_price":"34.8","available":true,"url":"\/products\/plus-lofts-mountain-biking-hiking-outdoor-bag?variant=92446ed1-c5db-499c-adef-5b3f382250aa","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"}],"off_ratio":35,"flashsale_info":[],"sales":517};
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.