Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Removing Product List...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-17-2007, 07:37 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #2  
Old 09-17-2007, 08:16 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Removing Product List...

you are gonna have to do some serious customization of your categories.tpl.
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 09-17-2007, 08:19 PM
 
typologist typologist is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 51
 

Default 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.
__________________
4.1.8 Gold (Unix)
Reply With Quote
  #4  
Old 09-17-2007, 09:08 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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?
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #5  
Old 09-18-2007, 04:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 09-18-2007, 06:05 AM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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?
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #7  
Old 09-18-2007, 06:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Removing Product List...

<a href="pages.php?pageid=x">Category name</a>

Replace x with the number of the static page.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 09-18-2007, 06:38 AM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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.
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #9  
Old 09-18-2007, 06:50 AM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default 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.
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #10  
Old 09-18-2007, 06:57 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Removing Product List...

That would be one of the admins... don't take it the wrong way. He just doing his assigned duties.
__________________
xcart 5.1.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:48 AM.

   

 
X-Cart forums © 2001-2020