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.
I will also add a zipped version of the page. Hopefully somebody has seen this before and knows a fix.