Zen Cart Logo

Cross Sell

Locked

Views: 36,673

Results 21 to 40 of 131
This thread is locked. New replies are disabled.
31 May 2006, 3:39 AM
#21
tweedybird avatar

tweedybird

New Zenner

Join Date:
Jun 2004
Location:
Louisiana
Posts:
34
Plugin Contributions:
0

Cross Sell

I installed cross sell and everything in the admin is working fine but when I go to my website it dosent show up. I followed the directions but I dont know what I am doing worng. Here is tpl_modules_xsell_products.php where I edit the product-info template file but is says (tpl_product_info_display.php) and I can not find that file.
Can someone please help me out.

<?php /** * Cross Sell products * * Derived from: * Original Idea From Isaac Mualem [[email protected]](mailto:[email protected]) <mailto:[email protected]> * Portions Copyright (c) 2002 osCommerce * Complete Recoding From Stephen Walker [[email protected]](mailto:[email protected]) * Released under the GNU General Public License * * Adapted to Zen Cart by Merlin - Spring 2005 * Reworked for Zen Cart v1.3.0 03-30-2006 */ // calculate whether any cross-sell products are configured for the current product, and display if relevant include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_XSELL_PRODUCTS)); if (zen_not_null($xsell_data)) { $info_box_contents = array(); $list_box_contents = $xsell_data; $title = ''; ?> <!-- bof: tpl_modules_xsell_products --> <div class="centerBoxWrapper" id="crossSell"> <h2 class="centerBoxHeading"><?php echo TEXT_XSELL_PRODUCTS; ?></h2> <?php /** * require the list_box_content template to display the cross-sell info. This info was prepared in modules/xsell_products.php */ require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php'); ?> </div> <?php require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php'); ?> <!-- eof: tpl_modules_xsell_products --> <?php } ?>
31 May 2006, 10:04 AM
#22
welshy1984 avatar

welshy1984

New Zenner

Join Date:
May 2006
Posts:
2
Plugin Contributions:
0

Re: Cross Sell

im having the same problem as the above post... works in admin but not on the main site

anyone think they can fix this??

31 May 2006, 6:37 PM
#23
wajdi avatar

wajdi

New Zenner

Join Date:
May 2006
Location:
Montreal, Quebec
Posts:
41
Plugin Contributions:
0

Re: Cross Sell

Hey guys,

This is the directory for the tpl_product_info_display.php

..\includes\templates\template_default\templates\tpl_product_info_display.php

Let me know if you need anymore help. I pretty much went through all the same problems everyone else seemed to have gone through on these forums with xsell and got through it and have it working perfectly right now. This is a really awesome app.

Kudos to the author.

1 Jun 2006, 5:23 AM
#24
drbyte avatar

drbyte

Sensei

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

Re: Cross Sell

Clarification ...

you should COPY this file:

..\includes\templates\template_default\templates\tpl_product_info_display.php

....TO your own template folder:

..\includes\templates\YOURTEMPLATE\templates\tpl_product_info_display.php

For more information on what the "YOURTEMPLATE" folder means, read the FAQ's for "template overrides" or "template customization"

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

3 Jun 2006, 10:02 AM
#25
vixay avatar

vixay

New Zenner

Join Date:
Apr 2006
Posts:
17
Plugin Contributions:
0

Re: Cross Sell

http://www.zen-cart.com/forum/showpost.php?p=209627&postcount=2

I made a modification to cross-sell that allows you to list products with the same model # (rather than having to setup an entired table).. see above link for my post.

it is a very small change to the SQL Query...

maybe some moderator should merge that post here?

--
"Drunk on the Nectar of Life" - me

4 Jun 2006, 3:26 PM
#26
ididdy avatar

ididdy

New Zenner

Join Date:
Dec 2005
Posts:
7
Plugin Contributions:
0

Re: Cross Sell

Cross-Sell (X-Sell) Admin will not load the next page of data when you select a page # or hit the >>. It reloads Page 1 only. We just installed cross_sell_v1.3.0 on Zen-Cart 1.3.0.

Any help is appreiated.

16 Jun 2006, 10:20 AM
#27
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Cross Sell

Hi

Iam getting this in the prod pages in shop:

Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

Warning: main(): Failed opening 'includes/modules/xsell_products.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

can you help????

simon

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

20 Jun 2006, 8:53 PM
#28
s_p_ike avatar

s_p_ike

Zen Follower

Join Date:
Feb 2005
Location:
Italy
Posts:
178
Plugin Contributions:
0

Re: Cross Sell

Just a simple question: I don't need Cross Sell, but it seems to be an interesting starting point for me to develope another module.
Well, I was wondering if Cross Sell manages products referenced but deleted.
I.E: I add products B and C to product A. Next I delete product C from my catalog. What happens?

I think that when deleting a product there's not a control to see if that product was added to some products with Xsell, since the files within the module doesn't contains mod to admin core files.

Am I right?

Thanks.

Paolo De Dionigi
Co-maintainer of Zen Cart Italia

20 Jun 2006, 9:29 PM
#29
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

Re: Cross Sell

Once an item is deleted, its gone, and no reference will be made by cross sell to such deleted items.

26 Jun 2006, 6:34 PM
#30
peterpants avatar

peterpants

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: Cross Sell

I've installed X-sell v1.3 on my zen cart and I can't change the page to modify any links beyond the first page in the cross sell manager. Clicking to go to any other page or the next page just reloads the first page. The url changes correctly, such as
myserver/xsell.php?page=2, but the same first page remains. Any suggestions or remedies?

