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 ForumsStoreStoreORDER HISTORYORDER HISTORY
Previous
 
Next
New Post
4/1/2008 8:20 AM
 

please let me know allan how can i change the status Processing to awaiting payment as the default status.Please i am waiting for a reply.this has been a critical error

tnx,
Prasad.

 
New Post
4/1/2008 11:14 PM
 

Prasad, the default state is hard coded in store core code in file checkout.ascx.cs at line 713. In this file at line 713 you will find following code snippet:

orderController.UpdateOrder(_orderInfo.OrderID, System.DateTime.Now,
"",
m_ShippingAddressID,
m_BillingAddressID,
_orderInfo.Tax,
_orderInfo.ShippingCost,
true,
1,
UserId);

In above code snippet the number "1" is nothing but the "Order Status" parameter. It is here where the default order status is set. If you change this "1" to "2", it will change the default "Order Status" to "Awaiting Payment" whenever a new order is created. The updated code should be as follows:

orderController.UpdateOrder(_orderInfo.OrderID, System.DateTime.Now,
"",
m_ShippingAddressID,
m_BillingAddressID,
_orderInfo.Tax,
_orderInfo.ShippingCost,
true,
2,
UserId);

However, you have to understand what risk this change brings to you. Consider a scenario where your visitor makes a purchase and goes to paypal and executes the payment and DOES NOT OPT TO COME BACK TO YOUR WEBSITE. In this case the order status will not be updated to "Paid" it will still be "Awaiting Payment"; this is so because the store updates the order status to Paid when the visitor comes back from Paypal back to store website. If the visitor does not return to your website from paypal then the order default status prevalis.

Ofcourse, not to mention once you make above code change you will have to compile the store project and create the new dll.

Hope above helps,

Sincerely,


www.dotnetnuke.umaisa.com dnnsupport@dotnetnuke.umaisa.com - free DNN support - www.dotnetnuke.umaisa.com/dnnsupport
 
New Post
10/31/2008 6:32 PM
 

I installed store module 02.01.00 in DNN 04.09.00. All went well, until I want to see order history. Read some posts, seems order history is in Account module, but I cannot find a setting to make it shown. Though you must figure it out. Please help. Many thanks.

Sincerely,

 
New Post
11/12/2008 2:24 PM
 

Starling, do you mean that you don't find the link to order history, or that clicking this link you don't get there, or you get there and see nothing ?

When you get into the 'cart' you should see the link on the top right. In Store 2.1.9 beta there is also a link to 'Adresses', to manage the customers adresses

 

 


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
 
New Post
11/14/2008 12:24 PM
 

"In Store 2.1.9 beta there is also a link to 'Adresses', to manage the customers adresses"

Hi Benoit,

Can you not use the address from User > Manage Profile > Address? That could be used as the main billing address and sure have a seperate "Manage Address" link in the account section (which you have in the beta version) only to manage shipping addresses? I don't see why a user would have to look after 1. Registered address with the site 2. Billing address and 3. Shipping address. A bit of a overkill if you ask me!

And rergading the links missing within account pages (in IE7) a simple fix does the job:

1. Go to {DNN Install Folder} \DesktopModules\Store\Templates\StyleSheet
2. Open File FontStyles.css
3. update .Store-Account-BtnTD { padding:0 15px 0 0; text-align:right; float:right; margin-top:-20px; }
    to        .Store-Account-BtnTD { padding:15px 15px 0 0; text-align:right; float:right; margin-top:-20px; }

Regards,

Chirag

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreORDER HISTORYORDER HISTORY


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