This topic is locked

Shopping Cart email questions

7/14/2011 11:45:17 AM
ASPRunnerPro General questions
M
mfred author

I posted these questions in the shopping cart forum but had not seen replies so I am unsure how that forum is monitored. I have about 2 weeks to implement a shopping cart for a client so I am also posting these questions here. Here are my questions, divided by dashed lines:
----------------------------------------------------------------------

I am working with the shopping cart template for the first time. Overall, things look pretty good. But I have issues with the email. I am currently using the default "placed" email template. The resulting email is shown below. My email client is set to view in HTML but it looks like the shopping cart system is not sending in the HTML format for which the email template is setup.
<P><STRONG>Thanks for your order, mocaler@gmail.com!</STRONG> </P>

<P>Want to manage your order online? If you need to check the status of your order or make changes, please visit our home page at test.com, login and edit your orders. </P>

<P><STRONG>Purchasing Information:</STRONG> </P>

<P><STRONG>E-mail Address:</STRONG> </P>

<P><STRONG>Billing Address:</STRONG> <STRONG>Shipping Address:</STRONG> Maurice Caler6300 GulftonHoustonTX77081US </P>

<P><STRONG>Order Grand Total:</STRONG> 47.7 </P>

<P><STRONG>Order Summary:</STRONG></P>

<P><FONT face="Arial, Helvetica, sans-serif">Where can I get help with reviewing or changing my orders? <BR></FONT><FONT face="Arial, Helvetica, sans-serif">To learn more about managing your orders on shopping-cart.com, please visit our Help pages at test.com/help/. <BR>Please note: This e-mail message was sent from a notification-only address that cannot accept incoming e-mail. Please do not reply to this message. <BR>Thanks again for shopping with us.</FONT> </P>
----------------------------------------------------------------------

I need to setup an email to the seller that shows all the order details such as items orders, quantities and shipping address. I tried both the "send simple email" and "send email with new data" in the "after record added" on the shopsales_order_main. The best that I get is with the "send email with new data". This shows the shipping address but not the items orders, etc.

Sergey Kornilov admin 7/15/2011

The Shopping Cart template sends out emails in text format by default. You will have to switch to sending your own email notifications you need to send HTML emails.
In regards to adding order items to the email - this needs to be coded manually. You will need to write a SQL query that pulls all order items for the current order and loop through them adding each order item to the email body.

M
mfred author 7/15/2011

I was assuming the shopping cart would already be programmed to send order details in the email. But I am Ok with adding code. I am unsure of what to write and where to place it. Do you have any samples?