Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Xsell 2.3 Change Product Info Content


Recommended Posts

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.

Link to comment
Share on other sites

  • 4 weeks later...

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

 

 

xsell.jpg

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...