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 details email is not correct. Need help.Order details email is not correct. Need help.
Previous
 
Next
New Post
7/8/2011 4:22 PM
 

I had some custom emails setup in the Language editor that seems to have been lost after the upgrade to the store module and/or the DNN 5.6.3 upgrade. Not sure which one caused the issue to be honest. None the less. I have most of them back in place, but I have some issues:

1.       The email for my store that sends the order details I have duplicated to send the same message to both the user and the customer is the following:

Thank you for placing an order with Promotional Catalog.

Please find below your order number and a summary of your order. If you have created an account, you can check the status of your order at any time by logging into our site and clicking the Order History link. If you have any questions about your order, please feel free to contact us at catalog@oups.org, or simply reply to this message.

Order Number: 1583 - Order Date: 07/08/2011 04:01

Order Contents

A061 - Wood Pencils - Yellow x 1 @ [DETAILS]  x  @

[/DETAILS].11

Sub-Total: $0.11

Shipping & Handling: $0.00

Tax: $0.00

Total: $0.11

Billing Address:

Joe Smith

7332 SB

44512 Somewhere
AQ
United States

Shipping To:

Joe Smith

7332 SB

44512 Somewhere
AQ
United States

This invoice is subject to our terms of use.

If, for whatever reason, your order cannot be processed, then one of our customer services representatives will contact you shortly.

Once again, thank you for your order.

a.       As you can see what is highlighted in bold is causing me some grief… the order details section for some reason shows the [DETAILS] tags. I have since then removed that code from the email so no one gets it… but why does this happen. Also some line items are duplicated and I am not sure why… for example… I may purchase a qty of 1 for a particular item and it would be listed more than once…

Ultimately I just need to have the order details. Back to normal – detailed list of products without the details tags.

b.      The section where there persons information is has some spacing that should not be there… would you happen to know why?

2.       In regards to the shipping and billing address. How can I have it allow for the client to enter the Company name. This field is in their profile… but there is no line item when checking out for this to part parsed into? Also… The phone number is present, but how do I get this to show in this email?

 

Any advice you can provide with these would be greatly appreciated.

 
New Post
7/8/2011 9:28 PM
 
Hi James,

Your previous email template have been loosed because the upgrade of the Store module. Normally, you have to backup your language resources files before to upgrade. To avoid this, you can modify your module resources at the site level instead to use the 'System' level.
If you have a backup of your folders before the upgrade, you could extract the file ..\DesktopModules\Store\Providers\GatewayProviders\EmailProvider\App_LocalResources\EmailPayment.ascx.resx and copy the content of the resource strings: AdminOrderEmailBody.Text and CustomerOrderEmailBody.Text.

1) The content of your email template is wrong. Probably than your have two [DETAILS] tokens inside. The template between 'Order Contents' and '
Billing Address:' should be:

[DETAILS]
[OrderDetail:ProductTitle] x [OrderDetail:Quantity] @ [OrderDetail:ExtendedAmount]
[/DETAILS]

Sub-Total: [Order:OrderTotal]
Shipping & Handling: [Order:ShippingCost]
Tax: [Order:TaxTotal]
Total: [Order:GrandTotal]

Blank lines between user's addresses are present because the corresponding tokens are empty! If you never uses them, you can remove them from your email template.

2) The default Address provider read the user profile to get some values then an order or Store address is created. Currently you can't select which user's fields have to be used. In a future version, I will change that. In the meanwhile you could create your own Address provider with your rules.

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/8/2011 10:50 PM
 
Gilles,

Thanks for the prompt reply. I fixed the issues by making sure that the language files were set all the same via the Site, Host and System... There must have been some discrepancy between them, I did not realize they could be set differently. None the less. I set them all the same and now the email comes in fine.

As far as the telephone and company are concerned. I will wait for the version that supports this. I hope it is slated for a release in the not to distant future ;)

However all in all, I am back in order. Thanks again. Have a great weekend.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreOrder details email is not correct. Need help.Order details email is not correct. Need help.


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