Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

how does OrderItem table link to the Product now?


Go to End


2 Posts   923 Views

Avatar
wildflower1975

Community Member, 63 Posts

27 July 2011 at 4:42pm

It use to link via the BuyableID but now I can't figure out the link from browsing the DB.

I'm using 0.8.2-rc21

cheers
Haydn

Avatar
wildflower1975

Community Member, 63 Posts

28 July 2011 at 10:02am

In Version 0.8 (burnbright branch?)
I think it's using the Product_Orderitem table to link to the Product Version and ID

in trunk
it uses the Orderitem table to link to the BuyableID and Version of the Product