Download DOWNLOAD
Forums FORUMS
Blogs BLOGS
Forge FORGE
Help HELP
Marketplace MARKETPLACE
DotNetNuke Home
You are here >   Community > Forums
Register  |  Login

DotNetNuke Forums

DotNetNuke ForumDotNetNuke ForumDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsStoreStoreMaking Progmatic changes to the Store ModuleMaking Progmatic changes to the Store Module
Previous
 
Next
New Post
7/2/2009 6:13 PM
 

Hi, this post is directed at Giles and/or other DNN programmers who are able to comment on my questions.

I have been attempting to make changes to my local DNN store application. (using VS2008 and SQL Express 2008)
Thanks to Giles in previous posts who assisted me in getting the development environment up and running.

I am looking to impliment downloadable media using the store. The core store suits my purposes well apart from the need to add various new fields to the products / orders tables. (I done the exact same changes with "Commerse Starter Kit" some years ago)

OK this is my issue: I am having no success in adding new fields to the Products table for example. Lets say i want an additional new field "IsDownload" (bit) I can happily add this field to the table, then alter the select stored proc to suit... fine, However when i follow the code through to the create and updates, there are functions that are littered all over the place and i have to say i am now totally lost as to how to make changes to the store.

Q: is there a particlar methodology to adding new fields?
Is there a "script" that regenerates the \Store\Catalog\Providers\DataProviders\SqlDataProvider\SqlDataProvider.cs code ? as well.
These are general "why and how" questions... so,
What general advise can someone give me to get me started on progmatically changing this store?

I believe i am quite competent in conventional .net n-tier coding, however the sheer extent of the store code has got me stuck.

Thanks you guys for any advise or help !

New Post
7/3/2009 2:57 AM
 

Maximus, can you be more specific on this : there are functions that are littered all over the place ? I'm not sure to understand exactly what happens to your additional fields.

FYI one of the discussion we have with Gilles is a plan to add generic fields (say f1 to f10) that would have no predetermined business logic but would be there as placeholders for any additionnal property in the product table. Of course english developpers would have to 'translate' these field names in the resource files like any other non-english speaking developper, since the field name in the database would be meaningless.

 

 

 


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
New Post
7/3/2009 7:59 AM
 

Hi Maximus,
first: read and understand “DotNetNuke Data Access” from dnn documentation.
Next steps:

  1. Edit ProductInfo object (project Catalog)
  2. Edit DataProvider
  3. Edit SqlDataProvider
  4. Edit sql stuff: stored procedures and tables

I hope this “general” advice helps you...

 

New Post
7/3/2009 1:24 PM
 

Thanks Benoit and Jan,

In particular the "DotNetNuke Data Access" documentation is just what i need to get a better understanding of the structure.

 

New Post
7/12/2009 8:48 AM
 

Maximus wrote
 

Hi, this post is directed at Giles and/or other DNN programmers who are able to comment on my questions.

I have been attempting to make changes to my local DNN store application. (using VS2008 and SQL Express 2008)
Thanks to Giles in previous posts who assisted me in getting the development environment up and running.

I am looking to impliment downloadable media using the store. The core store suits my purposes well apart from the need to add various new fields to the products / orders tables. (I done the exact same changes with "Commerse Starter Kit" some years ago)

OK this is my issue: I am having no success in adding new fields to the Products table for example. Lets say i want an additional new field "IsDownload" (bit) I can happily add this field to the table, then alter the select stored proc to suit... fine, However when i follow the code through to the create and updates, there are functions that are littered all over the place and i have to say i am now totally lost as to how to make changes to the store.

Q: is there a particlar methodology to adding new fields?
Is there a "script" that regenerates the \Store\Catalog\Providers\DataProviders\SqlDataProvider\SqlDataProvider.cs code ? as well.
These are general "why and how" questions... so,
What general advise can someone give me to get me started on progmatically changing this store?

I believe i am quite competent in conventional .net n-tier coding, however the sheer extent of the store code has got me stuck.

Thanks you guys for any advise or help !

 

This is (I think) what I would like to do with the store module as well; sell original music mp3's using the store and then allowing download of the selected song.  Unlike the above individual, I am not a good programmer and wondered if there is a way using dnn store module to list mp3's in the store, allow customers to select buy now, proceed to checkout using paypal then make the file avaliable for download.  I've got the store up and running but don't know where to go from checkout via paypal.  Can anyone help?

Thanks,

jlbuchan

Previous
 
Next
DotNetNuke ForumDotNetNuke ForumDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsStoreStoreMaking Progmatic changes to the Store ModuleMaking Progmatic changes to the Store Module

Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Networks

Follow DNNCorp on Twitter

LinkedIn

Follow us on Twitter @DNNCorp or join the DotNetNuke Community on LinkedIn

Sponsors

DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation

Hosted by MaximumASP