The Back in Stock email functionality has been extended to support Ceon's implementation of Back in Stock. (Originally, only Larry Bislew's version was supported.)
The Back in Stock email functionality has been extended to support Ceon's implementation of Back in Stock. (Originally, only Larry Bislew's version was supported.)
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
build_gv_email() has a lot of undefined notices.
$css_lang_folder is undefined.
it really would be nice if this plugin did NOT generate error logs out of the box with a vanilla 157 install.
best.
Updated to fix notices. If you find any more please submit a PR.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
ZC 1.5.7
Bootstrap template with OPC
I am getting the following error when trying to preview "checkout email":
i am also getting this error when trying to preview "welcome email"[25-Oct-2022 02:22:23 UTC] PHP Fatal error: Call to undefined function opc_load_legacy_language_definitions() in /includes/languages/english/checkout_process_guest.php on line 12
[25-Oct-2022 02:22:23 UTC] Request URI: /sweety/index.php?cmd=preview_email, IP address: 76.103.115.109
--> PHP Fatal error: Call to undefined function opc_load_legacy_language_definitions() in /includes/languages/english/checkout_process_guest.php on line 12.
Any assist on resolving these2 erros wouldbe more than appreciated.[25-Oct-2022 02:26:21 UTC] PHP Fatal error: Call to undefined function opc_load_legacy_language_definitions() in /includes/languages/english/create_account_register.php on line 12
[25-Oct-2022 02:26:21 UTC] Request URI: /sweety/index.php?cmd=preview_email, IP address: 76.103.115.109
--> PHP Fatal error: Call to undefined function opc_load_legacy_language_definitions() in /includes/languages/english/create_account_register.php on line 12.
All the other options work great.
Thank you
Yep, there are known issues with OPC interoperability that I haven't fixed yet. Will address ASAP.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
OK here's what you have to do for newer versions of OPC that have the 1.5.8 style language files (the ones whose names start with lang.*)
Note that this is for Zen Cart 1.5.7 only - the 1.5.8 plugin will require significant rework.
at the top of admin/includes/functions/extra_functions/preview_email.php add:
in includes/functions/extra_functions/one_page_checkout_functions.php line 128 changeCode:$opc_funcs = DIR_FS_CATALOG . DIR_WS_FUNCTIONS . '/extra_functions/one_page_checkout_functions.php'; if (file_exists($opc_funcs)) { require $opc_funcs; }
toCode:$base_language_dir = DIR_WS_LANGUAGES . '/' . $_SESSION['language'] . '/' . $legacy_dir;
Code:if (!defined('IS_ADMIN_FLAG') || IS_ADMIN_FLAG !== true) { $base_language_dir = DIR_WS_LANGUAGES . '/' . $_SESSION['language'] . '/' . $legacy_dir; } else { $base_language_dir = DIR_FS_CATALOG_LANGUAGES . '/' . $_SESSION['language'] . '/' . $legacy_dir; }
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks