Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
philip937
@gilby
I have tried what you suggested but its not working for some reason.
this is what I did:
I added this line to
includes/extra_datafiles/multi_xsell_definitions.php
PHP Code:
define('TABLE_PRODUCTS_XSELL', DB_PREFIX . 'products_xsell1');
then I have to change in
includes/modules/MY_TEMPLATE/cart_upsell.php
PHP Code:
if (@file_exists(DIR_WS_MODULES . zen_get_module_directory('xsell_products.php'))) {
to
PHP Code:
if (@file_exists(DIR_WS_MODULES . zen_get_module_directory('multi_xsell_products.php'))) {
and
PHP Code:
require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php');
to
PHP Code:
require($template->get_template_dir('tpl_modules_multi_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_multi_xsell_products.php');
but this still does not work. can you advise any further?
Many Thanks
At this stage no I can't help
and I am away from my test computer for the next 10 days so I can't test it out at this time
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
gilby
At this stage no I can't help
and I am away from my test computer for the next 10 days so I can't test it out at this time
ok no worries, i'll keep looking at it to see if I can see any reason why its not working.
Re: Multi Cross Sell mod [Support thread]
ok, well I got it to work, however, its does not work using the file tpl_modules_multi_xsell_products.php
so as a fix, I just included the old file on my server as well solely for cart upsell to use unless someone can work out what the difference is that causes it not to work.
so all I did was specified the table products_xsell1 and made sure I had includes/templates/MY_TEMPLATE/templates/tpl_modules_xsell_products.php
so that when cart upsell calls it here:
PHP Code:
require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php'); }
its works.
like I say, bit of a fudge but I really like cart upsell. :o)
Re: Multi Cross Sell mod [Support thread]
After several unsuccessful installation, I want to ask: there must be installed before installing multi_cross_sell_v1.00 module_manager not ah?
Since I installed multi_cross_sell_v1.00 including previously installed module_manager still can not display the Admin-> Catalog-> Advanced Cross-Sell
Dear brothers and sisters would help. I am using a host of bluehost.com: MySQL version 5.1.47. PHP Version 5.2.13
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
bovo_cn
After several unsuccessful installation, I want to ask: there must be installed before installing multi_cross_sell_v1.00 module_manager not ah?
Since I installed multi_cross_sell_v1.00 including previously installed module_manager still can not display the Admin-> Catalog-> Advanced Cross-Sell
Dear brothers and sisters would help. I am using a host of bluehost.com: MySQL version 5.1.47. PHP Version 5.2.13
You may be mixing up your mods here...
This mod is stand alone...
Module manager is not used with this mod at all
"Admin-> Catalog-> Advanced Cross-Sell" is from a different cross sell mod, and is not used with this mod
This mod uses:
"Admin-> Catalog-> Multi Cross-Sell"
You should try uploading the files again to their correct position.
And maybe removing any other cross sell mods that you may have had installed previously
Re: Multi Cross Sell mod [Support thread]
I have installed this on a site i look after.
It seems to work fine on a product which has multiple product images:
see here:
http://www.projobdistribution.co.uk/...roducts_id=218
But the styling breaks when there are not multiple product images:
see here:
http://www.projobdistribution.co.uk/...roducts_id=221
Any ideas?
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
DVDTitan
Add the following line just before the start of the mod on the product_info page
PHP Code:
<br class="clearBoth" />
See if that fixes your problem
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
gilby
Add the following line just before the start of the mod on the product_info page
PHP Code:
<br class="clearBoth" />
See if that fixes your problem
Yes, this fixed it. Many thanks!
Re: Multi Cross Sell mod [Support thread]
Thanks for the fix for the category name.
Im trying to get the product name to be beside the image instead of below it, which file am I supposed to edit? I only have 1 product per row so having the name below the image takes too much space.
Thanks
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
Berserker
Thanks for the fix for the category name.
Im trying to get the product name to be beside the image instead of below it, which file am I supposed to edit? I only have 1 product per row so having the name below the image takes too much space.
Thanks
\includes\modules\YOUR_TEMPLATE\multi_xsell_products.php
would be the place to start