Questions emails not sent

Phoca Cart - complex e-commerce extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48932
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Questions emails not sent

Post by Jan »

Hi, is Phoca Cart system plugin instaleed on your website, did you install it from scratch? (Phoca Cart system plugin is a part of Phoca Cart package)
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48932
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Questions emails not sent

Post by Jan »

Installing now Phoca Cart 5.2.0 on fresh Joomla 5.3.3, I see no problem there:

Image

Jan
If you find Phoca extensions useful, please support the project
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 154
Joined: 15 Sep 2023, 10:51

Re: Questions emails not sent

Post by landed »

Image
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9827
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Questions emails not sent

Post by Benno »

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48932
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Questions emails not sent

Post by Jan »

Anyway, installing the system plugin is one part (it is even included in core package), the second part is the SQL query to create the mail template, see:
administrator/components/com_phocacart/install/sql/mysql/install.utf8.sql

It needs to be tested if these queries were run in database:

Code: Select all

INSERT INTO `#__mail_templates` (`template_id`, `extension`, `language`, `subject`, `body`, `htmlbody`, `attachments`, `params`) VALUES
    ('com_phocacart.watchdog', 'com_phocacart', '', 'COM_PHOCACART_EMAIL_WATCHDOG_SUBJECT', 'COM_PHOCACART_EMAIL_WATCHDOG_BODY', 'COM_PHOCACART_EMAIL_WATCHDOG_HTMLBODY', '', '{"tags":["user_name","user_username","user_email","products","product_title","product_sku","product_link","product_url","site_name","site_link","site_url"]}');
INSERT INTO `#__mail_templates` (`template_id`, `extension`, `language`, `subject`, `body`, `htmlbody`, `attachments`, `params`) VALUES
    ('com_phocacart.question', 'com_phocacart', '', 'COM_PHOCACART_EMAIL_QUESTION_SUBJECT', 'COM_PHOCACART_EMAIL_QUESTION_BODY', 'COM_PHOCACART_EMAIL_QUESTION_HTMLBODY', '', '{"tags":["name","email","phone","product_title","product_long_title","product_sku","product_link","product_url","category_title","category_long_title","category_link","category_url","site_name","site_link","site_url"]}');
INSERT INTO `#__mail_templates` (`template_id`, `extension`, `language`, `subject`, `body`, `htmlbody`, `attachments`, `params`) VALUES
    ('com_phocacart.question.admin', 'com_phocacart', '', 'COM_PHOCACART_EMAIL_QUESTION_ADMIN_SUBJECT', 'COM_PHOCACART_EMAIL_QUESTION_ADMIN_BODY', 'COM_PHOCACART_EMAIL_QUESTION_ADMIN_HTMLBODY', '', '{"tags":["name","email","phone","product_title","product_long_title","product_sku","product_link","product_url","category_title","category_long_title","category_link","category_url","site_name","site_link","site_url"]}');
if not, they need to be added manually into database, the #__ needs to be changed to your own database prefix (e.g. from #__ to jos_)

Jan
If you find Phoca extensions useful, please support the project
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 154
Joined: 15 Sep 2023, 10:51

Re: Questions emails not sent

Post by landed »

Benno wrote: 26 Aug 2025, 13:41 https://www.phoca.cz/download/99-phoca- ... s?start=60



Kind regards,
Benno
Install over top? TY
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9827
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Questions emails not sent

Post by Benno »

Hi,
Install over top? TY
yes, this is the Phoca Cart Sytem Plugin Jan asked for.
Jan wrote: 26 Aug 2025, 14:35 Anyway, installing the system plugin is one part (it is even included in core package), the second part is the SQL query to create the mail template, see:
administrator/components/com_phocacart/install/sql/mysql/install.utf8.sql

It needs to be tested if these queries were run in database:

Code: Select all

INSERT INTO `#__mail_templates` (`template_id`, `extension`, `language`, `subject`, `body`, `htmlbody`, `attachments`, `params`) VALUES
    ('com_phocacart.watchdog', 'com_phocacart', '', 'COM_PHOCACART_EMAIL_WATCHDOG_SUBJECT', 'COM_PHOCACART_EMAIL_WATCHDOG_BODY', 'COM_PHOCACART_EMAIL_WATCHDOG_HTMLBODY', '', '{"tags":["user_name","user_username","user_email","products","product_title","product_sku","product_link","product_url","site_name","site_link","site_url"]}');
INSERT INTO `#__mail_templates` (`template_id`, `extension`, `language`, `subject`, `body`, `htmlbody`, `attachments`, `params`) VALUES
    ('com_phocacart.question', 'com_phocacart', '', 'COM_PHOCACART_EMAIL_QUESTION_SUBJECT', 'COM_PHOCACART_EMAIL_QUESTION_BODY', 'COM_PHOCACART_EMAIL_QUESTION_HTMLBODY', '', '{"tags":["name","email","phone","product_title","product_long_title","product_sku","product_link","product_url","category_title","category_long_title","category_link","category_url","site_name","site_link","site_url"]}');
INSERT INTO `#__mail_templates` (`template_id`, `extension`, `language`, `subject`, `body`, `htmlbody`, `attachments`, `params`) VALUES
    ('com_phocacart.question.admin', 'com_phocacart', '', 'COM_PHOCACART_EMAIL_QUESTION_ADMIN_SUBJECT', 'COM_PHOCACART_EMAIL_QUESTION_ADMIN_BODY', 'COM_PHOCACART_EMAIL_QUESTION_ADMIN_HTMLBODY', '', '{"tags":["name","email","phone","product_title","product_long_title","product_sku","product_link","product_url","category_title","category_long_title","category_link","category_url","site_name","site_link","site_url"]}');
if not, they need to be added manually into database, the #__ needs to be changed to your own database prefix (e.g. from #__ to jos_)

Jan


Kind regards,
Benno
Post Reply