Rank: Member
Joined: 5/21/2017(UTC) Posts: 3 Location: Lahore Thanks: 1 times
|
Hi,
I want to add a new workflow task in Process Order workflow. It will be completely new workflow task(self coded). Do you people have any guild-line document for that purpose? I want to do this in the way, that website should remain up-gradable, and when upgraded, it should not overwrite custom workflow task code.
Also if you can provide a guid-line document to develop plugin like new payment option or guild line to add new fields in database for tables like product and orders. It will help me.
Thanks & Regards, Azam.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: Azam Ali I want to add a new workflow task in Process Order workflow. It will be completely new workflow task(self coded). Do you people have any guild-line document for that purpose? I want to do this in the way, that website should remain up-gradable, and when upgraded, it should not overwrite custom workflow task code. We don't have any documentation that I can point you to, but I can give you a quick overview. You'll want to create your custom workflow step class in either /App_Code or a new assembly (i.e. don't add it to the BVC Core assembly). Once your class is created you should add it to the TaskLoader.Custom.vb class in /App_Code. The regular TaskLoader.vb class is used for all of our workflow steps in the Core; TaskLoader.Custom.vb is intended for custom code and plugins. Originally Posted by: Azam Ali Also if you can provide a guid-line document to develop plugin like new payment option or guild line to add new fields in database for tables like product and orders. Here's a link to documentation on creating a custom payment gateway integration: http://www.bvcommerce.co...ment-Gateway-IntegrationAs for custom database fields, your best bet is to use the CustomProperties property which is a collection of name/value pairs stored as XML in the database. This effectively allows you to create any number of custom fields without having to modify the database and stored procedures. If that won't work you may want to consider creating an extension table to contain your custom properties. You certainly can add a field to the existing tables, but it will require you to modify all of the corresponding stored procedures and class in the Core assembly. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
1 user thanked Aaron for this useful post.
|
|
|
Rank: Member
Joined: 5/21/2017(UTC) Posts: 3 Location: Lahore Thanks: 1 times
|
Thanks Aaron, that seems to be enough information.
|
|
|
|
Rank: Member
Joined: 5/21/2017(UTC) Posts: 3 Location: Lahore Thanks: 1 times
|
Originally Posted by: Aaron Can we add New Payment method plugin like you have Paypal Method without touching core code.There can be many other checkout options like google checkout.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: Azam Ali Can we add New Payment method plugin like you have Paypal Method without touching core code. Yes, the process is very similar. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.