On my installation, with SEO URLS, the Buy It Now button was showing the parent product's ID and not its own.

In catalog/includes/modules/xsell_products.php

//Cache
$text = '' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '
' . $xsell['products_name'] .'
' . $xsell_price. '
' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'';

I stripped out the

tep_get_all_get_params(array('action')) .

and it seems to work.

As I am not a great expert at this, do please test the heck out of it before you go anywhere near a production system!

This zip contains only the updated includes/modules/xsell_products.php file.


More...