Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Custom Product Edit/Display Templates


Guest

Recommended Posts

Hello, I am not terribly familiar with OSC and need to modify the way it displays product data to the visitor and the administrator. I thought it might help if I presented what I intended to do in the hope that someone will advise me.

 

I need to add two new templates to OSC. One for Editing a specific type of product, and another one for displaying this product to the store visitor. This is because these products have a large number of special attributes and a GUI is required to adjust/view them.

 

The second thing I need to do is have a new table for all these product specific attributes, this is to stop the large number of attributes from polluting the rest of the OSC store engine.

 

Access to the two new templates will be done by adding a new product attribute called 'ProductTemplateType' and the value will reflect what template should be used. (If none is given the normal OSC templates will be used.)

 

The new table of product specific attributes will be referenced by the 'products_id' given in the normal products table.

 

Does this seem like a reasonable approach?

 

Thanks,

Jotham.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...