Jump to content

Customizing the mailalerts.php


Recommended Posts

Hi,

I'm trying to customize the order_conf.html mail template by adding some more content into the e-mail. In this new order_conf.html, I've added 3 variables which are located in the "product" table in the MYSQL database. I'm trying to define these variables in the mailalerts.php with no success. I've used the following which I've added to the "$templateVars = array":

'{variable1}' => $product->variable1,
'{variable2}' => $product->variable2,
'{variable3}' => $product->variable3,

Anyone know what I'm doing wrong? Or not doing? Please help. Thanks.

Trent

Link to comment
Share on other sites

No takers? I'm just trying to add 3 variables to the mailalerts.php. It doesn't seem like it should be that big a deal, but apparently it is. I'm still not terribly familiar with the logic around Prestashop and I'm probably missing another file somewhere that I need to define the 3 variables as well. For the life of me, I can't find it. I'm totally stumped.

Link to comment
Share on other sites

Congratulations on the release of version 1.1 Final. Is there any chance you can tell me how to pull 3 variables from the product table to be included in the order_detail page? I know how busy you all are but I would really really appreciate any product support you could give in this matter. Thanks.

Link to comment
Share on other sites

×
×
  • Create New...