| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Simple Theme Switching | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() This may have been posted already, but to implement a simple theme switching, so that you might show a client a new theme on a store, add the following to init.php (around line 550):
PHP Code:
This will allow you to switch themes by specifying an 'alt_skin' GET parameter in your URL and giving it the value of the theme (get the theme values from your admin at: admin/configuration.php?option=Appearance if you look at the select values for themes). e.g. home.php?alt_skin=20_3-columns Hope this helps someone. Rubyaryat
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|