| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
set main page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
set main page
hey guys is it possible to set a default page when you enter the catalog?
lets say i want a specif product to show on the main ..no welcome..
__________________
X-Cart version 4.4.3 |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: set main page
anybody????
__________________
X-Cart version 4.4.3 |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: set main page
ok got my answer.here is is.can come in handy for others.
In order to implement the modification please replace the following code in <xcart_dir>/home.php script: Code: text $cat = isset($cat) ? abs(intval($cat)) : 0; with this code: Code: text $cat = isset($cat) ? abs(intval($cat)) : 885;(my page extension were i needed it:home.php?cat=885) Alternatively you could use the following code in <xcart_dir>/home.php script: Code: text if (!isset($cat)) { func_header_location($current_location . DIR_CUSTOMER . '/home.php?cat=885'); } You need to add the code above to <xcart_dir>/home.php script right after this code: Code: text require './auth.php';
__________________
X-Cart version 4.4.3 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|