Re: Just another Cross-Sell mod (support thread)
So sorry about posting a third time in a row, but as I fixed one problem I then discovered another. On my website, the pages that have cros-sell items listed, the background colour is incorrect. The background should be white with the background behind the words "We also recommend" set as being burgundy...BUT, all of this is now burgundy. Can anyone suggest how to fix this? Much appreciated. I will then have this module complete.
Thanks
Raquel
Re: Just another Cross-Sell mod (support thread)
Quote:
Originally Posted by
fbords
I just installed this on another site of mine and when doing so, the contents in the "We Also Recommend:" centerbox have no padding at the top. The image touches right up against the title. Is there a way I can get it spaced like the Featured products box? I'm not sure which style to edit.
Not the best practice coding suggestion but
in includes/templates/YOURTEMPLATE/tpl_modules_xsell_products.php add a couple of <br><br> as shown below and it pads it out for you. Just spent half an hour trying to find where to amend the stylesheet with no joy so took a short cut ;)
<!-- bof: tpl_modules_xsell_products -->
<div class="centerBoxWrapper" id="crossSell">
<h2 class="centerBoxHeading"><?php echo TEXT_XSELL_PRODUCTS; ?></h2>
<br /><br />
<?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>
<!-- eof: tpl_modules_xsell_products -->
Re: Just another Cross-Sell mod (support thread)
What prevents you from using css to do that, my friend?
Re: Just another Cross-Sell mod (support thread)
Quote:
Originally Posted by
yellow1912
What prevents you from using css to do that, my friend?
Probably because I am a gobsh!te ;)
Figured this is where it was calling the CSS in tpl_modules_xsell_products
<div class="centerBoxWrapper" id="crossSell">
this class was not in my templates css file so I added it and copied it from the default templates etc. but could not get it to pad out changing the border put a border around the box etc so I could not figure out why it would not pad out.
Had me baffled as for example the also purchased function also goes to this class but the also purchased box has the padding in it whereas the cross sell did not.
Spent half an hour at it and then thought ah sod it go for the quick and easy short cut but would really appreciate if you could steer me towards where I went wrong :)
Re: Just another Cross-Sell mod (support thread)
As long as it works for you, it's fine.
However, if you want to check other ways to do it, share with us the css codes you tried, and if possible post the link to your site, or PM me.
Re: Just another Cross-Sell mod (support thread)
I have installed the latest version of the Just Another Cross-Sell Module. If I go to Catalog - Advanced Cross Sell then I am able to add products to the Cross Sell table and everything appears to work fine in my store. However, if I go to Catalog - Cross Sell Products then I get the following error:
/mysite/admin/xsell.php was not found on this server.
Obviously, I don't have xsell.php in my admin directory. I didn't notice this file in the .zip file for this module. Where do I obtain this file from? Am I supposed to install any other cross sell modules along with the Just Another Cross Sell module?
All help is appreciated!
Chris
Re: Just another Cross-Sell mod (support thread)
You are not supposed to go there, since it's no longer need. You can remove it from your menu by removing:
admin/includes/boxes/extra_boxes/x-sell_catalog_dhtml.php
Re: Just another Cross-Sell mod (support thread)
yellow1912,
Thank you! I was a little concerned but I am glad that I have nothing to worry about!
Chris
Re: Just another Cross-Sell mod (support thread)
I just install this Cross Sell mod but I have some problem with the product_info.php file.
I insert this line in that file
PHP Code:
define('TEXT_XSELL_PRODUCTS', 'Related Products');
and upload it to includes\languages\english\mytemplate.
All of the sudden the product page goes blank. What seems to be the problem? It reappears if I remove the product_info.php file. By the way I did installed the module manager mod. I don't know if it has to do with tabbed products pro mod.
Can someone help me on this? Thank you. :(
Re: Just another Cross-Sell mod (support thread)