close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Adding subcategories to Powerstore – next step

Thread began 8/25/2009 5:55 pm by gwh362692 | Last modified 12/31/2009 5:30 pm by Eric Mittman | 1299 views | 3 replies |


Adding subcategories to Powerstore – next step


I'm in the process of adjusting Powerstore to add subcategories. I'm going through the steps that are outlined in the following thread:


I've created the pages for the backend using dataAssist and have got this working, but I've found that I may need to update another page before going on to revising the front end (this wasn't a step outlined in the above thread but I'm assuming this needs to be done?).

I noticed that on the Products_Insert.php page, there's a select menu for choosing a category in which to insert the product. Since there will now be an optional Subcategory, can someone tell me if I need to insert the same type of select menu for the subcategory? If yes, would it just involve creating a record set of my new Subcats table and then populating the menu dynamically via the property inspector?

Would I also need to update the server behaviours on this page so that the product gets inserted into the correct subcategory in the side menu on the main pages (which currently only display category and product)? If yes, which behaviours do I need to revise?

Would really appreciate some assistance here.


Sign in to reply to this post

Eric Mittman

The step that you noted is mentioned in the thread, it just says to update the product insert and update pages to include your new sub category select list. You would implement this just as you have said by creating the recordset, then the select list. You will also need to update the insert or update server behavior to record this new information.

You will not do any editing on this page to get the product to show in the menus correctly. That will occur when you modify the menus on the front end to include the sub categories.

Sign in to reply to this post


returning results for selected subcategory

Hi Eric, Ive got all that is required for sub categories (i think) except the actual linking of the submenu.

currently using menuwriter the link for Categories is:

I placed the link for subcategory menus by just adding Sub:

what do i need to add or adjust in the Products_Results.php page to return subcategory results? currently when i select any of the submenus the result page shows all products.

thanks for the help.


Sign in to reply to this post

Eric Mittman

You would first need to modify the search server behavior on the results page. You will need to add a new search criteria to filter on the subCategory URL parameter that you are passing.

To do this you would need to open the search page and edit the current DataAssist Search server behavior that is on the page. In here you will need to create a new criteria that will look at the subcategory column and compare it to your new URL parameter.

If you set it up like this you should be able to get the sub category specified in the link by having the recordset filtered for that particular sub category.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...