Skip to main content

Cart item limit notice

12 years 1 month ago #173553 by nowherenowhere
-- HikaShop version -- : 2.3.3
-- 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.

12 years 1 month ago #173567 by Mohamed Thelji
Hello,
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.

12 years 1 month ago #173671 by jacorr27
Replied by jacorr27 on topic Cart item limit notice
Hi Guys,

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.

12 years 1 month ago #173759 by nowherenowhere
Yep, same problem and its not because of messages - as if I take off the cart item limit when I add the product to cart I get the modal popup that says would you like to proceed to checkout or continue shopping... its something else... the reason why this notice doesnt appear - when the limit is set.

Believe in Better

Please Log in or Create an account to join the conversation.

12 years 1 month ago #173939 by Mohamed Thelji
Hello,
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.

12 years 1 month ago #173953 by nowherenowhere
Hi Mo,

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.

12 years 1 month ago - 12 years 1 month ago #173985 by jacorr27
Replied by jacorr27 on topic Cart item limit notice
All resolved when I turn the use AJAX off.

It also stopped me from adding items to my cart when an item existed with the order limit being reached.
Last edit: 12 years 1 month ago by jacorr27.

Please Log in or Create an account to join the conversation.

12 years 1 month ago #174031 by nowherenowhere
Ah very good :) I see now all sorted

Believe in Better

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum