Buy my book, baby, and I'll drop down for ya.
February 20, 2012 12:22 AM Subscribe
I would like to add a paypal 'Buy Now' button for a single item to a self-hosted wordpress website, with a drop-down selection list. I've created the button in Paypal but the code becomes messed once the html is inserted in the wordpress page - the options are all visible as if in a table, not in a drop-down. I've googled but can't find the solution.
A friend has published a non-fiction, softcover book that he wants to sell directly from his website. Some non-profits engaged in related issues want to promote the book for him and, in return, he wants to give a portion of the sales back to the groups. We figured the way to do this was to have a "referring organisation" drop down tied in with the paypal buy now button (much like 'small, medium, large as if selling t-shirts). When the order comes in, he'll keep track of how many referrals came from organisation 1, org 2, and so on.
However, the code gets messed up once it's pasted into the (html) section of the wordpress page. This appears to be a known problem but all the solutions I've tried (via google) don't work. It would work if we ignored the drop-down but that means we don't know who to give a percentage to which is important to him.
I see that there are wordpress paypal plug-ins - I've tried a couple but they don't seem to have the drop-down selection option that the paypal button has.
So I am seeking advice, a work-around or recommendation of a plug-in. We are only selling one item so don't need a shopping cart however, if that is the way to go, then so be it.
tl;dr Need a work around to add a paypal buy-now button with a drop-down select list to a self-hosted wordpress website.
posted by Kerasia to computers & internet (10 answers total) 2 users marked this as a favorite
Or, if they're real-world referrals rather than online ones, you could give each referring organisation a unique voucher code they can hand out. Various ecommerce platforms (like woocommerce, for example) can handle that easily.
posted by tvaughan at 12:48 AM on February 20, 2012