PLUS LOFTS Men's Waist Bag Work Bag Multifunctional Men's Waist Sports Bag
${function() {
const variantData = data.variant || {"id":"7b8e2296-0cbd-45dc-b2b2-1c3455d1be5f","product_id":"66c16283-2b7f-48b4-8c79-4e3ce34e836f","title":"A","weight_unit":"g","inventory_quantity":738,"sku":"","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96875193eb1166a59900bfd4540b2256.jpeg","path":"96875193eb1166a59900bfd4540b2256.jpeg","width":803,"height":803,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.9,"min_quantity":1}],"weight":"120","compare_at_price":"23.2","price":"13.9","retail_price":"23.2","available":true,"url":"\/products\/plus-lofts-mens-waist-bag-work-bag-multifunctional-mens-waist-sports-bag-o3h5?variant=7b8e2296-0cbd-45dc-b2b2-1c3455d1be5f","available_quantity":999999999,"options":[{"name":"style","value":"A"}],"off_ratio":40,"flashsale_info":[],"sales":223};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
A
${function(){
const optName = "style";
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
$13.90
${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":"7b8e2296-0cbd-45dc-b2b2-1c3455d1be5f","product_id":"66c16283-2b7f-48b4-8c79-4e3ce34e836f","title":"A","weight_unit":"g","inventory_quantity":738,"sku":"","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96875193eb1166a59900bfd4540b2256.jpeg","path":"96875193eb1166a59900bfd4540b2256.jpeg","width":803,"height":803,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.9,"min_quantity":1}],"weight":"120","compare_at_price":"23.2","price":"13.9","retail_price":"23.2","available":true,"url":"\/products\/plus-lofts-mens-waist-bag-work-bag-multifunctional-mens-waist-sports-bag-o3h5?variant=7b8e2296-0cbd-45dc-b2b2-1c3455d1be5f","available_quantity":999999999,"options":[{"name":"style","value":"A"}],"off_ratio":40,"flashsale_info":[],"sales":223};
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.