November Happy Hour will be moved to Thursday December 5th.

Business Foundation

Vote:
 

I need to extend the OrderGroup class.

Is there any documentation on programatically creating a Meta Data Plus class?

My second option is to create a Business Foundation object.

I am trying to figure out what would be the advantage of using business foundation oppose to creating my own table and data access?

#143389
Jan 21, 2016 20:12
Vote:
 

If you just want to extend the OrderGroup class you can add custom properties to the class in commerce manager administration.

What are you trying to achieve.  It is hard to give answer without knowing the context

#143391
Jan 21, 2016 21:07
Vote:
 

Hi Mark,

Thanks for the response.

I am trying to store email address, phone number and a password for a ananymous checkout.

If they provide a password, we will be creating the profile when the order is placed.

Currently, I created a business object with these properties and the order group id.

In the documentation, I read that meta data plus will be replaced by business foundation so that made deviate from extending Order Group or adding a new class using commerge manager.

Thoughts?

#143392
Jan 21, 2016 21:17
Vote:
 

Yeah that documentation is wrong and needs to be updated.  We will not be replacing MetadataPlus with Business foundation.  We are adding abstractions to the order system and will eventually chnage the metadata plus implementation but it will not be business foundation.  When we do change it will have an upgrade path so you should use MetaDataPlus.

We havw Email and Phone already on the OrderAddress collection on OrderGroup so you could use that to store those.  You would just need to add encrytped metafield on the Cart class to store the password

#143394
Jan 22, 2016 0:08
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.