Stella,

or anyone else who might know this one...

I feel I'm missing something here and wonder if you can guide me.

I use Ubercart to display a list of product images. THey can click on an image to display the full node for that product. So, I have a page-node-lightbox2.tpl.php file which display the product as I need.

This tpl file also displays the Ubercart generated Add to Cart button.

If I display the node in lightbox2 as lightmodal then the Close and Add to Cart button work ok, both shutting down the lightbox 'window'. However if then then open up a new product in Lightbox the whole previous node details are shown briefly before being refreshed with the new product's data.

After searching I find you advise using lightframe fo dsplaying full nodes, as the tpl file mentioned above toes have all the print styles, header, html tags etc..

On changing to lightframe, the issue where previous content is briefly displayed goes away. The close button works as expected, and the Ubercart Add to Cart button works as expected BUT displays the Ubercart shopping cart in the lightbox iframe.

So my question, is there anyway for a lightmodal not to display previous content, or can i somehow inject js to the Add to Cart button to close the lightbox ifram first ?

Any help appreciated.

Thanks,
Keith