gabrielthegray Posted January 14, 2007 Share Posted January 14, 2007 I have installed xsell 2.3 and all is working well. I want to change the layout of the xsell products. I want to change the image size from small to subcategory, remove the price and buy now button. In the file catalog/includes/modules/xsell_products.php it looks like the place to do it. But so far no luck with any of my mods showing up. The code I believe outputs the xsell product list... $text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a><br>' . $xsell_price. '<br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'; I have played with altering this info in all kinds of ways and nothing ever changes in the xsell box. Can anyone point me in the right direction? I also searched around this and other forums for any hints...no luck yet. Quote Link to comment Share on other sites More sharing options...
gabrielthegray Posted January 14, 2007 Author Share Posted January 14, 2007 I was right, that is the right file and info. It just does not update unless I delete the product I am xselling on. Cache setting maybe? If anyone knows how to fix/set this I would be greatful. Quote Link to comment Share on other sites More sharing options...
gabrielthegray Posted January 14, 2007 Author Share Posted January 14, 2007 I fixed this by going back to xsell 2.2, which is before the caching. I could not use the caching anyway since I am on a shared server. So I just thouhgt I would document this for anyone who might need this info. I hope this is not miss-use of this forum. Quote Link to comment Share on other sites More sharing options...
frenchflies Posted February 6, 2007 Share Posted February 6, 2007 I had similar problem with version 2.3. b/c MySQL is on safe mode, I couldn't change layout and could only have my cache folder directly under root. So I changed it to version 2.2. It works fine now, except for when I open a product in Cross sell admin, all product images disappears! Any idea why? All my products have image, they showed when I was using 2.3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.