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

moving variable into cart

Thread began 7/21/2010 9:46 am by watercolor346374 | Last modified 9/04/2012 9:21 am by watercolor346374 | 2160 views | 25 replies

watercolor346374

passing variables to the cart

Hi Jason,
I altered the script so much with what we talked about yesterday, so I downloaded the one on my test site. I ran it on my server and noticed that when I added to the cart an item that had no tab, the correct item number and bo message popped up. Then when I added an item and its various tab sizes I got he same inventoryid for each item although they have different ones and the same bo msg for each one. I did get the correct tab in the cart. I looked at the script and the difference was:
$ATC_itemSKU = "".$row_rsInventory['item_num'] ."";// column binding
$ATC_itemBO = "".$row_rsInventory['backordermsg'] ."";// column binding
I still have the rsInventory on the script which uses the filter prodid = url prodid in the rs. Then I changed it to inventoryid and nothing showed up.
When I use the rsInventoryid only the items with tabs show the bomessage and item number. The rsInventoryid is filtered by inventoryid = form variable winkee_1_Tab_Add.
At this point I do not know which recordset to use for the item number (sku) or the bo msg.
If I add the hidden field that you mention, which rs should I keep? Where would I put the hidden field. If you want to see the test site url is karenshotz.com/test/index.php-- this site is using the rsInventory.
Thank you,
K

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