close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add to Cart and Multiple Options

Thread began 12/23/2009 6:16 pm by jc1cell390254 | Last modified 12/28/2009 12:23 pm by Eric Mittman | 1684 views | 1 replies |

jc1cell390254

Add to Cart and Multiple Options

Hello All,

After looking into using ecart for my clients site, I came to the conclusion that I didn't charge enough to get it going with that. Although the store has close to 200 items, I think I would be better suited to get it done using the paypal toolkit.

I have already set up a single product to work well. The product is available in single jars and in boxes of 6 jars with a discounted price from the single purchase. Having both as individual options works great. I did some customizing to be able to allow the client to put in the amounts while on the local page.

I'm having a couple of issues with the setup and have an idea I would like to implement but am thinking the toolkit is limited in this aspect. Bear with me please.

The first issue I'm having is that, while in the wizard, I select the options for a client message and shipping options, but I get no window to do so at any moment. In the code it states:

<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="0" />

Now to the modification. In order to give the client the ability to apply quantities in my local page, I changed the code to this:

<input class="itemForm" type="visible" name="add" value="" />

And modified the css to fit the look I wanted. No problem, except that no matter what value I put in, be it 0 or 100, I get a quantity of 1 in the paypal shopping cart. I would like to see if there's a solution to this or if it can't be done using the toolkit.

And finally, to the idea. Right now I have a form for the 6 pack and the single jar each. They obvioulsy have their own buttons. I would like to simplify this for the client and have the two quantity boxes applied with a click of a single button. So when in the shopping cart it shows the individual items with their quantities and totals. For example:

  Paypal Shopping Cart
six pack of candles such and such qty of 2 $50
jar of candle such and such qty of 3 $25  

I think this would simplify the process for the client. Another thing I would like to know is if there's a way to not have the page jump to the cart page everytime a product is added. This would help if the idea I have is not possible by keeping the client on the same page and simply adding the information on each box separately and, click....shopping cart full. They can then verify the cart using the view cart button on the page.

So...once again a long post...any help would be very much appreciated.

Cheers,

jc

Sign in to reply to this post

Eric Mittman

I think many of the questions you have would be cleared up by taking a look at the integration guide for payments standard, here is a link:

PP_WebsitePaymentsStandard_IntegrationGuide.pdf

Here is what is listed for these first two inputs you have:

no_shipping Optional Do not prompt payers for shipping address. Allowable values:
0 – prompt for an address, but do not require one
1 – do not prompt for an address
2 – prompt for an address, and require one
The default is 0.

no_note Optional Do not prompt payers to include a note with their payments.
Allowable values:
0 – provide a text box and prompt for the note
1 – hide the text box and the prompt
The default is 0.

To make it so the user can set their own quantity values you will need to find the quantity input in the form and change it to be a text type of input instead of hidden.

There are no options that I know of for adding more than one item at a time to your PayPal shopping cart. The only way that I could see this being done would be to use eCart as the shopping cart on your site, then submit the entire cart to PayPal when it is time to transact.

You could then create a page that would allow you to trigger two add to cart server behaviors with the press of a single button.

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