Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Multi Cross Sell mod [Support thread]

Multi Cross Sell mod [Support thread]

Started by gilby on 1 Jul 2010, 1:52 AM · Views: 85,494

Results 321 to 340 of 476
21 Aug 2012, 11:31 PM
#321
hampstead avatar

hampstead

New Zenner

Join Date:
Aug 2012
Location:
Cetinje, Montenegro
Posts:
6
Plugin Contributions:
0

Post #321 by hampstead

gilby:

And for the next person who has this problem the solution was.....?

I used product model number instead of product id. That's why cross sell mod didn't work.

gilby:

Did you put this into the "template over ride" version or the default version?
What is the exact path to this file that you have altered?

I used template over ride version. The path is: includes/templates/MY_TEMPLATE/templates/tpl_product_info_display.php

21 Aug 2012, 11:47 PM
#322
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #322 by gilby

Hampstead:

I used product model number instead of product id. That's why cross sell mod didn't work.You can use either. Its a selectable option.
If you use model numbers, they MUST be unique.
Product Id's by definition are always unique.

Hampstead:

I used template over ride version. The path is: includes/templates/MY_TEMPLATE/templates/tpl_product_info_display.php
What version of zen? and what version of this mod?
Post a link to a product that you know has a cross sell.

22 Aug 2012, 12:32 AM
#323
hampstead avatar

hampstead

New Zenner

Join Date:
Aug 2012
Location:
Cetinje, Montenegro
Posts:
6
Plugin Contributions:
0

Post #323 by hampstead

gilby:

You can use either. Its a selectable option.
If you use model numbers, they MUST be unique.
Product Id's by definition are always unique.

For some reason product model number hasn't been accepted. But it works now with product id.

gilby:

What version of zen? and what version of this mod?
Post a link to a product that you know has a cross sell.

I use Zen 1.3.9 and multi cross sell module v1.02.
Here is a link to the product page: http://com-shop.me/index.php?main_page=product_info&cPath=19_59&products_id=1214 (the page is on the Serbian language).

22 Aug 2012, 1:38 AM
#324
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #324 by gilby

Hampstead:

I use Zen 1.3.9 and multi cross sell module v1.02.
Here is a link to the product page: http://com-shop.me/index.php?main_page=product_info&cPath=19_59&products_id=1214 (the page is on the Serbian language).
The page is NOT loading fully.
It dies just before where you should add the mod code.
Check your cache file for errors that are being created by this.

You could also try using the sample modded file that is enclosed.
It needs to be renamed.
If it works then you have added the code incorrectly to your version.

22 Aug 2012, 2:25 AM
#325
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #325 by drbyte

gilby:

And if you have gone back 3 pages to post 291 you would also have found that answer.
Sometimes these questions have already been asked and answered and just need a (small) bit of searching.
Can I encourage you to submit an update which includes the fix?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Aug 2012, 2:46 AM
#326
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #326 by gilby

DrByte:

Can I encourage you to submit an update which includes the fix?Sure not a problem I can update the 1.5.0 version.

As the OP was using the older 1.3.9 version.
Should I update that older version and include it in the same file as the updated 1.5.0 version.
or is there a way to update both versions independently and still keep the logical order?

22 Aug 2012, 2:49 AM
#327
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #327 by drbyte

I'm inclined to only update the latest version. Gives good incentive for doing a proper upgrade to the latest version anyway. [insert evil laugh here]

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Aug 2012, 10:11 AM
#328
hampstead avatar

hampstead

New Zenner

Join Date:
Aug 2012
Location:
Cetinje, Montenegro
Posts:
6
Plugin Contributions:
0

Post #328 by hampstead

gilby:

The page is NOT loading fully.
It dies just before where you should add the mod code.
Check your cache file for errors that are being created by this.

You could also try using the sample modded file that is enclosed.
It needs to be renamed.
If it works then you have added the code incorrectly to your version.

I uploaded the sample tpl_product_info_display file and it works now. It means that something was incorrectly with the code embedded in my original file. Now I'm going to adapt sample file to my needs.

Many thanks to gilby and DrByte for great effort to help me.

22 Aug 2012, 10:42 AM
#329
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #329 by gilby

Hampstead:

I uploaded the sample tpl_product_info_display file and it works now. It means that something was incorrectly with the code embedded in my original file. Now I'm going to adapt sample file to my needs.

Many thanks to gilby and DrByte for great effort to help me.Good to see that its working for you now!

28 Aug 2012, 10:16 AM
#330
jason_b_1 avatar

jason_b_1

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Post #330 by jason_b_1

I have just installed this mod, but from the admin screen when I click install I get a blank screen.

I am running zencart 1.5

Do I need to install the original version first ?

28 Aug 2012, 10:46 AM
#331
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #331 by gilby

jason.b:

I have just installed this mod, but from the admin screen when I click install I get a blank screen.

I am running zencart 1.5

Do I need to install the original version first ?No you don't

You may need to apply a bug fix shown in post 291

29 Aug 2012, 10:41 AM
#332
jason_b_1 avatar

jason_b_1

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Post #332 by jason_b_1

gilby:

No you don't

You may need to apply a bug fix shown in post 291

You are a star, worked straight the way !

25 Sep 2012, 1:05 PM
#333
ilmarchez avatar

ilmarchez

Zen Follower

Join Date:
Aug 2009
Posts:
128
Plugin Contributions:
0

Post #333 by ilmarchez

