Done, now in v2.0.2 readme.html
v2.0.2 of Cross Sell Advanced II is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2334
This release provides integration with zc158; see GitHub issue #7 for additional information.
Printable View
Done, now in v2.0.2 readme.html
v2.0.2 of Cross Sell Advanced II is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2334
This release provides integration with zc158; see GitHub issue #7 for additional information.
Question about the help: you said
Note: If your site is using the ZCA Bootstrap Template, don't forget to copy the file /includes/templates/bootstrap/templates/tpl_modules_xsell2_products.php to your "clone" of the template!
Didn't you mean the other way around? Something like:
Note: If your site is not using the ZCA Bootstrap Template, don't forget to copy the file /includes/templates/bootstrap/templates/tpl_modules_xsell2_products.php to your template!
Or maybe:
Note: If your site is using a clone of the ZCA Bootstrap Template, don't forget to copy the file /includes/templates/bootstrap/templates/tpl_modules_xsell2_products.php to your "clone" of the template!
v2.0.3 of Cross Sell Advanced II is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2334
Corrects the admin tool's pagination, thanks to @webchills.
Note: This *might* work with zc200, but I've not tested in that environment.
Google Merchant Center next doesn't like " in the titles.
So I use HTML entities like " instead of "
The cross sell items (related products) unfortunately show " instead of "
See -> https://roller-aus-blech.com/index.p...50&language=en
Thank you for updating this plugin lat9!
I am installing it in a v.2.1 upgrade and noticed that after uploading the files all installed correctly, I received the install message at the top of my Admin and I have the config areas in Admin.
When I go to edit the tpl_xxx_info_display.php files the tpl_document_general_info_display.php, tpl_document_product_info_display.php,and the tpl_product_free_shipping_info_display.php are very changed files from past Zen Cart versions.
There isn't the :
<!--eof Product URL -->
<!--bof also purchased products module-->
sections in these files any longer. When I simply added the code to the end of the files, it didn't throw any errors, but my index page now shows nothing in the center column (no products, no featured, no specials) just a white blank.....and again no error in the Debug Logs.
I have added the code to my tpl_product_info_display.php in the correct spot.
If I click on a category to go in, I then see the products in this category in my centre column as normal.
Any ideas on why it is not displaying on the index page???
The site I am working on is in my local computer as I am in the process of upgrading....unfortunately it is not on a live site.
I know this makes it extra difficult to diagnose....I only have the stock Zen Cart v.2.1 database installed with demo products to insure that my current live site database isn't causing any issues.
I do have a custom template, and the only file that is in my custom template (all others uploaded from this plugin are inside the stock Zen Cart) is the tpl_product_info_display.php which is the stock file with the added Cross Sell Advanced coding near the end of the file.
All was working and displaying properly on the development site before installing this plugin...and I am only installing one plugin at a time....testing and using it to insure to errors before moving onto the next.
Does this help?
In trying to decipher this error....the only error showing in my Debug Logs was for a plugin I have yet to install, ZX Slideshow, but is throwing an error as my Custom template file includes some code that is calling for this plugin.
I decided to uninstall the Cross Sell plugin first, (deleted all uploaded files and ran the SQL Unistall). I then installed the ZX Slideshow plugin, and everything in my Index page center column magically appeared!
I then installed the Cross Sell plugin once again, went to Admin and see it in the Admin->Config and in the Admin->Catalog.
Now when I load my site I get a total white screen with the following in the Debug Log:
[27-Jan-2025 17:05:19 UTC] Request URI: /plugin21/, IP address: 127.0.0.1, Language id 1
#0 C:\wamp64\www\new2121\includes\autoload_func.php(40): zen_debug_error_handler()
#1 C:\wamp64\www\new2121\includes\autoload_func.php(40): require_once()
#2 C:\wamp64\www\new2121\includes\application_top.php(329): require('C:\\wamp64\\www\\p...')
#3 C:\wamp64\www\new2121\index.php(25): require('C:\\wamp64\\www\\p...')
--> PHP Warning: require_once(includes/init_includes/init_xsell_config.php): Failed to open stream: No such file or directory in C:\wamp64\www\new2121\includes\autoload_func.php on line 40.
[27-Jan-2025 17:05:19 UTC] PHP Fatal error: Uncaught Error: Failed opening required 'includes/init_includes/init_xsell_config.php' (include_path='.;C:\php\pear') in C:\wamp64\www\new2121\includes\autoload_func.php:40
Stack trace:
#0 C:\wamp64\www\new2121\includes\application_top.php(329): require()
#1 C:\wamp64\www\new2121\index.php(25): require('C:\\wamp64\\www\\p...')
#2 {main}
thrown in C:\wamp64\www\new2121\includes\autoload_func.php on line 40
[27-Jan-2025 17:05:19 UTC] Request URI: /new2121/, IP address: 127.0.0.1
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/init_includes/init_xsell_config.php' (include_path='.;C:\php\pear') in C:\wamp64\www\new2121\includes\autoload_func.php:40
Stack trace:
#0 C:\wamp64\www\new2121\includes\application_top.php(329): require()
#1 C:\wamp64\www\new2121\index.php(25): require('C:\\wamp64\\www\\p...')
#2 {main}
thrown in C:\wamp64\www\new2121\includes\autoload_func.php on line 40.
[27-Jan-2025 17:05:19 UTC] Request URI: /new2121/, IP address: 127.0.0.1
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/init_includes/init_xsell_config.php' (include_path='.;C:\php\pear') in C:\wamp64\www\new2121\includes\autoload_func.php:40
Stack trace:
#0 C:\wamp64\www\new2121\includes\application_top.php(329): require()
#1 C:\wamp64\www\new2121\index.php(25): require('C:\\wamp64\\www\\p...')
#2 {main}
thrown in C:\wamp64\www\new2121\includes\autoload_func.php on line 40.
I have double checked and reuploaded the file the Admin/includes/init_includes/init_xsell_config.php without any change.
Would you be able to shed some light on where I've gone wrong??
Thanks for your help.
From the log, it appears that you've copied the /admin/includes/auto_loaders/config.xsell.php to the storefront directory /includes/auto_loaders; remove that file that's in the wrong place.