PLUS LOFTS Messenger Bag Outdoor Waist Bag Leisure And More Kinetic Energy Men's Chest Bag Water Repellent
${function() {
const variantData = data.variant || {"id":"1aaa5d6c-ed72-491e-b4e8-e6a99fc7e192","product_id":"8a66ba6c-ee12-49df-af34-58974f6a0dec","title":"Brown","weight_unit":"g","inventory_quantity":762,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aca9d493154cf678bdecb9f1f32f88b9.jpeg","path":"aca9d493154cf678bdecb9f1f32f88b9.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.7,"min_quantity":1}],"weight":"170","compare_at_price":"34","price":"18.7","retail_price":"34","available":true,"url":"\/products\/plus-lofts-messenger-bag-outdoor-waist-bag-leisure-and-more-kinetic-energy-mens-chest-bag-water-repellent-gsz0?variant=1aaa5d6c-ed72-491e-b4e8-e6a99fc7e192","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"}],"off_ratio":45,"flashsale_info":[],"sales":801};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Brown
${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
$18.70
${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":"1aaa5d6c-ed72-491e-b4e8-e6a99fc7e192","product_id":"8a66ba6c-ee12-49df-af34-58974f6a0dec","title":"Brown","weight_unit":"g","inventory_quantity":762,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aca9d493154cf678bdecb9f1f32f88b9.jpeg","path":"aca9d493154cf678bdecb9f1f32f88b9.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.7,"min_quantity":1}],"weight":"170","compare_at_price":"34","price":"18.7","retail_price":"34","available":true,"url":"\/products\/plus-lofts-messenger-bag-outdoor-waist-bag-leisure-and-more-kinetic-energy-mens-chest-bag-water-repellent-gsz0?variant=1aaa5d6c-ed72-491e-b4e8-e6a99fc7e192","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"}],"off_ratio":45,"flashsale_info":[],"sales":801};
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.