Hi, i have the following structure for a tshirt online store:

Product HABTM Size
Size HABTM Product

Association table:
products_sizes

The problem is, i need a stocks system.

For example, say i have 50 pieces of S (size) for a particular tshirt,
before using cake i had a column 'stock' in the association table, so
i could retrieve the particular stock of that size, for that product,
but now with cake i dont know how i should make the association.

Any help?

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to