Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
I have a requirement to pick up a value stored in the ac_customfields table for an order shipment and display it in an email. Is there such a thing as $shipment.CustomFields ? I found code on how to change AC source code on http://forums.ablecommer...pic.php?f=65&t=17413 but this customer doesn't have the source code. Thanks
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System Joined: 10/11/2018(UTC) Posts: 110
Thanks: 19 times Was thanked: 18 time(s) in 18 post(s)
|
Hi Judy, There is no such thing on order shipments. You have to customize the code to make the custom fields available in email. However, you can use the $orderItem.CustomFields to display order related custom fields in email template if that helps. For example, Code:#foreach($item in $orderItem.CustomFields)
<b>$item.Key: $item.Value</b><br />
#end
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close