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

Product Batch Price updating Cart

Thread began 4/06/2016 11:05 pm by Kumel | Last modified 4/07/2016 9:00 pm by Kumel | 1076 views | 33 replies

Ray BorduinWebAssist

Please send a current copy of the page with your posts particularly if you aren't going to provide any information. I need some sort of information to formulate a post.

It looks like that isn't even the right recordset... I've opened up your page and your product details recordset is set to:

"SELECT * FROM Products WHERE ID = %s"

so that wasn't the issue in the first place.

It looks like the real issue is how you are trying to populate the productID hidden form element on line 436. You have:

<input type="hidden" name="eCart1_1_ID_Add" value="<?php echo((isset($_POST["BatchID"]))?$_POST["BatchID"]:"") ?>" >

but I don't think you are posting a BatchID to the page and I don't think it matches with a productID... I think it should probably be:
<input type="hidden" name="eCart1_1_ID_Add" value="<?php echo $row_ProductBatch['BatchID'];?>" >

I'm actually pretty lost with what you are trying to do on this page....

It actually seems like your Add to cart recordset should be the ProductBatch Recordset as well and all of the bindings should be updated to point to those columns.

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