PLUS LOFTS Compatible With Apple, Hamburg Tactical Chest Bag Ipad Riding Shoulder Bag Outdoor Messenger Bag Leisure Bag Four-use Backpack
${function() {
const variantData = data.variant || {"id":"fbffc2c0-a783-4a74-8904-f31bc7f3bdf3","product_id":"e1295947-7ffa-456f-abf6-d1c0a5e8e1ff","title":"A","weight_unit":"g","inventory_quantity":719,"sku":"","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/728eabed2d73936551b848c97f00a89f.jpeg","path":"728eabed2d73936551b848c97f00a89f.jpeg","width":540,"height":540,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.6,"min_quantity":1}],"weight":"570","compare_at_price":"42.9","price":"23.6","retail_price":"42.9","available":true,"url":"\/products\/plus-lofts-compatible-with-apple-hamburg-tactical-chest-bag-ipad-riding-shoulder-bag-outdoor-messenger-bag-leisure-bag-four-use-backpack?variant=fbffc2c0-a783-4a74-8904-f31bc7f3bdf3","available_quantity":999999999,"options":[{"name":"style","value":"A"}],"off_ratio":45,"flashsale_info":[],"sales":379};
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
$23.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":"fbffc2c0-a783-4a74-8904-f31bc7f3bdf3","product_id":"e1295947-7ffa-456f-abf6-d1c0a5e8e1ff","title":"A","weight_unit":"g","inventory_quantity":719,"sku":"","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/728eabed2d73936551b848c97f00a89f.jpeg","path":"728eabed2d73936551b848c97f00a89f.jpeg","width":540,"height":540,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.6,"min_quantity":1}],"weight":"570","compare_at_price":"42.9","price":"23.6","retail_price":"42.9","available":true,"url":"\/products\/plus-lofts-compatible-with-apple-hamburg-tactical-chest-bag-ipad-riding-shoulder-bag-outdoor-messenger-bag-leisure-bag-four-use-backpack?variant=fbffc2c0-a783-4a74-8904-f31bc7f3bdf3","available_quantity":999999999,"options":[{"name":"style","value":"A"}],"off_ratio":45,"flashsale_info":[],"sales":379};
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.