close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

static product pages with powerstore

Thread began 5/22/2009 1:03 am by email377288 | Last modified 5/22/2009 2:15 pm by email377288 | 1442 views | 5 replies |

email377288

static product pages with powerstore

hi, i have a client who requires a separate page for each product instead of using a catalog system.

has anyone successfully integrated the features of powerstore, i.e inventory control and order tracking etc with a static product page site?

i own powerstore and the web developer suite and am trying to work out if i can utilize the prebuilt features of powerstore or if i need to build the site from scratch using eCart etc...

any advice would be greatly appreciated

Sign in to reply to this post

Ray BorduinWebAssist

You can use powerstore and add a separate page for each product if that is what you want. I would still store ithe product information in the database and then all of the other features will automatically work as well.

Just make a copy of the details page and hard code the product ID and you can have a different page for each product. Then you just need to add links to that page directly.

Sign in to reply to this post

email377288

thanks, as i am new to php could you please advise how to hard code the ProductID. I have tried using

<?php
$_SESSION['ProductID'] = "2";
?>

but have had no luck

Sign in to reply to this post

Ray BorduinWebAssist

Right now the SQL statement reads:

SELECT ... FROM ... WHERE ProductID = %s

If you remove the %s and replace it with a product ID it will only show that product instead of showing whichever one was linked in through the url.

Sign in to reply to this post

Ray BorduinWebAssist

You could probably add to the top of the page:

<?php
$_GET['ProductID'] = "2";
?>

Sign in to reply to this post

email377288

thanks ray, works a treat!

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