Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreMaking Progmatic changes to the Store ModuleMaking Progmatic changes to the Store Module
Previous
 
Next
New Post
7/2/2009 8: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 4: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 9: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 3: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 10: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
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreMaking Progmatic changes to the Store ModuleMaking Progmatic changes to the Store Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out