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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1199 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