Jump to content

Issue to get tax name and rate in version 1.7


PHPPRESTA

Recommended Posts

Hi Good Day

We are developing a custom module for prestashop 1.7. To get cart items in the cart using $products=$parms['cart']->getproducts (true):

Unable to retrieve taxname & rate in the array. Any ideas how to get tax details about each product?

Thank you  for any kind of help.

 

Edited by PHPPRESTA (see edit history)
Link to comment
Share on other sites

My advice as new developer it to download the code base to your computer.  using a good programming tool you should then be able to search for code within PS that already performs the function(s) you want.  Then you can use that classes function or create one of your own.  All the code is there, you just have to have way to find it.

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...