Jump to content

[PS] product quantity


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



Link to comment
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
  • Create New...