Post by Jansuh » Sat Mar 23, 2024 5:48 pm

Hi there,

I am running opencart 3.0.3.9, default theme php 8.1. When i receive a new order the admin gets an email but it is far less detailed from the mails i received in opencart 2.3.0.2.
I went online and found this https://www.damiencarbery.com/2020/07/a ... ert-email/ website that seems to have the solution but when i upload the xml to my vqmod/xml directory it does not work, i still get the standard email with less info.

Anybody who can help me out or point me in the right direction?
Last edited by Jansuh on Sun Mar 24, 2024 7:08 pm, edited 1 time in total.

New member

Posts

Joined
Fri Apr 20, 2018 8:13 pm


Post by Jansuh » Sat Mar 23, 2024 6:14 pm

Found in the xml a path to different theme

Code: Select all

<file name="catalog/view/theme/luxury/template/mail/order_alert.twig">
Changed to

Code: Select all

<file name="catalog/view/theme/default/template/mail/order_alert.twig">
but no effect.

New member

Posts

Joined
Fri Apr 20, 2018 8:13 pm


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Jansuh » Sun Mar 24, 2024 12:25 am

JNeuhoff wrote:
Sat Mar 23, 2024 9:44 pm
Check the vqmod log.
That is where i found the faulty path to the theme.

---------- Date: 2024-03-22 17:01:27 ~ IP : 80.115.170.95 ----------
REQUEST URI : /admin/index.php?route=extension/module/nitropack/warmup_stats&user_token=hd9hL7IUII7wts0TCrSkBvBfbkCaXl22&store_id=0
MOD DETAILS:
modFile : /home/pureandtim/domains/pureandtimeless.nl/public_html/vqmod/xml/customer-name-to-new-order-email.xml
id : Add customer name and address to email alert
version : 1.0
vqmver : 2.X
author : Damien Carbery
VQModObject::parseMods - Could not resolve path for [catalog/view/theme/luxury/template/mail/order_alert.twig] (SKIPPED)

----------------------------------------------------------------------
That is all in the logfile

New member

Posts

Joined
Fri Apr 20, 2018 8:13 pm


Post by Jansuh » Sun Mar 24, 2024 7:11 pm

Hi there, got it working by editing the files by hand. Don't know why vqmod isn't working.

Used this: viewtopic.php?t=201256#p711523

New member

Posts

Joined
Fri Apr 20, 2018 8:13 pm

Who is online

Users browsing this forum: No registered users and 19 guests