Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

html in product pages - could I use stylesheet to do this instead ?


sheepiedog

Recommended Posts

I put html in all my product pages via the product description, including, changing font color and size just to make an interesting nice layout. I put a line with larger and colored text at the top and bottom of the standard product description

 

My database is now over 100 mb with nearly 8000 products. I am thinking I can greatly cut the 100mb down if I used stylesheet entries for the colored larger lines at the top of each product description, but I am not sure if it is possible to enter stylesheet entries into the product description area of each product.

 

Can someone advise if this is possible and how I would go about doing it? and would this significantly reduce the size of my database?

Link to comment
Share on other sites

I put html in all my product pages via the product description, including, changing font color and size just to make an interesting nice layout. I put a line with larger and colored text at the top and bottom of the standard product description

 

My database is now over 100 mb with nearly 8000 products. I am thinking I can greatly cut the 100mb down if I used stylesheet entries for the colored larger lines at the top of each product description, but I am not sure if it is possible to enter stylesheet entries into the product description area of each product.

 

Can someone advise if this is possible and how I would go about doing it? and would this significantly reduce the size of my database?

 

 

Yea, you can do it I would make a 2nd style sheet up and only call it when on your product page. How much it going to remove depends on how much fat you are able to pull out. Best bet would be to use mysql and replace common portions. This is going to be alot of work..

Link to comment
Share on other sites

Yea, you can do it I would make a 2nd style sheet up and only call it when on your product page. How much it going to remove depends on how much fat you are able to pull out. Best bet would be to use mysql and replace common portions. This is going to be alot of work..

The amount of work doesnt bother me. I just dont know the first thing I need to do. How would I call the stylesheet from each product description ? I was thinking I could just make a stylesheet entry in the product entry page.... can you be more specific on how I would go about doing this?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...