Jump to content

[PS 1.6.1.24] product quantity


Guest
 Share

Recommended Posts

Hi to all.
I'm solving a small problem.
I can't get the number of products on the product detail page into a parameter.

I have a hook hookDisplayProductPriceBlock and I need to get the value Tools::getValue('qty');

In Prestashop 1.7 it returns the value to me correctly, in Prestashop 1.6 it still returns the value = 1, no matter how many I change.

Has anyone solved it?

Thank you

obrazek.png.9786b2dd818ab300a4afe9dbe01bf374.png

obrazek.png.17d7c8c1afbc836afef35e1008c36647.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More