Post by slenhartoc » Thu Jun 21, 2018 12:06 am

All,

I want to use the Location field on products, and have it included in the email that gets sent out after an order is made. Any suggestions on how to do this? It looks like location is available in the $products array from cart->getProducts() ??

Newbie

Posts

Joined
Thu Jun 21, 2018 12:00 am

Post by straightlight » Thu Jun 21, 2018 11:00 pm

It looks like location is available in the $products array from cart->getProducts() ??
If it is, then it is based on a contribution, not from the core. The location is NOT included in the $this->cart->getProducts() method from the system/library/cart/cart.php file.

In addition, no OC version has been posted. As a new forum user, please read the forum rules before creating a new topic.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 5 guests