X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding categories to static page outside of cart root directory (https://forum.x-cart.com/showthread.php?t=53580)

white-rabbit-webmaster 05-03-2010 01:04 PM

Adding categories to static page outside of cart root directory
 
I just inherited a site where to previous designer created a static home page above the xcart directory with hard coded links to the major categories on the cart. Now the client wants the category list to be dynamic so edits to the cart categories display on this home page. Is it possible to add code to this page to display the category list from the cart?

Any suggestions on how to go about this would be very appreciated!

balinor 05-03-2010 01:14 PM

Re: Adding categories to static page outside of cart root directory
 
Actually your best bet is going to be to move X-Cart to the root directory, much better for SEO anyway. Then you can use the X-Cart main page as your home page. If they want a 'Splash' page, you could use {if} statements to hide certain elements on just the home page if you want.

white-rabbit-webmaster 05-03-2010 01:22 PM

Re: Adding categories to static page outside of cart root directory
 
That makes a lot of sense. The current home page is littered with include files. Thanks for the quick reply.


All times are GMT -8. The time now is 02:35 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.