Hi,

When I use hasAndBelongsToMany, but my join table had other attibutes,
how I save this fields?

For example:
customers (id)
products (id)
--> customers_products(id, customer_id, product_id, quantity,
total_price) <--

When I save a customer I want save relational products too, with
quantity and total_price.
I tried some alternatives, but cake always saves only the keys (id,
curtomer_id, product_id) without the other attributes (quantity and
total_price).

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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