just wondering...
i have cross-sell installed and working great. however, if I add more than 3 products it goes to another row. is there something I can do to adjust the columns per row for cross-sell?
thanks in advance.
just wondering...
i have cross-sell installed and working great. however, if I add more than 3 products it goes to another row. is there something I can do to adjust the columns per row for cross-sell?
thanks in advance.
can somebody point me where to change these color as it is hard to see because of the white font...see attachmenets!![]()
[FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT][FONT=Comic Sans MS]GOOD LUCK !!![/FONT]
tajul_ashyqin:
try admin/xsell.php
colours seem to be defined in this file.
Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca
For IT solutions how you want IT, when you want IT, TRUST IT.
go to includes/modules/YOUR TEMPLATE NAME/xsell_products.phpOriginally Posted by pensive612
in the version i have, line 31, or look for:
change the number 2. Basically this is saying if it is greater than 3 columns, add a new row. So if you wanted 6 items on a row, you would change this to 5.Code:if ($col > 2) {
let me know how it works out.
Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca
For IT solutions how you want IT, when you want IT, TRUST IT.
I'm trying to show the product model number between product name and product price within the 'Related Products' block at the bottom of the product info display.
Anyone who has ever done that?
Located the probable position of the code to change at line 49 of the includes/modules/xsell_products.php file being:
$list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsCrossSell centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => '<a href="' . zen_href_link(zen_get_info_page($xsell_query->fields['products_id']), 'products_id=' . (int)$xsell_query->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $xsell_query->fields['products_image'], $xsell_query->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . zen_href_link(zen_get_info_page($xsell_query->fields['products_id']), 'products_id=' . $xsell_query->fields['products_id']) . '">' . $xsell_query->fields['products_name'] . '</a>' . (XSELL_DISPLAY_PRICE=='true'? '<br />'.zen_get_products_display_price($xsell_query->fields['products_id']):'') );
Tried several syntaxes but all failed causing the entire 'Related Product' block not to load. Must be missing a database call at line 23 but none of my attempts worked.
Could somebody please help me with this modification?
Forgive me if I've missed this issue elsewhere, but I'm having an issue since I upgraded to 1.3.5 and also upgraded to IH for 1.3.5. I also have the Cross-sell mod installed, and I think there's an issue between the new IH and the Cross-sell mod (for 1.3.0).
In my upgraded site, when I go to IH in the admin section to add an additional picture, it is also showing all of the photos for anything that is a cross-sell for that item. So, what ends up happening is that all of the cross-sell photos are displayed twice on the product page - as additional photos directly under the main product photo, and also at the bottom of the page under "We also recommend...". This only seems to be happening to products where I go in to add an additional photo, but not to other pages with no additional photo, even if they also have defined cross-sell products.
Here's an example of a page showing the problem: http://superbuzzy.com/index.php?main...roducts_id=294
I went to add the picture with the finished bags, and found that all of the cross-sell pictures were displayed as additional pictures as well. Does anyone have a suggestion as to what might be going on? There isn't yet a Cross-sell mod update for 1.3.5, so that may be part of the problem... Thanks!
How are you naming your images before you upload them? Are there any similarities between the naming? For example, if you name an image: product, and another product2, the product2 image will show up as an additional image for product.
the problem is the module using $HTTP_GET_VARS and you probably are using a host or have PHP.INI on your server set to have register_globals turned off.
http://www.zen-cart.com/forum/showthread.php?t=45220
in admin/xsell.php replace all $HTTP_GET_VARS to $_GET and it will start working when you get it uploaded to your host/server.
Is this to say we have to open the Globals to use cross sell????