SentiJB Posted April 10, 2021 Share Posted April 10, 2021 anyone can point out where this is defined ? case self::ORDER_FAILED: // Email the customer to explain their order failed fraud review $content = $mailer->loadContent('cart.payment_fraud', $order_summary['lang'], $this->_order_summary); break; case self::ORDER_CANCELLED: // Cancelled $content = $mailer->loadContent('cart.order_cancelled', $order_summary['lang'], $this->_order_summary); break; Link to comment Share on other sites More sharing options...
bsmither Posted April 10, 2021 Share Posted April 10, 2021 Defined? What specifically? The code can be found in /classes/order.class.php, public function orderStatus(). The self::ORDER_FAILED, etc, is defined at the beginning of the class file. Link to comment Share on other sites More sharing options...
SentiJB Posted April 10, 2021 Author Share Posted April 10, 2021 Quote What specifically? loadContent('cart.payment_fraud' loadContent('cart.order_cancelled' meant , where is defined for sending the different emails to customers depending on the case Link to comment Share on other sites More sharing options...
bsmither Posted April 11, 2021 Share Posted April 11, 2021 During installation, CubeCart copies the contents of /language/email_en-GB.xml into the database. For each additional language pack installed, the contents of email_xx-XX.xml are copied into the database. To change the contents of any specific email content, in admin, Email Templates, Email Contents tab, click the flag of the template you wish to edit. Link to comment Share on other sites More sharing options...
SentiJB Posted April 11, 2021 Author Share Posted April 11, 2021 11 hours ago, bsmither said: During installation, CubeCart copies the contents of /language/email_en-GB.xml into the database. For each additional language pack installed, the contents of email_xx-XX.xml are copied into the database. To change the contents of any specific email content, in admin, Email Templates, Email Contents tab, click the flag of the template you wish to edit. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.