Author Topic: Maximum Quantity per item problem  (Read 6317 times)

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Maximum Quantity per item problem
« 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!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Maximum Quantity per item problem
« Reply #1 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: Maximum Quantity per item problem
« Reply #2 on: July 07, 2014, 06:32:06 AM »
what kind of message should i get now cause i still have same problem?

thanks

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5798
  • Karma: +274/-2
    • View Profile
Re: Maximum Quantity per item problem
« Reply #3 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Maximum Quantity per item problem
« Reply #4 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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: Maximum Quantity per item problem
« Reply #5 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

 

Powered by SMFPacks Social Login Mod