Page 2 of 2

Re: Questions emails not sent

Posted: 26 Aug 2025, 12:02
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)

Re: Questions emails not sent

Posted: 26 Aug 2025, 12:07
by Jan
Installing now Phoca Cart 5.2.0 on fresh Joomla 5.3.3, I see no problem there:

Image

Jan

Re: Questions emails not sent

Posted: 26 Aug 2025, 13:28
by landed
Image

Re: Questions emails not sent

Posted: 26 Aug 2025, 13:41
by Benno

Re: Questions emails not sent

Posted: 26 Aug 2025, 14:35
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

Re: Questions emails not sent

Posted: 26 Aug 2025, 15:12
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

Re: Questions emails not sent

Posted: 26 Aug 2025, 15:53
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