Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products as Objects


Xarin

Recommended Posts

Are there any contributions that let you treat products as simple objects? Like having a product variable that defines 'product type' and that affects the definition of information in a related array?

 

Ex:

 

One product has type 'Book' which has the qualities of 'No. of Pages,' 'Author' and 'book type' (hardcover, softcover, etc.)

 

Another product has type 'Dvd' which has the qualities of 'Movie Length,' 'Director' and 'movie type' (action, documentary, etc.)

 

Can't seem to find anything like this, so I figured I'd ask. ;)

 

Thanks

Link to comment
Share on other sites

Entering the product is fairly easy as you can add those fields in admin. I am trying to do something similar in that when i go to add the items in admin, if i chosse the books category I want it to display the general fields or all items, plus the specific fields pertinent to each category - a big headache.

The biggie is to get the catalog to be smart about the category so that if in books then the display list is picture, prod desc, author, etc or as applicable to each category.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...