View Single Post
  #28  
Old 08-20-2014, 12:29 PM
  mcanitano's Avatar 
mcanitano mcanitano is offline
 

eXpert
  
Join Date: Feb 2006
Location: Melbourne, FL
Posts: 216
 

Default Re: Cant add address to the register.php page

How do you hide the Billing/Shipping address fields when a customer has already registered, is logged in and updating their current profile on the 'My Account' tab?


Code:
www.example.com/register.php?mode=update

EDIT:

I was simply lazy and figured it out, in customer/main/register_address_info.tpl:


Change
Code:
{if $need_address_info}

to
Code:
{if $need_address_info and !$login}
__________________
Marcello Canitano
New Site: X-Cart v4.5.5 GOLD
X-Cart Mobile v1.4.3
X-Payments v1.0.6
CDSEO Pro v2
Total Server Solutions xCDN

www.silverhorseracing.com
Reply With Quote