I'm trying to get to the Warehouse object in on an email template.
$order.Shipments(0).Warehouse was my best guess, but it doesn't work. Can anyone post a nVelocity example that would access the warehouse object?
thanks
Ryan
getting Warehouse information on an email.
- ryanstowasser
- Lieutenant Commander (LCDR)
- Posts: 90
- Joined: Tue Oct 30, 2007 4:28 pm
- Contact:
getting Warehouse information on an email.
Ryan Stowasser (ablehelp@vortx.com)
Vortx Inc
Custom Development for AbleCommerce Solutions
Vortx is an AbleCommerce Development Partner
Vortx Inc
Custom Development for AbleCommerce Solutions
Vortx is an AbleCommerce Development Partner
Re: getting Warehouse information on an email.
Try
Code: Select all
$order.Shipments.getAt(0).Warehouse
- ryanstowasser
- Lieutenant Commander (LCDR)
- Posts: 90
- Joined: Tue Oct 30, 2007 4:28 pm
- Contact:
Re: getting Warehouse information on an email.
That was close, but didn't work. The syntax I found this morning that is working is:
You can access a specific item in an nVelocity Array using the get_Item() function.
Code: Select all
$order.Shipments.get_Item(0).Warehouse
Ryan Stowasser (ablehelp@vortx.com)
Vortx Inc
Custom Development for AbleCommerce Solutions
Vortx is an AbleCommerce Development Partner
Vortx Inc
Custom Development for AbleCommerce Solutions
Vortx is an AbleCommerce Development Partner