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


Powerstore 2 help

Thread began 10/07/2010 10:03 am by bchilds137315 | Last modified 10/08/2010 2:48 pm by Jason Byrnes | 687 views | 4 replies |


Powerstore 2 help

I have a css modified Powerstore 2 and orders are coming through fine however they are not being saved in the orders database.

I have attached the confirm.php file.

Please help if you can.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

The problem is occurring because you have changed the Submit order to a in image form field instead of a Button form element.

find the following code in 2 places:

if (isset($_POST["Submit_order"])) // Trigger


and change it to:

if (isset($_POST["Submit_order_x"])) // Trigger

Sign in to reply to this post



Thanks Jason! I really appreciate it. I'll post to confirm it's working.


Sign in to reply to this post


It worked....

Hi Jason,

It worked! Thanks alot. Would this be a problem on other pages as well where I'm using images on submit buttons?

I don't uderstand how adding _x to it makes it work.... can you explain?

Thanks again,

B Childs

If you want to see the full site as an example of a killer powerstore design: :-)

Sign in to reply to this post

Jason ByrnesWebAssist

The image form element does not have a value attribute.

when an image for element type is used, no value will be passed, but it will pass the x and y coordinates of where the mouse clicked the image.

you can demonstrate this by creating a simple for with an image field and setting the method to get, you will see in the querystring:

since you cant check for the image fields value, you need to check for the x or y coordinates:
if (isset($_POST["imageField_x"])

if (isset($_POST["imageField_y"])

PowerStore was not coded to use an image field, it was coded to use a standard submit button.

if you swap a standard submit button with an image field, you will break the trigger code for the element.

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