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)
-   -   New custom page inside x-cart (https://forum.x-cart.com/showthread.php?t=33165)

phoenixrider 08-09-2007 02:31 PM

New custom page inside x-cart
 
Let's say I wanted to create an all new page, then insert the include for for what I want to include in the content area. Can this be done?

let me explain a little more. Say I have a site, and site navigation. Instead of using the 'categories' as navigation, I point to a page from my navigation, then the page it lands on will have the x-cart content, say a product listing page.

Does this make any sense?

My experience with x-cart is limited, what I have been taught up to this point is we customize the home.tpl. This works fine for I had done. On this new site, I want different headers to be displayed based on where you are on the site, different content area images, etc... not just one central 'store'

thanks

balinor 08-09-2007 04:48 PM

Re: New custom page inside x-cart
 
You can use {if} statements to display different content/graphics based on where you are in the store...is that what you mean?

phoenixrider 08-09-2007 06:30 PM

Re: New custom page inside x-cart
 
Yeah, I was thinking about that - probably easier - except that I have to learn the if tags, and smarty tags, and php... I guess I was hoping for a more simple html way...

But yeah, depending on the categorie you're on, I'd like a specific header graphic to be shown, along with some content area specific graphics

Is there a good link to learn these 'if' statements? I'm sure with enough beer in me I can learn anything :)

balinor 08-10-2007 04:17 AM

Re: New custom page inside x-cart
 
http://forum.x-cart.com/showthread.php?t=8881

phoenixrider 08-10-2007 06:53 AM

Re: New custom page inside x-cart
 
Yeah, I read that. I bit over my head, but I kninda understand it.

I guess what I need to do is something like 'if cat id=x then display header1'


All times are GMT -8. The time now is 10:38 PM.

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