Here's my settings:
Zen Cart 1.3.0.1
PHP Version 5.1.2
My webhost is dreamhost

28 Jun 2006, 9:17 PM
#31
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Cross Sell

Will this work on 1.2.7 with the pub_product_book product type? I've tried it but I can't get the cross sells to show up on the product page.

Danielle

29 Jun 2006, 12:03 PM
#32
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Cross Sell

Hi

This is for DrByte :thumbsup:

Have know got this mod working on a Zen Cart 1.3.0.2 hade to change nam of two files.

know: :lookaroun

  1. can the sort order be changed to the Product Model and how??

  2. can we/you add a search??

simon

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

3 Jul 2006, 9:37 PM
#33
meemster avatar

meemster

New Zenner

Join Date:
Jul 2006
Location:
London, UK
Posts:
11
Plugin Contributions:
0

Re: Cross Sell

Hi Simon-m,

I got the same error messages as you posted below. May I ask how you fixed them?

Cheers, meemster

simon-m:

Hi

Iam getting this in the prod pages in shop:

Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

Warning: main(includes/modules/xsell_products.php): failed to open stream: No such file or directory in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

Warning: main(): Failed opening 'includes/modules/xsell_products.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /includes/templates/custom/templates/tpl_modules_xsell_products.php on line 17

can you help????

simon

3 Jul 2006, 10:10 PM
#34
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Cross Sell

meemster:

Hi Simon-m,

I got the same error messages as you posted below. May I ask how you fixed them?

Cheers, meemster

Hi meemster

I think it was:

Renamed

  1. admin - xsell.php to xsell_products.php

  2. opened products_xsell.sql and find this #DROP TABLE IF EXISTS products_xsell;
    and re to DROP TABLE IF EXISTS products_xsell;

  3. if like me you do not see Cross-Sell - Display prices? under Configuration - Product Info
    then I ran this SQL
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?<br />Default: false', 18, 72, 'zen_cfg_select_option(array('true','false'), ', now());

BUT THIS WORKED FOR ME BUT MAY NOT WORK FOR OTHERS ALL ABOVE IS AT USERS RISK SO BACKUP BACKUP!!!!!!

SIMON

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

3 Jul 2006, 10:14 PM
#35
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Cross Sell

Also use BEYOND COMPARE and if you have not got it get it ?
it will help

simon

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

4 Jul 2006, 10:37 AM
#36
meemster avatar

meemster

New Zenner

Join Date:
Jul 2006
Location:
London, UK
Posts:
11
Plugin Contributions:
0

Re: Cross Sell

Tried those points you mentioned but still no joy :(

Any other ideas?

Meemster

simon-m:

Hi meemster

I think it was:

Renamed

  1. admin - xsell.php to xsell_products.php

  2. opened products_xsell.sql and find this #DROP TABLE IF EXISTS products_xsell;
    and re to DROP TABLE IF EXISTS products_xsell;

  3. if like me you do not see Cross-Sell - Display prices? under Configuration - Product Info
    then I ran this SQL
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?<br />Default: false', 18, 72, 'zen_cfg_select_option(array('true','false'), ', now());

BUT THIS WORKED FOR ME BUT MAY NOT WORK FOR OTHERS ALL ABOVE IS AT USERS RISK SO BACKUP BACKUP!!!!!!

SIMON

4 Jul 2006, 10:56 AM
#37
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Cross Sell

what vencart are you useing?
have you got the mod from the downlods or have you got the one with the sidebox files?

i did not get the sidebox working.

simon

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

4 Jul 2006, 11:17 AM
#38
meemster avatar

meemster

New Zenner

Join Date:
Jul 2006
Location:
London, UK
Posts:
11
Plugin Contributions:
0

Re: Cross Sell

cross_sell_v1.3.0
zen-cart-v1.3.0.1

i got the mod from the d/loads and don't have any sidebox files, meaning i don't have any files refering to sidebox in the mod d/load

simon-m:

what vencart are you useing?
have you got the mod from the downlods or have you got the one with the sidebox files?

i did not get the sidebox working.

simon

4 Jul 2006, 11:20 AM
#39
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Cross Sell

  1. admin - xsell.pp to xsell_products.php

  2. admin > extra_datafiles - xsell_definitions.php open and find and change this: define('FILENAME_XSELL_PRODUCTS', 'xsell.php'); to define('FILENAME_XSELL_PRODUCTS', 'xsell_PRODUCTS.php');

  3. admin > languages > english - xsell.pp to xsell_products.php

4)then follow the install.txt

simon

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

4 Jul 2006, 12:16 PM
#40
meemster avatar

meemster

New Zenner

Join Date:
Jul 2006
Location:
London, UK
Posts:
11
Plugin Contributions:
0

Re: Cross Sell

No joy :no:

followed your points 1-3, and checked over the install.txt but i already implemented those when i first installed this mod.

anything else i should do to make this work?

simon-m:

  1. admin - xsell.pp to xsell_products.php

  2. admin > extra_datafiles - xsell_definitions.php open and find and change this: define('FILENAME_XSELL_PRODUCTS', 'xsell.php'); to define('FILENAME_XSELL_PRODUCTS', 'xsell_PRODUCTS.php');

  3. admin > languages > english - xsell.pp to xsell_products.php

4)then follow the install.txt

simon