AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: popustda on April 19, 2014, 07:04:08 AM

Title: Maximum Quantity per item problem
Post by: popustda on April 19, 2014, 07:04:08 AM
Hello guys,
I am having problems with error message not showing when a customer buys more items then allowed.
If i set "maximum qty" to 1 piece, and when a customer tries to order 2 pieces it puts only 1pc in a basket but there is no error message telling that only 1 piece is allowed.
Is this suppose to be like this or i am missing a translation because i cant find it.

I am also attaching a picture which i think is related to this problem but i cant say this for sure.

Please help me!
Title: Re: Maximum Quantity per item problem
Post by: abolabo on July 07, 2014, 06:18:30 AM
you found a bug.
 to fix it just replace file public_html/storefront/controller/pages/product/product.php by attached
Title: Re: Maximum Quantity per item problem
Post by: popustda on July 07, 2014, 06:32:06 AM
what kind of message should i get now cause i still have same problem?

thanks
Title: Re: Maximum Quantity per item problem
Post by: Basara on July 07, 2014, 06:41:46 AM
what kind of message should i get now cause i still have same problem?

thanks

Can you please clear AbanteCart cache in admin and try again? Thank You.
Title: Re: Maximum Quantity per item problem
Post by: abolabo on July 07, 2014, 09:06:46 AM
what kind of message should i get now cause i still have same problem?

thanks

your screenshot not related to message about quantity restriction. I sent you file that fixed message show (language definitions with key text_minimum and text_maximum). You can fix other warnings about missing definitions via admin menu system->language->definitions.
For ex. you have missing definition with key default_cod_payment_minimum_total. and As i understood you also have no  definitions with key text_minimum and text_maximum. Create it there and let me know about result.
Title: Re: Maximum Quantity per item problem
Post by: popustda on July 07, 2014, 09:20:21 AM
its working now. it shows message with limit amount of items below buy button, but still when inside the shopping basket, if you try to refresh amount larger then max allowed there is no warning text like it shows warning message if your total order amount is lower then minimum set.

thanks