Products

Solutions

Resources

Partners

Community

About

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 ForumsStoreStoreI want to Customize Store Module.................I want to Customize Store Module.................
Previous
 
Next
New Post
8/30/2007 1:37 PM
 

Thanks Gilles. The store module is working great so far. I can access all the features. But i have a problem

I am trying to customize the module. For example display only the product name without Mfr name and Model in the Cart screen under Product Title. I am modifying the ItemInfo.cs class for this. Commented the unwanted lines in ProductTitle property. But this is not reflecting in run time. Any changed i do in the HTML view of .ascx file will reflect but not the changes in classes.

Do i have to copy all the class files in to App_code folder? If so what all folders should be copied? Should i create a subfolder under App_Code?

Please help me out. Thank you

 
New Post
8/30/2007 8:33 PM
 

Hi Ram,

I think you use Store 01.00.01, no? If it's true, do you rebuild the solution after applying your modifications?

You do not have to copy any file inside the App_Code folder. It's a little bit long to explain, but I try. Currently, there is three different programming models used by DotNetNuke.

  • The Library model: This is the old model used by DNN 3.x and previous versions. All modules created for DNN 3.x use this model and .Net 1.x. The Store module 01.00.01 use it too, because the project start with DNN 3.x. For being able to modify this modules you must use Visual Studio 2003. Alternatively, you can convert it for Visual Studio 2005 Professionnal, but this require a lot of work.
  • The WSP model: When Microsoft released .Net 2, this new programming model was used for part of DotNetNuke 4.x and for some new modules like the last versions of the Survey module. The main advantage is that you can create a module with the free version of Visual Studio 2005 (VS Web Express). This model use the App_Code folder, any source class inside this folder are dynamicaly builded when DNN call it. With this model, you can use the new debug mode "Edit & Continue".
  • The WAP model: This last model was created by MS because most companies find a big limitation to the WSP model. Because the use of the App_Code, they must give the source code of their modules! For protecting intellectual property, this model was released, firstly as a patch for VS 2005 Professionnal only, then included with VS 2005 Professionnal SP1. You can't create or modify a module using this model with VS Web Express! The future version of Store (02.01.00) and WWStore 02.00.08 use this model.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
8/31/2007 2:17 AM
 

Thanks Gilles.Ya i am using Store 01.00.01 only and also build the Solution.But as you told me to rename DnnStore.resources file to DnnStore.Zip file,I did it and i Uploaded that zip file only to DotNetNuke other than uploading total Store 01.00.01 file.It is working properly,but i am not able to customize as cant see the flow of the code. I cant Change the ProductTitle in this module. Can u please help me.

Thank you

 

 
New Post
8/31/2007 3:09 AM
 

Only Store 01.00.01 ia available know.Or is there any Updated Version available

 
New Post
8/31/2007 7:58 PM
 

Hi Ram,

You can try WWStore 02.00.08 available at www.dotnetnuke.fr. I added lot of tokens in this version. For doing what you need, you just have to look at the template files. You find it inside ..\DesktopModules\WWStore\Templates. The token [MODELNAME] display only the name of the product and the token [TITLE] display the complete name (manufacturer + modelname + nodelnumber).

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreI want to Customize Store Module.................I want to Customize 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