Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stylesheet conflicts when includes used externally


Guest

Recommended Posts

Posted

A client of mine required that the special offers or new products appear on the index.php page of his standard site, external to OSCommerce shop system.

 

I "eventually" managed to get this to work, re: http://barbecue-ireland.com/index.php

 

However, the panel appeared with no styles, so I added your stylesheet and it then interfered with my own styling.

 

Just a small suggestion, but would it be possible to add class prefixes to all styles, eg class="tep_whatever" ?

 

I also had to manually reconnect TEP to it's db, the site had two dbs, and for somereason TEP fuctions where trying to connect to the wrong DB, this was fixed by inserting a tep_db_connect() before the inclusion of app_top.

 

Thanks for your time.

Posted

Sorry that should have been.....

 

tep_db_connect() before inclusion of new_products.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...