Skip to main content
Participant
February 15, 2019
Answered

Buy Button Dreamweaver eCommerce Template

  • February 15, 2019
  • 2 replies
  • 943 views

I am using Dreamweaver eCommerce Template and I want to add BUY button.

Help needed which is the best way to do this?

Can I link Buy Button to PayPal some how?

When I add PayPal generated Button it sits at the bottom of the div .productRow can I alter position.

http://www.inbusinessmags.co.uk/eCommerce.html

Thanks

This topic has been closed for replies.
Correct answer osgood_

Just remove the 2 lines of code below from your paypal 'buy now' button:

<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">

and replace with:

<input type="submit" name="button" value="Buy" class="buyButton">

2 replies

Nancy OShea
Community Expert
Community Expert
February 15, 2019

Read PayPal's user agreement.  I don't think you can change their buy now button except as noted below.

https://www.paypal.com/us/smarthelp/article/how-do-i-edit-a-paypal-button-faq1021

However, you can adjust form positioning with CSS

form {margin-top:-45px}

Nancy O'Shea— Product User & Community Expert
Legend
February 15, 2019

https://forums.adobe.com/people/Nancy+OShea  wrote

Read PayPal's user agreement.  I don't think you can change their buy now button except as noted below.

https://www.paypal.com/us/smarthelp/article/how-do-i-edit-a-paypal-button-faq1021

However, you can adjust form positioning with CSS

form {margin-top:-45px}

No developer wants those ugly ******* pay-pal buttons on their customers websites and that's why you don't see any on decent websites or decent templates, only on amatuer websites and boy do they look amatuer. I'm sure pay pal doesnt give a shite as long as they are taking a financial cut. pay pal should be paying the developer to even consider including their crap buttons.

Anyhow no-where on the page you linked to says anything about you cannot use your own buttons.

Nancy OShea
Community Expert
Community Expert
February 15, 2019

If someone wants to use PayPal as their only payment processor, then they must play by PayPal's rules.   I don't use PayPal Buy it Now buttons.   I use a PCI compliant shopping cart.  And PayPal is one of several payment options available on the cart.  My site's Add to Cart buttons are not generated by PayPal.  So I'm not violating any agreements.

Nancy O'Shea— Product User & Community Expert
osgood_Correct answer
Legend
February 15, 2019

Just remove the 2 lines of code below from your paypal 'buy now' button:

<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">

and replace with:

<input type="submit" name="button" value="Buy" class="buyButton">

ReevesieAuthor
Participant
February 16, 2019

Perfect osgood_ thanks for the correct answer!

Removing 2 lines of code and adding

<input type="submit" name="button" value="Buy" class="buyButton">

Not sure about other comments rights and wrongs of PayPal and their branding buttons.

Legend
February 16, 2019

Reevesie 

Not sure about other comments rights and wrongs of PayPal and their branding buttons.

Dont worry, pay pal does NOT enforce you to use their branded buy buttons, they just make recomendations.

Some clients/developers like to use the branded buttons because it instills confidence in the buyer, others find the buttons are not suited to their overall design so elect to use their own styling.

It even says in their 'help center' documentation that you can use your own images/styling.