![]() |
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 |
Re: Removing Product List...
you are gonna have to do some serious customization of your categories.tpl.
|
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.
|
Re: Removing Product List...
Quote:
Yes, but how do you link a category to a static page? |
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 :)
|
Re: Removing Product List...
Quote:
That's an idea... Could you give me an example? |
Re: Removing Product List...
<a href="pages.php?pageid=x">Category name</a>
Replace x with the number of the static page. |
Re: Removing Product List...
Quote:
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. |
Re: Removing Product List...
Quote:
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. |
Re: Removing Product List...
That would be one of the admins... don't take it the wrong way. He just doing his assigned duties.
|
Re: Removing Product List...
Put it at the end and code it using CSS to match the other colors.
|
Re: Removing Product List...
Crcool, they aren't mysterious people, they are moderators. I would have done the same thing if I had seen it before Jeremy did. NEVER post proprietary code in the forums. People work very hard on the mods they create, and posting it here would allow everyone to steal it.
As for where to add it, you did not mention you were using flyouts. You won't be able to use what I posted in that case, as the flyouts are generated automatically. |
Re: Removing Product List...
This has been cleared up, he should have contacted me, not posted here ](*,)
|
Re: Removing Product List...
I shouldn't have said that... I get a little frustrated from time to time. Sorry.
I have Phil helping me directly now. If there weren't people like balinor, this site wouldn't exist! heh |
All times are GMT -8. The time now is 07:47 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.