Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Setting up Paypal Pay Later on Product Pages


tjhopkins

Question

Site URL: https://www.bagtazocollection.com/

Hi there - I'm trying to get a Paypal Pay Later button above my add to cart button on the product page. I have added the provided script into the product header injection:

<script
    src="https://www.paypal.com/sdk/js?client-id=(somenumbers)&components=messages"
    data-namespace="PayPalSDK">
</script>

and added the provided HTML into a code block in the Additional Info section of the product but nothing shows up:

<!--
    In your code, update data-pp-amount
    with the price or cart amount. For
    example, data-pp-amount="89.99" for
    a $89.99 product.
-->
<div
    data-pp-message
    data-pp-style-layout="text"
    data-pp-style-device="message"
    data-pp-style-logo-type="inline"
    data-pp-style-text-color="black"
    data-pp-amount="ENTER_VALUE_HERE">
</div>

I'm guessing once it shows up I'll need some additional code to the header injection and maybe the CSS move it to near the cart button but I haven't gotten it to show up at all yet. Then I'll need to figure out the variable to change the price. Help on any/all of these tasks would be much appreciated!

 

 

Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...