Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Global Product Attributes


pynchon

Recommended Posts

Posted

I am setting up a glasses website.

The problem I have relates to attributes.

Each pair of glasses has 16 lens choices, a further two options for long or short-sight and then an array of drop-downs with which to specify prescription ...

In total there are just over 600 attributes for each set of glasses.

 

I have done an experiment ... I made all the attributes for a set of glasses then ripped the generated code then hard-coded the product_info.php. This then sends the correct info to the cart. If I then add more pairs of glasses and make the choices from the array of options it only sends the frame choice to the cart and none of the options.

 

My question is ... is there a way of sending this information to the cart without having to apply all the attributes to each product.

 

With 2400 frame types x 600 attributes per pair I have estimated that the database will swell to around 200 megabytes in size.

 

If there was a way of making the 600 attributes global, so the hard-coded options would send to the cart I would be beyond grateful for a solution.

 

 

If this question doesn't make sense please say so and I'll try to write a clearer version.

 

many Thanks

 

John Keiller

Posted

sorry for bumping this .... but is there any suggestions ... pointers etc

 

cheers

 

jk

Posted

Have you thought of using the custom computer creator contrib, I know its designed for making up PC's but you can edit this to suit your needs.

Posted
Have you thought of using the custom computer creator contrib, I know its designed for making up PC's but you can edit this to suit your needs.

 

 

I am currently using attribute sets plus ... once I create the sets I then apply them to each product ... however, each time I do this it adds yet another 600 attributes into the database.

Each product uses the same array of options so I'm trying to find a way of reusing the same 600 for each product i.e. I generate one group of attributes and hard-code them into the product_info.php but I have to find a way of passing the relevant info into the shopping cart.

Posted

HI,

Hmmm.. I was going to try to use Attribute Set to solve my same issues. I found this support link which might help you.

http://www.oscommerce.com/forums/index.php?showtopic=173616

 

Keep me posted if you find solutions.

Thanks!

:thumbsup:

MV

 

 

I am currently using attribute sets plus ... once I create the sets I then apply them to each product ... however, each time I do this it adds yet another 600 attributes into the database.

Each product uses the same array of options so I'm trying to find a way of reusing the same 600 for each product i.e. I generate one group of attributes and hard-code them into the product_info.php but I have to find a way of passing the relevant info into the shopping cart.

Archived

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

×
×
  • Create New...