close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ECart Session Array Help

Thread began 8/19/2009 1:19 pm by carlos311519 | Last modified 8/24/2009 12:25 pm by Eric Mittman | 2034 views | 3 replies |

carlos311519

ECart Session Array Help

I need help with creating a session array to be transfered over to the cart. If you look at my website (customquote3.php) You will see 3 Steps 1 - 3. What I need is to have a session array to transfer over each individual selection in Step 1 to the cart.

If a customer wants he/she can select more then one size in Step 1. Now the total will add up correctly in the shopping cart, but I also want it to "itemize" it as well. As of right now it only shows 1 item even if you select mulitple sizes. It does display the correct amount for mulitple items in the cart, but I want it to also break the items down and show each size you selected even if you only select one or more then one...

I created the module to calculate the total and display it in the total field i just need help creating a session array to transfer over each individual size selected and show it in the shopping cart...

Please help

Carlos Lopez
clopez@learromec.com

Sign in to reply to this post

Eric Mittman

To get more than one item to add to the cart in a single interface is much more advanced than adding a single item and may require a bit of custom coding. Here is the general idea, you can have the checkboxes be used to filter a recordset where items details are selected. Once you have this recordset in place you can use the add to cart from recordset server behavior to add these values to the cart including the id description, and price. You would then need to modify this add to cart to use the posted steps 2 and 3.

If you have DataAssist you can add in a DataAssist Search server behavior, this will build up the recordset based on the checkbox values for you. Once that is in place you will add in the add to cart from recordset server behavior and finally update the add to cart to use the posted values from steps 2 and 3.

There are other ways this can be done but they are all more custom and would require more hand coding.

Sign in to reply to this post

carlos311519

eCart Session Array with DataAssist

"To get more than one item to add to the cart in a single interface is much more advanced than adding a single item and may require a bit of custom coding. Here is the general idea, you can have the checkboxes be used to filter a recordset where items details are selected. Once you have this recordset in place you can use the add to cart from recordset server behavior to add these values to the cart including the id description, and price. You would then need to modify this add to cart to use the posted steps 2 and 3.

If you have DataAssist you can add in a DataAssist Search server behavior, this will build up the recordset based on the checkbox values for you. Once that is in place you will add in the add to cart from recordset server behavior and finally update the add to cart to use the posted values from steps 2 and 3.

There are other ways this can be done but they are all more custom and would require more hand coding. "

I do have DataAssist and was wondering if you can get me started or point me in the right direction as to how build the recordset based on checkbox values and how to modify add to cart to use posted values from steps 2 and 3...?

Carlos Lopez
clopez@learromec.com

website in question: (www.petheads.org)

Sign in to reply to this post

Eric Mittman

To get started you are going to have to implement a DataAssist Search server behavior onto your add to cart page. You can think of this as your search page, the search will be performed on the values that you have listed with the checkboxes.

You have a recordset that selects all of the records that the user can select with the checkboxes. Once this recordset has been crafted you add the DataAssist Search server behavior to the page. When you configure this you will setup the search criteria to look for values that match the checkbox fields you have. You must ensure that your checkbox fields have the values set the same as the values you will be searching on. For example if you have the record id as the value of the checkboxes you will need to be searching the id column in your recordset where the checkbox value matches that column.

Once you have got this working you will be ready to use the add to cart from recordset server behavior to add all the user selected items to the cart. If you have any problems getting the DataAssist Search server behavior implemented make sure to take a look at the DataAssist support page for additional resources to help you get this in place.

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