Hi, I've installed 1.02 on Zencart 1.3.9h it works but I have a problem:

  1. the header of each cross sell soes not show up (like "Suggested Matching Items...")
  2. how and where could I change this title?

You can see it in action here: http://tinyurl.com/d5h768d

Thanks for your help!
Stefano

15 Oct 2012, 8:24 PM
#334
felixd74 avatar

felixd74

New Zenner

Join Date:
Oct 2012
Posts:
3
Plugin Contributions:
0

Post #334 by felixd74

hi there, i'm very new here and i have a problem for this mod. i looked everywhere and i cat find any answers. After installing it everithing works great but im getting an error on a red bar on top of admin page saying quote "Error: The Multi Cross Sell Admin Page is already registered in the Catalog Menu." I cant find anything on this error on this forum nor in the google search. Here is the log from cache file:"[14-Oct-2012 23:16:56] PHP Warning: array_unique() [<a href='function.array-unique'>function.array-unique</a>]: The argument should be an array in C:\CustomerData\webspaces\webspace_00140483\wwwroot\mccarthys1.wbt-pc.com\administration1409\includes\functions\extra_functions\multi_xsell.php on line 70
[14-Oct-2012 23:16:56] PHP Warning: array_values() [<a href='function.array-values'>function.array-values</a>]: The argument should be an array in C:\CustomerData\webspaces\webspace_00140483\wwwroot\mccarthys1.wbt-pc.com\administration1409\includes\functions\extra_functions\multi_xsell.php on line 71
[14-Oct-2012 23:16:56] PHP Warning: Invalid argument supplied for foreach() in C:\CustomerData\webspaces\webspace_00140483\wwwroot\mccarthys1.wbt-pc.com\administration1409\includes\functions\extra_functions\multi_xsell.php on line 73"
Any help much appreciated.

19 Oct 2012, 12:23 AM
#335
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Post #335 by seattleannie

I installed Multi Cross Sell 1.03 to Zen Cart 1.5.0 and it works fine for my "superuser" profile. But when I create another profile for someone else, and check the checkbox for permission for that profile and user to use multi cross sell in the "Catalog" menu, the link to it appears for that user, but when clicked on they get the message: "Sorry, your security clearance does not allow you to access this resource. Please contact your site administrator if you believe this to be incorrect. Sorry for any inconvenience."
I tried uninstalling and reinstalling, and then giving permission again. Still does not work for any but the original profile.

19 Oct 2012, 2:14 AM
#336
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #336 by gilby

seattleannie:

I installed Multi Cross Sell 1.03 to Zen Cart 1.5.0 and it works fine for my "superuser" profile. But when I create another profile for someone else, and check the checkbox for permission for that profile and user to use multi cross sell in the "Catalog" menu, the link to it appears for that user, but when clicked on they get the message: "Sorry, your security clearance does not allow you to access this resource. Please contact your site administrator if you believe this to be incorrect. Sorry for any inconvenience."
I tried uninstalling and reinstalling, and then giving permission again. Still does not work for any but the original profile.Just checked and confirmed that this is a bug :no:
I will check for a fix over the weekend.

19 Oct 2012, 2:36 AM
#337
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #337 by ajeh

Did you try the two fixes in the Bug Fixes for v1.5.0:
http://www.zen-cart.com/showthread.php?197182-Known-Bugs-%28and-fixes%29-with-v1-5-0

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Oct 2012, 3:37 AM
#338
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #338 by gilby

seattleannie:

I installed Multi Cross Sell 1.03 to Zen Cart 1.5.0 and it works fine for my "superuser" profile. But when I create another profile for someone else, and check the checkbox for permission for that profile and user to use multi cross sell in the "Catalog" menu, the link to it appears for that user, but when clicked on they get the message: "Sorry, your security clearance does not allow you to access this resource. Please contact your site administrator if you believe this to be incorrect. Sorry for any inconvenience."
I tried uninstalling and reinstalling, and then giving permission again. Still does not work for any but the original profile.Fix found
Edit admin/includes/extra_datafiles/multi_xsell_definitions.php
Find ```php
define('FILENAME_MXSELL_PRODUCTS', 'multi_xsell.php');

change to ```php
define('FILENAME_MXSELL_PRODUCTS', 'multi_xsell');

iow remove the '.php' from the end of the filename

21 Oct 2012, 7:18 PM
#339
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Post #339 by seattleannie

gilby:

Fix found
Edit admin/includes/extra_datafiles/multi_xsell_definitions.php
Find ```php
define('FILENAME_MXSELL_PRODUCTS', 'multi_xsell.php');

> change to ```php
define('FILENAME_MXSELL_PRODUCTS', 'multi_xsell');

iow remove the '.php' from the end of the filename

Thanks so much, Gilby! Worked like a charm.

Linda, the bug fix "can't update an Admin Profile's checkboxes for assigned permissions" doesn't seem to fit my version of admin/profiles.php - which has neither the line of code that needs fixing:

<form id="profileBoxes" name="profileBoxes" action="<?php echo zen_href_link(FILENAME_PROFILES) ?>" method="post"> -nor the fix code: <?php echo zen_draw_form('profileBoxes', FILENAME_PROFILES, 'action=update') ?> The line it has instead of those two is <?php echo zen_draw_form('profileBoxes', FILENAME_PROFILES, 'action=insert') ?> I guess that means my file is OK?
21 Oct 2012, 8:02 PM
#340
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #340 by ajeh

Are you running Zen Cart v1.5.0? :lookaroun

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!