Post by OpenCode » Sat Nov 17, 2018 1:37 pm

Is there any way we can include the related products to the product ordered in the - order email confirmation - sent to the customer when the order is placed.
or if anyone knows where we can retrieve them from the database an or which files need to be modified in order to achieve this require need.
PS: I searched the forum but it seems this question has not been asked.

Thank you

New member

Posts

Joined
Fri Jun 07, 2013 9:31 am

Post by Sg_Developer » Sat Nov 17, 2018 8:03 pm

You Need to fetch data of related products
find out this code and use it .
catalog\controller\product\product.php
Line number 407,
$this->load->model('catalog/product');
$results = $this->model_catalog_product->getProductRelated($this->request->get['product_id']);
this will help you fetch related products.
you need to create a mail structure in catalog\model\checkout\order.php
Thanks

Newbie

Posts

Joined
Sun Aug 20, 2017 2:29 pm
Who is online

Users browsing this forum: sidclel and 88 guests