Are web page item types working?
I create a new category and add a web page with some sample text.
The category shows in the store but clicking it doesn't any items in the category.
Category web page item
Category web page item
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Hello Joe,
It depends on the category page you're using for display of the categories. All but one of the category pages are optimized for use with only products since that's the focus of our product.
To get an idea of the display options, run though the available category display pages.
The 'Category List' page is currently the only page which will display webpages.
It depends on the category page you're using for display of the categories. All but one of the category pages are optimized for use with only products since that's the focus of our product.
To get an idea of the display options, run though the available category display pages.
The 'Category List' page is currently the only page which will display webpages.
Ok, didn't realize that. I figured it would just show up listed like any other item.
Just a suggestion, why not make the option to show web page items selectable at the category level instead of via a particular page design or ConLib?
That would give some flexibility for webpage-only categories, like reference materials and such that are informational in nature. If that were possible, I could create detailed reference pages with specific product technical specs that go beyond a particular product page. Or, product manuals for download etc.
I'll play some more with that category list page and see what I can do with it - perhaps I can produce the same result as I just described.
Just a suggestion, why not make the option to show web page items selectable at the category level instead of via a particular page design or ConLib?
That would give some flexibility for webpage-only categories, like reference materials and such that are informational in nature. If that were possible, I could create detailed reference pages with specific product technical specs that go beyond a particular product page. Or, product manuals for download etc.
I'll play some more with that category list page and see what I can do with it - perhaps I can produce the same result as I just described.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
I think you should be able to do exactly what you described. The display page can definitely be set at the category level. There is an overall "store" default setting, but then for each category you can override. The override setting can be accessed either in the on screen editor when viewing the category, or you can get to it by editing the category through the admin catalog interface.SolunarServices wrote:I'll play some more with that category list page and see what I can do with it - perhaps I can produce the same result as I just described.
Some category designs just don't lend themselves nicely to mixed content. For example, where to include webpages in a category view that is sorted by manufacturer?
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
- mfreeze
- Commodore (COMO)
- Posts: 421
- Joined: Mon Jan 24, 2005 2:07 pm
- Location: Washington, NJ
- Contact:
Re: Category web page item
I have a category called 'recipes'. I selected CategoryListPage as the display page and the webpage still doesn't display. I added the same info as a product and it displays fine.
What am I doing wrong?
I looked at the categorylistpage.ascx. and I see the following at line 93:
//INITIALIZE THE CONTENT NODES
_ContentNodes = new CatalogNodeCollection();
foreach (CatalogNode node in _Category.CatalogNodes)
{
if ((node.CatalogNodeType == CatalogNodeType.Product)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
}
Trace.Write(this.GetType().ToString(), "Load Complete");
}
Granted, I am an ASP novice but shouldn't there be a line to add CatalogNodeType.Webpage?
I tried adding the following but it blew up with the message [[ConLib:Custom/CategoryListPage]] d:\hshome\buffalo\buffalogal.com\ConLib\Custom\CategoryListPage.ascx.cs(101): error CS0103: The name 'node' does not exist in the current context :
{
if ((node.CatalogNodeType == CatalogNodeType.Webpage)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
}
What am I doing wrong?
I looked at the categorylistpage.ascx. and I see the following at line 93:
//INITIALIZE THE CONTENT NODES
_ContentNodes = new CatalogNodeCollection();
foreach (CatalogNode node in _Category.CatalogNodes)
{
if ((node.CatalogNodeType == CatalogNodeType.Product)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
}
Trace.Write(this.GetType().ToString(), "Load Complete");
}
Granted, I am an ASP novice but shouldn't there be a line to add CatalogNodeType.Webpage?
I tried adding the following but it blew up with the message [[ConLib:Custom/CategoryListPage]] d:\hshome\buffalo\buffalogal.com\ConLib\Custom\CategoryListPage.ascx.cs(101): error CS0103: The name 'node' does not exist in the current context :
{
if ((node.CatalogNodeType == CatalogNodeType.Webpage)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
}
Mary E Freeze
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
- mfreeze
- Commodore (COMO)
- Posts: 421
- Joined: Mon Jan 24, 2005 2:07 pm
- Location: Washington, NJ
- Contact:
Re: Category web page item
I swallowed my pride and called one of my ASP developers. I wasn't far off. She changed the code to:
//INITIALIZE THE CONTENT NODES
_ContentNodes = new CatalogNodeCollection();
foreach (CatalogNode node in _Category.CatalogNodes)
{
if ((node.CatalogNodeType == CatalogNodeType.Product)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
if ((node.CatalogNodeType == CatalogNodeType.Webpage)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
}
Trace.Write(this.GetType().ToString(), "Load Complete");
}
Now it's displaying web pages!!! WooHoo! Amazing what removing a couple of brackets will do.....
//INITIALIZE THE CONTENT NODES
_ContentNodes = new CatalogNodeCollection();
foreach (CatalogNode node in _Category.CatalogNodes)
{
if ((node.CatalogNodeType == CatalogNodeType.Product)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
if ((node.CatalogNodeType == CatalogNodeType.Webpage)
&& (node.Visibility == CatalogVisibility.Public)) _ContentNodes.Add(node);
}
Trace.Write(this.GetType().ToString(), "Load Complete");
}
Now it's displaying web pages!!! WooHoo! Amazing what removing a couple of brackets will do.....
Mary E Freeze
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com
Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development
http://www.ffgraphics.com