Forums / Addon Admin Tools / Cross Sell Advanced [Support Thread]

Cross Sell Advanced [Support Thread]

Views: 45,838

Results 141 to 160 of 169
16 Jan 2022, 5:55 PM
#141
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Cross Sell Advanced [Support Thread]

I have been searching and had a question to you lat9 as you obviously know what you're doing.

I have selected my database in MyPhPAdmin and run a Search on all tables for the word "Xsell". It returned 2 results in admin_pages amd 4 results in configuration. When I look at these results within these tables they all relate to your plug in. So this has to be telling me that the previous plug in is completely erased. I have also looked at the products_xsell table to insure that there are no duplicate entries.....and nothing.

As this is a real head scratcher and I cannot go live with this result, would the old version of this plug in (the one I'm currently using on my v.1.5.5 site) work in zen cart v.1.5.7 I know that there have been some fundamental changes to zen cart....so thought I'd ask someone who is integrally involved.

Thanks again,

Jeff

16 Jan 2022, 7:43 PM
#142
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

NWCE:

I have been searching and had a question to you lat9 as you obviously know what you're doing.

I have selected my database in MyPhPAdmin and run a Search on all tables for the word "Xsell". It returned 2 results in admin_pages amd 4 results in configuration. When I look at these results within these tables they all relate to your plug in. So this has to be telling me that the previous plug in is completely erased. I have also looked at the products_xsell table to insure that there are no duplicate entries.....and nothing.

As this is a real head scratcher and I cannot go live with this result, would the old version of this plug in (the one I'm currently using on my v.1.5.5 site) work in zen cart v.1.5.7 I know that there have been some fundamental changes to zen cart....so thought I'd ask someone who is integrally involved.

Thanks again,

Jeff
Jeff, that YourStore template is very, very invasive. I'll suggest that you search through your storefront files for **xsell **to see where it's being used other than the plugin itself.

16 Jan 2022, 8:10 PM
#143
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Cross Sell Advanced [Support Thread]

Hi lat9,

Thanks for you help and suggestion on searching my storefront files. I will definitely do this and post back.

Thanks again,
Jeff

16 Jan 2022, 11:16 PM
#144
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Cross Sell Advanced [Support Thread]

Hi lat9,

My apologies and thank you for you help......the module works perfectly!! After several hours of trying this and searching that, I tried installing the old Multi Cross Sell v 1.03 module from my zen cart v.1.5.5 into my test v.1.5.7 and it worked and displayed correctly. I did notice that it displayed duplicate product titles but the lower one was in bold.....so it got me to thinking.

As I had not installed the images onto my v.1.5.7 test site (folder way to large with over 2300 products) I wondered if what I was seeing on my test site with your module installed with simply duplicate product titles as one is the displaying title and one was for the Image-Alt function. I removed the Multi Cross Sell and re-installed your Cross Sell Advanced II module and uploaded images for just one product into my test v.1.5.7 site. It worked!

Once again, my apologies for not realizing this earlier......and thank you once again for your help.....it is much appreciated.

Jeff

28 Jul 2022, 11:10 AM
#145
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

Suggestion on next push - add the link to the template modification instructions to the text readme file (or perhaps delete it entirely so you don't have to maintain two copies).

That Software Guy. My Store: Zen Cart Support
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.

8 Feb 2023, 10:09 PM
#146
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

ZC 1.5.8 changes

  • change ./includes/modules/xsell/category_product_selection.php to call zen_draw_pulldown_products instead of zen_draw_products_pull_down.

Otherwise works like a champ. Note that the old Related Products module no longer works with 1.5.8/PHP8 and will require significant updates.
I am pointing people to this module instead.

That Software Guy. My Store: Zen Cart Support
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.

9 Feb 2023, 12:27 PM
#147
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

swguy:

ZC 1.5.8 changes

  • change ./includes/modules/xsell/category_product_selection.php to call zen_draw_pulldown_products instead of zen_draw_products_pull_down.

Otherwise works like a champ. Note that the old Related Products module no longer works with 1.5.8/PHP8 and will require significant updates.
I am pointing people to this module instead.
I'd quite forgotten that I had this in GitHub! Was that function name changed from 157 to 158? Just trying to understand the "why" for the change.

9 Feb 2023, 5:05 PM
#148
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

Yes, the function name was changed. I submitted a PR to your repo to fix.

That Software Guy. My Store: Zen Cart Support
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.

9 Feb 2023, 5:13 PM
#149
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

Yep, saw the PR but didn't understand the why.

9 Feb 2023, 5:29 PM
#150
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

That Software Guy. My Store: Zen Cart Support
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.

9 Feb 2023, 11:14 PM
#151
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

swguy:

Suggestion on next push - add the link to the template modification instructions to the text readme file (or perhaps delete it entirely so you don't have to maintain two copies).
Done, now in v2.0.2 readme.html

swguy:

ZC 1.5.8 changes

  • change ./includes/modules/xsell/category_product_selection.php to call zen_draw_pulldown_products instead of zen_draw_products_pull_down.

Otherwise works like a champ. Note that the old Related Products module no longer works with 1.5.8/PHP8 and will require significant updates.
I am pointing people to this module instead.

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.

7 Feb 2024, 1:00 PM
#152
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

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!

That Software Guy. My Store: Zen Cart Support
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.

7 Feb 2024, 10:11 PM
#153
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

swguy:

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!
The Or maybe: provides a clarification of what I intended.

19 Mar 2024, 7:22 PM
#154
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

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.

6 Sep 2024, 4:10 PM
#155
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: Cross Sell Advanced [Support Thread]

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.php?main_page=product_info&cPath=65_82_122&products_id=650&language=en

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

27 Jan 2025, 2:47 PM
#156
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Cross Sell Advanced [Support Thread]

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???

27 Jan 2025, 2:59 PM
#157
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

NWCE:

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???
Not without a link to the site.

27 Jan 2025, 3:49 PM
#158
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Cross Sell Advanced [Support Thread]

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?

27 Jan 2025, 5:23 PM
#159
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Cross Sell Advanced [Support Thread]

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.

27 Jan 2025, 11:37 PM
#160
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Cross Sell Advanced [Support Thread]

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.