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

Hidden Categories

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 01-19-2005, 04:50 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

I wonder if hidden categories could be the answer to MAP pricing.

Does hidden catagories get added to the HTML catalog?

Do the products in a hidden category get added to a froogal feed?

If the answer to my 2 questions is no... we have the makings of an excellent MAP Mod.
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #22  
Old 01-19-2005, 07:37 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Hidden is the word you need to use - Hidden Static Pages

Quote:
Originally Posted by Stephen Hatton
Hi All

Nice MOD Jon. I will look into trying it soon.

To Markwhoo and others:
Hidden Static Pages.

Here are some links on this topic:
http://forum.x-cart.com/viewtopic.php?t=13705&highlight=hidden+pages+hatto n

http://forum.x-cart.com/viewtopic.php?t=11602&highlight=

Note: Follow the links and view the examples. If you or anybody else is interested in my mods - email/pmail me and I will give you the details.

Regards
Ing. Stephen Hatton

This is it!

These were the pages I have been looking for. I think this search engine in the forum is useless sometimes. I have used some of the same words in the titles for searches and have come up blank or other off topic items.

Thanks so much and a PM is on the way!
__________________
vs 4.1.12
Reply With Quote
  #23  
Old 01-24-2005, 11:15 PM
 
ghhoz ghhoz is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 40
 

Default

Hello Jon,

Firstly I would like to thank you for sharing such a wonderful mod and to Elleven for adding the mod for Version 4.07

Could you please help me with a little something from this mod that is stumping me

I have followed your mod steps (thanks Jon) but with the one change of using the categories.php suitable for V4.0.7 as provided by Elleven.

I have created some 25 hidden categories as I want to use these for a Alpha Image Map. For some reason when I view any of the the hidden categories the Category name appears the same. They all show the name of the very first Hidden Category I created regardless fo the link being different.

Basically I have 25 Hidden categories being A to Z starting from home.php?cat=300 up to home.php?cat=325

Here are a few to see what I mean.

http://www.giftandhomewarehouse.com.au/home.php?cat=300

http://www.giftandhomewarehouse.com.au/home.php?cat=312

http://www.giftandhomewarehouse.com.au/home.php?cat=302

http://www.giftandhomewarehouse.com.au/home.php?cat=321

I hope someone can see past what I see as I am so stumpped with why this is occurring.

Thanks for looking.
__________________
Cheers from Melanie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xcart V4.0.4 (Unix) - LIVE
AOM, Fancy Categories
Marketing Manager,
Reward Points & Refer Rewards
Advanced Site Map
Easy Checkout

Gift & Homeware House
www.giftandhomewarehouse.com.au
Reply With Quote
  #24  
Old 02-15-2005, 03:34 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Quote:
Originally Posted by DogByteMan
I wonder if hidden categories could be the answer to MAP pricing.

Does hidden catagories get added to the HTML catalog?

Do the products in a hidden category get added to a froogal feed?

If the answer to my 2 questions is no... we have the makings of an excellent MAP Mod.

Jon,

Do you know if the products in hidden categories are created in the HTML catalog?

Are they added to a froogle feed when using MM 3.0?

Thanks
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #25  
Old 02-15-2005, 03:41 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Sorry to say I'm not sure about either of those scenerios. You can easily test to see if the products of hidden categories are created.

As for MM3 you'd have to ask groovico.
Reply With Quote
  #26  
Old 03-22-2005, 12:05 PM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

FYI, you don't need to modify categories.tpl in 4.0.12, the same is probably true of all 4.x.

I noticed after I applied this mod into my cart that I had forgoten to exclude the hidden categories in the horizontral category menu I have at the bottom of my pages.

When I looked, the hidden categories weren't being displayed. The code is almost identical to the side menu, so I took the if statements out of categories.tpl.

However I now have a problem, how the hell do you display ONLY the hidden categories? Or even display them at all? Is hardcoding the only option?
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #27  
Old 03-22-2005, 01:58 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Sorry I can't provide support for this modification, I don't use the 4.x branches of x-cart and have a hard enough time just keeping my paid modules up to speed with the variety of x-cart releases.
Reply With Quote
  #28  
Old 03-22-2005, 03:17 PM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

I'm sure I'll figure it out. I think it's only loading available categories into the $categories variable.

*edit*
I figured it out. In categories.php I commented out:
Code:
$search_condition[] = "$sql_tbl[categories].avail='Y'";

I wouldn't do that if you have disabled categories though. I have no idea where else $search_condition is used. But for me, it fits my needs.

I had to put back the if statements in categories.tpl.
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #29  
Old 03-28-2005, 07:21 PM
  Jonathan501's Avatar 
Jonathan501 Jonathan501 is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 44
 

Default

did anyone figure out how to get the name to change?
__________________
X-Cart Gold 4.0.12
X-AOM
Color Coded Order Status
Easy CheckOut
ezUpsell
Multiple Upselling Links
Order Management Made Easy
Reply With Quote
  #30  
Old 04-28-2005, 04:35 PM
 
ghhoz ghhoz is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 40
 

Default

Hello,

Sorry as yet I have not been able to get the name of the categories to work right with this mod. I too would love to know if anyone has this working on the same xcart versions as I use.

Cheers
__________________
Cheers from Melanie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xcart V4.0.4 (Unix) - LIVE
AOM, Fancy Categories
Marketing Manager,
Reward Points & Refer Rewards
Advanced Site Map
Easy Checkout

Gift & Homeware House
www.giftandhomewarehouse.com.au
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 12:29 PM.

   

 
X-Cart forums © 2001-2020