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 ForumsStoreStoreShipping Provider for Store ModuleShipping Provider for Store Module
Previous
 
Next
New Post
7/5/2011 10:58 AM
 
Hi, I have a newly installed version of DNN 05.06.02 installed with the Store Module Version 3.  I need a usps shipping provider to calculate shipping rates and provide shipping labels.  Is there anything out there like this.  I am using Pay Pal as the payment gateway.  Should I use Pay Pal for the shipping labels as well, but that still leaves me with the shipping rate calculation problem.  Is there an easy way to install a default usps shipping provider?







Thanks in advance,



MJMurton



 
New Post
7/7/2011 9:48 AM
 
Hi,

I don't know if an USPS provider exist, but if you have a strong knowledge in C# you can create your own.
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
7/10/2011 4:03 PM
 
Hi Giles,

My C# is not strong but it will be.  I have decided to use pay pal to handle shipping for now, but what I am working on is adding products and deleting products programmatically.  I noticed stored procedures in the database that are for this purpose my problem is that the catalog doesn't update, which makes me believe there is code in the ubdate event that "refreshes" the catalog.  Is there a way to add/delete products just using calls to the database?

Any help on this would be greatly appreciated,
Thanks,
MJMurton
 
New Post
7/11/2011 8:34 AM
 
Hi,

To provide the best performance, the Store module use several data cache (categories, products, ...). When something is updated using the Store interface, the cache is refreshed and your changes are displayed. If you use directly the sp to create/update categories and products, the data cache is NOT refreshed. The only way is to "touch" the DNN web.config file to restart your DNN instance, in this case the data cache will be refreshed.
A far better way, is to create/update the catalog by code. In your project, add a reference to DotNetNuke.Modules.Store.Catalog.dll and use the Categories and Products controllers to create/update your catalog, this way the data cache is always refreshed.
Normally, with applications using n tiers (like the Store module) you should never call sp directly because you could break business rules! The goal of an n tiers model is to separate layers (UI layer, Business layer, Data layer) from each other.

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
7/11/2011 9:12 AM
 
Hi Giles,

I have never heard it called n teirs before but I basically understand the idea of mvc, model-view-controller.  Now I would be happy enforcing the business roles myself through the sql requests.  My main problem is that I am going to have to hit my dnn store module and update it from a webservice running on another server which will track Quickbooks Point of Sale inventory and Inventory on Amazon simultaneously and the idea is to update the inventory on the store module based on this data.  Now I could probably create a web service on the same server as my store module that utilizes the business tier of the strore module, but I don't really know how to do that and I am in production now.  So to "touch" the web.config file from an outside server to refresh the cache would require what?  I know that I could have someone physically go to the server open the config file and close it and that would probably do the trick but that kind of defeats the purpose of programmatically updating inventory. 

Thank you for all of the input so far, I really am suprised at the level of participation on this forum especially by you, and want you to know it is definately appreciated.  I have been a fan of dnn and would like to see this module grow in importantance and functionality while remaining a standard part of the dnn community.  I must admit I wish I was a little more sophisticated as far as dnn is concerned.  Anyways, thanks again.

MJMurton
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreShipping Provider for Store ModuleShipping Provider for 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