Cart item limit notice
- nowherenowhere
-
Topic Author
- Offline
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4
Hi Guys,
I have set a limit of 1 on items per cart, how do I notify the user? for example the limit is 1. They add an item - they are sent to the checkout, but what if they go back into the store and want to add a new item... I need a notice that tells them the limit is reached - is that possible?
TX
Believe in Better
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
You should automatically have a ''limit is reached" error message, if you don't have it, it's probably because :
- You didn't correctly configured your cart/product
- you have a template issue, so you'll probably find the solution there :
HikaShop uses the core Joomla messaging system to display messages on your website so if you don't see any message when you don't enter correct information during the checkout process, that's probably because your Joomla template does not contain the tag to display Joomla messages: <jdoc:include type="message" />
Please Log in or Create an account to join the conversation.
I'm having the same issue.
I'm on the latest Hikashop Biz and Joomla 3.
I've set in the config:
- Maximum number of items in the cart: 1
- Notice popup display time: 1000
I get notices for all other messages, just nothing for the cart item limit. It redirects to the cart where the existing item is.
Anything else needed to be done for this to work?
Thanks
Please Log in or Create an account to join the conversation.
- nowherenowhere
-
Topic Author
- Offline
Believe in Better
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you both check that the "Use AJAX when possible for add to cart buttons" option via "Hikashop->System->Configuration->Main"
Thanks.
Please Log in or Create an account to join the conversation.
- nowherenowhere
-
Topic Author
- Offline
Yeah man, that is checked... and most of the time the ajax works - just this notice doesnt show up... I dont know why. If you want access to the site to check it out, please let me know.
Believe in Better
Please Log in or Create an account to join the conversation.
It also stopped me from adding items to my cart when an item existed with the order limit being reached.
Please Log in or Create an account to join the conversation.
- nowherenowhere
-
Topic Author
- Offline
Believe in Better
Please Log in or Create an account to join the conversation.