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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


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 76 guests