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

How to set number of digits for zipcode and phone number?

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-04-2021, 11:06 PM
 
john.hodson@iinet.net.au john.hodson@iinet.net.au is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 68
 

Default How to set number of digits for zipcode and phone number?

Hi,

Is there a way to set the number of digits for phone number to 10 digits? This is a new required field that we added in Cart and Checkout, but we have customers putting in phone number that is missing a digit too often.

Similarly, is there a way to set the post code (zipcode) to 4 digits. At the moment, the checkout form shows 5 digits for postcode.

Also, where can I change the word "Invoice #xxxx" to "Tax invoice #xxxx"?

Thank you.
John
__________________
John
XCart Business v.5.4.1.48
Reply With Quote
  #2  
Old 05-05-2021, 01:27 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default Re: How to set number of digits for zipcode and phone number?

Quote:
Originally Posted by john.hodson@iinet.net.au

Also, where can I change the word "Invoice #xxxx" to "Tax invoice #xxxx"?





That will be under Store Setup >> Translations.


Click on English



/admin.php?target=labels&code=en


and search for Invoice


Then just edit Invoice X
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 05-07-2021, 01:54 AM
 
john.hodson@iinet.net.au john.hodson@iinet.net.au is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 68
 

Default Re: How to set number of digits for zipcode and phone number?

Hi Paul,

Tried it but does not seem to work. I changed from "Invoice" to "Tax invoice"; and "Invoice #{{orderId}}, {{time}}" to "Tax invoice #{{orderId}}, {{time}}". However, no success.

Any further thoughts?

Thank you.
John
__________________
John
XCart Business v.5.4.1.48
Reply With Quote
  #4  
Old 05-07-2021, 02:31 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default Re: How to set number of digits for zipcode and phone number?

Could be a different variable - but they sound like the right ones.
Use the template editor to double check maybe.


Also, you could try rebuilding the shop, or clearing cache to make sure that the change has taken.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 05-07-2021, 11:50 PM
 
john.hodson@iinet.net.au john.hodson@iinet.net.au is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 68
 

Default Re: How to set number of digits for zipcode and phone number?

Thank you. Have now rebuild the store. Will have to wait for the next order to see if that has changed anything. Thank you again and have a good weekend.

Cheers,
John
__________________
John
XCart Business v.5.4.1.48
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 03:37 PM.

   

 
X-Cart forums © 2001-2020