Jump to content

deliveryslip PDF, adding quantity total ?


Recommended Posts

Hi There, i am using Prestashop 1.3.7

 

it runs perfectly, however i want one simple change to deliveryslip...

 

i want to show the total quantity of products on each slip...

 

so if there is

 

1 DVD

2 Blu-Ray

1 More DVD

 

the deliveryslip should have a text on the bottom (footer) with the total of 4 products...

 

i know how to add the line... but how to get the info ?

 

the line should be like this:

 

$this->Cell(190, 5, ' '."\n".'Products Count total: '."$remaining", 'T', 1, 'R');

 

$remaining var should contain ProductsCountTotal... (not amount but quantity)

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