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)
-   -   Removing Product List... (https://forum.x-cart.com/showthread.php?t=34009)

crcool75 09-17-2007 07:37 PM

Removing Product List...
 
Hello,

When clicking on a category X-Cart lists the available products down the screen. How would I have it list absolutely nothing, no category title, no window, nothing?

I'm wanting to put one large banner in that category, but I want no products listed. I don't want it to say "There are no available products in this category" under the banner.

Thanks

ARW VISIONS 09-17-2007 08:16 PM

Re: Removing Product List...
 
you are gonna have to do some serious customization of your categories.tpl.

typologist 09-17-2007 08:19 PM

Re: Removing Product List...
 
I have no idea what is the purpose of this, but you have as an option to create an static page.

crcool75 09-17-2007 09:08 PM

Re: Removing Product List...
 
Quote:

Originally Posted by typologist
I have no idea what is the purpose of this, but you have as an option to create an static page.


Yes, but how do you link a category to a static page?

balinor 09-18-2007 04:11 AM

Re: Removing Product List...
 
Hard-code the links in the category menu instead of using the array. No point in linking to an empty category if you aren't going to use them as intended :)

crcool75 09-18-2007 06:05 AM

Re: Removing Product List...
 
Quote:

Originally Posted by balinor
Hard-code the links in the category menu instead of using the array. No point in linking to an empty category if you aren't going to use them as intended :)


That's an idea... Could you give me an example?

balinor 09-18-2007 06:06 AM

Re: Removing Product List...
 
<a href="pages.php?pageid=x">Category name</a>

Replace x with the number of the static page.

crcool75 09-18-2007 06:38 AM

Re: Removing Product List...
 
Quote:

Originally Posted by balinor
<a href="pages.php?pageid=x">Category name</a>

Replace x with the number of the static page.


balinor, we are using Phil Jones "Fly-Out" menu module and this is the .TPL file for it:

[edited by carpeperdiem (admin) - we don't post 3rd party code in the forum without permission]

Any idea where I would put the hard code? I figured out how to get it in there, but it doesn't use the same color style as the rest of the menu.

crcool75 09-18-2007 06:50 AM

Re: Removing Product List...
 
Quote:

Originally Posted by crcool75
balinor, we are using Phil Jones "Fly-Out" menu module and this is the .TPL file for it:

[edited by carpeperdiem (admin) - we don't post 3rd party code in the forum without permission]

Any idea where I would put the hard code? I figured out how to get it in there, but it doesn't use the same color style as the rest of the menu.


Well, balinor, since mysterious people are watching over my shoulder policing the forums rather than helping me, where would you put that code in the categories.tpl file? It would need to honor the same coloring as the rest of the menu.

ARW VISIONS 09-18-2007 06:57 AM

Re: Removing Product List...
 
That would be one of the admins... don't take it the wrong way. He just doing his assigned duties.


All times are GMT -8. The time now is 01:11 PM.

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