How can we add non-matrix Items to the Cart from the Listing Pages like Brand, Theme, Search, Department, Category etc with out actually navigating to the Product Page?
Many of the Repeat buy Customers would like a one click shopping experience.
{ns:printProductQuantity} will render the quantity (with units of measure if they’re in use).
Adding an input/select would involve a little coding. You can see the JS function addToBasket and the accompanying form are defined within the listing template as follows (if it isn’t present, you should add it!):
You would then need to modify the addToBasket function so that it takes a quantity variable and sets the hidden quantity input before submitting the form.
We can add this for you if you like, but it would involve paid implementation time so I would need to pass it on to the design team.
Thanks a lot Donogh, i made it work. I wouldn’t need to add any Quantity option. I just need the ability to add to the cart. The users can modify the quantity in the shopping cart if they need.
One last question though.
On a regular product page, when we add the item to the cart we get a pop up on the right bottom saying Product has been added to the cart.
How can we replicate that on the Product Listing page also? This is a cool feature and provides that extra confirmation to the user.
It’s not currently possible to add matrix items from the listing page but our development team are working on a “Quick View” feature which will be released to beta in the coming weeks.