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
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
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
Who is online
Users browsing this forum: sidclel and 88 guests