close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Paypal button acting weird

Thread began 11/01/2012 5:04 am by info441120 | Last modified 11/01/2012 2:32 pm by Jason Byrnes | 1161 views | 5 replies |

info441120

Paypal button acting weird

Good Evening All

Firstly apologies if this post is in the wrong spot. Wasn't quite sure where to post it.

I have a page displaying all product from database. single repeat region to display multiple product. Depending on the brand of the product depends on whether it can be purchased through Paypal or not. In the database I have a column labelled "paypal". If you can purchase an item through paypal then the code for the button will be in this column, if not I have placed other code that redirects to a contact page.

The problem is I am generating the Paypal button in Paypal and copying the code then updating the paypal field through an update form. This all works fine. Where the problem lies is if the first product displaying on the page has a Paypal "add to cart" button then it doesn't work. If it is next to a product with code that isn't from paypal - it doesn't work. If it is next to another product from paypal then it does work.

I will add a link to the page, so that you can see what I mean.
instruments_fr_results.php

I will also add a zipped version of the page. Hopefully somebody has seen this before and knows a fix.

Thanks

Matt

Attached Files
instruments_fr_results.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

i dont follow.

the page you linked to and sent as an attachment does not have a paypal button it?

Sign in to reply to this post

info441120

Hi Jason

Sorry about that. Seeing though the data is being pulled from the database, the paypal buttons don't come in til the second or third page. Therefore this link will have paypal "Add to cart" buttons on it.

instruments_fr_results.php?pageNum_WADAtb_instruments=7&totalRows_WADAtb_instruments=89&prod_ID=&Category=&prod_name=&brand=&Search=Search

What I don't understand is why all the buttons work except the first on the page, where all the code for the buttons are the same, generated from Paypal.

Hopefully this makes a bit more sense.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

Ahh, ok, i see.

there is a form around the repeat region of the results page.


you need to delete that in order for the paypal buttons to work correctly.

Sign in to reply to this post

info441120

Hi Jason

WOW, something that easy to fix the problem. Thanks again for your help. Really appreciate it.

Cheers

Matt

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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