Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Your order has been sucessfully processed email

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-08-2003, 09:53 AM
 
lplayer@3darchitect.co.uk lplayer@3darchitect.co.uk is offline
 

Member
  
Join Date: Apr 2003
Location: Hampshire/Surrey UK
Posts: 20
 

Default Your order has been sucessfully processed email

As far as I can see order_notification_admin.tpl is responsible for sending the order department the order detail layout.

# Notify orders department by email / func_send_mail/ in func.php

What I do not understand is that this .tpl contains:

{$lng.lbl_customer_info}
{$lng.lbl_billing_address}
{$lng.lbl_shipping_address}

as well as the {include file="mail/order_data.tpl"}

but the email doesnt actually contain any address details, only the order details.

I was wanting to create a different layout for the order department and was intending to use order_notification_admin.tpl as the basis of my new layout.

So the question is: Why do I not see the Billing/Shipping details in the Your order has been sucessfully processed email?
Reply With Quote
  #2  
Old 05-12-2003, 09:16 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

The standard code for the order_notification_admin template:

Code:
{* $Id: order_notification_admin.tpl,v 1.7.2.1 2003/01/31 07:12:12 svowl Exp $ *} {config_load file="$skin_config"} {assign var=where value="A"} {$lng.eml_this_is_order} {$order.orderid} {$lng.eml_notification}. {$lng.lbl_order_id}: #{$order.orderid} {$lng.lbl_order_date}: {$order.date|date_format:"%d.%m.%Y %H:%M"} {$lng.lbl_order_status}: {$order.status} {$lng.lbl_customer_info}: --------------------- {$lng.lbl_username}: {$order.login} {$lng.lbl_first_name}: {$order.firstname} {$lng.lbl_last_name}: {$order.lastname} {$lng.lbl_billing_address}: ---------------- {$lng.lbl_address}: {$order.b_address} {$lng.lbl_city}: {$order.b_city} {$lng.lbl_state}: {$order.b_statename} {$lng.lbl_country}: {$order.b_countryname} {$lng.lbl_zip_code}: {$order.b_zipcode} {$lng.lbl_shipping_address}: ----------------- {$lng.lbl_address}: {$order.s_address} {$lng.lbl_city}: {$order.s_city} {$lng.lbl_state}: {$order.s_statename} {$lng.lbl_country}: {$order.s_countryname} {$lng.lbl_zip_code}: {$order.s_zipcode} {$lng.lbl_phone}: {$order.phone} {$lng.lbl_fax}: {$order.fax} {$lng.lbl_email}: {$order.email} {$lng.lbl_url}: {$order.url} {if $config.General.show_cc_info eq "Y"} {$lng.lbl_credit_card_information}: ------------------------ {$order.details} {/if} {include file="mail/order_data.tpl"} {include file="mail/signature.tpl"}


The $lng.lbl etc... are the labels for the address details from the languages area. the customner details are held in the {$order.b_address} bits.

hth
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 05-13-2003, 08:04 AM
 
lplayer@3darchitect.co.uk lplayer@3darchitect.co.uk is offline
 

Member
  
Join Date: Apr 2003
Location: Hampshire/Surrey UK
Posts: 20
 

Default

Sorry, I was not clear about the problem:

Here is the the email I get, I assume from order_notification_admin template, so why does it not contain the details listed in the stanard template which I have not edited? (specifically the address details)


Dear sarwar!

Your order has been successfully processed.

Order id: #63
Order date: 11.05.2003 03:44




Products ordered:
-----------------

Product Code: 100001
Product: ArCon+5
Quantity: 1
Item price: бё 153.18

Total:
-------
Payment method: Credit Card (Protx VSP Form)
Delivery: 1st Class Post
Subtotal: бё 153.18



Discount: бё 0.00
Coupon saving: бё 0.00 ()
Delivery cost: бё 2.50
VAT: бё 26.81

Total: бё 182.49



--
Thank you for using Online Warehouse

Phone: 44 (0) 1420 520023
Fax: 44 (0) 1420 22807
URL: www.online-warehouse.co.uk
Reply With Quote
  #4  
Old 05-13-2003, 09:22 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

If I undertsand your question correctly, the processed notification template is order_customer_processed.tpl.

Here are the contents.

Code:
{* $Id: order_customer_processed.tpl,v 1.13 2002/10/22 05:45:16 alfiya Exp $ *} {config_load file="$skin_config"} {$lng.lbl_dear} {$customer.firstname}! {$lng.eml_order_processed} {$lng.lbl_order_id}: #{$order.orderid} {$lng.lbl_order_date}: {$order.date|date_format:"%d.%m.%Y %H:%M"} {if $order.tracking} {$lng.lbl_tracking_number}: {$order.tracking} {/if} {include file="mail/order_data.tpl"} {include file="mail/signature.tpl"}

This should explain why you are not getting the address info. It is not in the template.

Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:52 PM.

   

 
X-Cart forums © 2001-2020