close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Question for Dani

Thread began 12/02/2011 3:33 pm by robert329616 | Last modified 12/12/2011 6:20 pm by robert329616 | 2163 views | 8 replies

Dani Chankhour

Looking at the results.php it looks like you have a misspelling on this line:

<?php echo $_SESSION['ProductCateogryID'] = $_GET['ProductCategoryID']; ?>

You can remove that line since we don't need to use it on the results page, then update the following line:

<a class="ps_buttons" href="../../../products_detail.php?ProductID=<?php echo(rawurlencode($ProductID)); ?>">Learn more</a>

to

<a class="ps_buttons" href="../../../products_detail.php?ProductCategoryID=<?php echo $_GET['ProductCategoryID']; ?>&ProductID=<?php echo(rawurlencode($ProductID)); ?>">Learn more</a>


I'm not sure if you are using the results page in the catalog folder or in the basic folder depending on the theme you are using, but you should make the changes in both files.

On the Details.php page, you will need to update:

<a href="../../../products_results.php" class="ps_buttons">Back to Product Catalog</a>

to

<a href="../../../products_results.php?ProductCategoryID=<?php echo $_GET['ProductCategoryID']; ?>" class="ps_buttons">Back to Product Catalog</a>

This should always ensure the category id is passed around to the results and detail page.

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