Support

picturepicture

Home | Solutions | Forums | Webinars | Contact

Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » Templates

Post new topic   Reply to topic
Print number of ordered items on packing list?
View previous topic :: View next topic  
Author Message
Keys



Joined: 17 Aug 2011
Posts: 82

PostPosted: Mon Nov 21, 2011 10:54 am    Post subject: Print number of ordered items on packing list? Reply with quote

I am wondering if anyone knows of the code to add up all the quantity of ordered items and show the total somewhere on the packing list.

For example, if someone orders 2 of one item, 3 of another and 1 of another, I would like to show that there are supposed to be 6 items in the box.

What I need to be able to do is add up the quantity column.

Any help is appreciated.

BTW, this really helps improve the quality of our pick and pack process.

Thanks

Bob
Back to top
View user's profile Visit poster's website
jl191



Joined: 09 May 2010
Posts: 52

PostPosted: Mon Nov 21, 2011 4:23 pm    Post subject: Reply with quote

Here is the code

Code:
<xsl:value-of select="sum($order/Item/Quantity)" />
Back to top
View user's profile
Keys



Joined: 17 Aug 2011
Posts: 82

PostPosted: Tue Nov 22, 2011 2:36 pm    Post subject: Reply with quote

Thank you!

Works perfectly!

Bob
Back to top
View user's profile Visit poster's website
qcom



Joined: 05 Dec 2011
Posts: 1

PostPosted: Mon Dec 05, 2011 12:31 pm    Post subject: Reply with quote

I'm new to this. Where in the template is this being added?
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » Templates All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group