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

Changes to init.php not appearing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-28-2015, 08:53 PM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Changes to init.php not appearing

Hi All,

I have made some changes to init.php (essentially just changing the layout of the checkout fields) and whilst the changes appear fine on my development site, they do not reflect on the live site.

I've run cleanup.php and cleared cache but to no avail.

Any suggestions are appreciated.

Thanks in advance
__________________
Multiple instances of X-cart
Reply With Quote
  #2  
Old 04-28-2015, 09:28 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Changes to init.php not appearing

If this is for the address fields they are also saved in db and read from there. The cache is not involved in this. To make them work the db entry has to be empty (not deleted) and cart will redo them
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
BBM_ (04-28-2015)
  #3  
Old 04-28-2015, 09:59 PM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Changes to init.php not appearing

Many thanks for the response steve, I can only find the address_book table but this is not the right table so I'll keep looking.
__________________
Multiple instances of X-cart
Reply With Quote
  #4  
Old 04-28-2015, 10:06 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Changes to init.php not appearing

It is in config table. I don't remember the name of the variable but it has "address" in it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
BBM_ (04-28-2015), qualiteam (05-04-2015)
  #5  
Old 04-28-2015, 10:08 PM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Changes to init.php not appearing

address_book_fields - I just found it in the config table!

Many thanks Steve
__________________
Multiple instances of X-cart
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 06:35 AM.

   

 
X-Cart forums © 2001-2020