close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic Menu Not Pulling Subset

Thread began 10/30/2009 5:33 am by mrobben375515 | Last modified 10/30/2009 4:36 pm by Eric Mittman | 1797 views | 2 replies |

mrobben375515

Dynamic Menu Not Pulling Subset

We have Super Suite and Power Store. Our website is www.funphotobooks.com. We are experiencing two errors:

1. When you click on the products menu the query returns all products every time. When we post categories, such as "photo books", we only want to see those products.
2. When you click on the product detail, it returns the message that the product is not available to puchase. When we look at the product in the Admin Manager, the products are check to be avaiable to be sold with no inventory.

I am attaching the various product*.php pages that effect this.

Attached Files
product php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

1) The links to the results page in the menu are not passing the propper query string variables.
In the origianl version of the CSSMenuWriter/cssmw_home/menu.php the links are created on line 69 using the following code:

php:
<li><a href="<?php echo($assumedRoot); ?>Products_Results.php?Search=true&CategoryID=<?php echo $row_menuwriter_productcategories["CategoryID"]; ?>"><?php echo $row_menuwriter_productcategories["CategoryName"]; ?></a></li>





2) make sure to check the Available Online option. If this option is not checked, the items will show that message.

Sign in to reply to this post

Eric Mittman

The problem with the menu is that you are missing the extra attributes that are normally present by default. If you have altered this you should take a look at the or original unmodified menu files to see what these links should look like. They should be passing along a category id and a search parameter like this:

Products_Results.php?Search=true&CategoryID=1

This would allow it to display a particular category and is the default behavior of the menu.

As for the item not showing up it looks like it is the correct id for an item, in your products table in the db look at a particular item as an example and examine the product stock, product unlimited, and product live columns. A 1 in live or unlimited indicates true. If it is not unlimited there will need to be a stock associated with it.

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

Content

rating

Layout

rating

Ease of use

rating

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...