X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Registration (https://forum.x-cart.com/showthread.php?t=1198)

Ozzie 01-16-2003 02:02 PM

Registration
 
I have a minor glitch: when a customer goes to Register, one of the non-mandatory fields is 'State'. Customers (from the USA, for example) fill this in and complete the registration - but their State does not appear in any of the e-mails they receive from the shop - even if they place an order. And nor does it appear in the Customer info part of the Order, if we go to check this - we have to go to 'Manage Customers' to dig it out.

Not really a problem - except that they usually e-mail us saying that we haven't listed their State in their address in the 'order confirmation' e-mail and they are worried that we don't have it and that the product won't be delivered.

Any clues folks? TIA

Jeannie 01-16-2003 02:21 PM

does your mail/order_invoice.tpl have this?

Code:

{$lng.lbl_country}:    {$order.b_countryname}

and for shipping
Code:

{$lng.lbl_country}:    {$order.s_countryname}

these should also be in mail/signin_notification.tpl

Ozzie 03-31-2004 04:06 PM

State not showing in addresses
 
Hi Jeannie,

Thanks for this, sorry it has taken me so long to get back to you, I've been away since the original post.

My problem is with the State, not the country.

The mail/order_invoice.tpl is as follows:

{* $Id: order_invoice.tpl,v 1.9 2002/10/25 12:40:11 alfiya Exp $ *}
{config_load file="$skin_config"}
{$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_first_name}: {$order.firstname}
{$lng.lbl_last_name}: {$order.lastname}
{$lng.lbl_phone}: {$order.phone}
{$lng.lbl_fax}: {$order.fax}
{$lng.lbl_email}: {$order.email}
{$lng.lbl_url}: {$order.url}

{$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}

{include file="mail/order_data.tpl"}

- and my mail/signin_notification.tpl has this:

{* $Id: signin_notification.tpl,v 1.5 2002/10/25 12:40:11 alfiya Exp $ *}
{$lng.lbl_dear} {$userinfo.firstname}!

{$lng.eml_you_have_been_registered}

{$lng.lbl_your_profile}:
---------------------
{$lng.lbl_username}: {$userinfo.login}
{$lng.lbl_password}: {$userinfo.password}

{$lng.lbl_first_name}: {$userinfo.firstname}
{$lng.lbl_last_name}: {$userinfo.lastname}

{$lng.lbl_billing_address}:
{$lng.lbl_address}: {$userinfo.b_address}
{$lng.lbl_city}: {$userinfo.b_city}
{$lng.lbl_state}: {$userinfo.b_statename}
{$lng.lbl_country}: {$userinfo.b_countryname}
{$lng.lbl_zip_code}: {$userinfo.b_zipcode}
{$lng.lbl_shipping_address}:
{$lng.lbl_address}: {$userinfo.s_address}
{$lng.lbl_city}: {$userinfo.s_city}
{$lng.lbl_state}: {$userinfo.s_statename}
{$lng.lbl_country}: {$userinfo.s_countryname}
{$lng.lbl_zip_code}: {$userinfo.s_zipcode}
{$lng.lbl_phone}: {$userinfo.phone}
{$lng.lbl_fax}: {$userinfo.fax}
{$lng.lbl_email}: {$userinfo.email}
{$lng.lbl_url}: {$userinfo.url}

{include file="mail/signature.tpl"}

- It all looks like it SHOULD work, doen't it?

Ozzie


All times are GMT -8. The time now is 01:58 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.