Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Problem with Paypal button in the Carousel grider

    Bug Reports
    2
    6
    732
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      clbv last edited by

      Hi everybody,
      I tried to insert a paypal button in the html of the carousel grider. The button is visible on the website but it doesn't work. It supposed to lead you to the paypal webpage to buy the product.
      I tried to put outside laytheme and the button works.
      So I wonder if we can put payment button on laytheme Carousel.
      Can you help me with that ?
      Tell me if you need the code to see what is the problem.
      Thank you so much !

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        Yes please send me the paypal button code. I think you can just insert it here. So you are inserting the paypal button into a textelement of a carousel i guess.

        1 Reply Last reply Reply Quote 0
        • arminunruh
          arminunruh Global Moderator last edited by

          hey maybe this helps:

          http://laythemeforum.com:4567/topic/197/paypal-button-not-working-on-a-page/2

          1 Reply Last reply Reply Quote 0
          • C
            clbv last edited by

            Thank you for your quick answer !
            This is the code I insert :
            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
            <input type="hidden" name="cmd" value="_s-xclick">
            <input type="hidden" name="hosted_button_id" value="T239NAF8AJQMG">
            <table>
            <tr><td><input type="hidden" name="on0" value="Buy Accattone #2 only (17€ + shipping) / Select zone:">Buy Accattone #2 only (17€ + shipping) <br /> Select zone:</td></tr><tr><td><select name="os0">
            <option value="Belgium --">Belgium -- €22,00 EUR</option>
            <option value="Europe, USA, Mediterranean Basin --">Europe, USA, Mediterranean Basin -- €30,00 EUR</option>
            <option value="Rest of the world --">Rest of the world -- €38,00 EUR</option>
            </select> </td></tr>
            </table>
            <input type="hidden" name="currency_code" value="EUR">
            <input type="image" src="https://www.paypalobjects.com/en_US/BE/i/btn/btn_buynowCC_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_US/i/scr/pixel.gif" width="1" height="1">
            </form>

            1 Reply Last reply Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              Ok I see the issue. In the markup there is <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> which is an image. In combination with the default style for images of lay theme this image which is a transparent gif gets stretched over the whole carousel slide making the content below (your paypal button) unclickable.

              Please enter this in "lay options" -> "custom html & css" -> "custom <head> content":

              <style>
                  .col form img{
                      width: auto;
                      height: auto;
                  }
              </style>
              

              I'm going to include this fix into lay theme in an update

              1 Reply Last reply Reply Quote 0
              • C
                clbv last edited by

                Thank you very much, it is working !! :smile:

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Post a link to where the problem is if possible, please <3
                I don't answer or check forum DMs, please just post on the forum.
                Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

                Before you post:

                Use the Search Feature. Maybe there is already a solution to your issue.

                1. Update Lay Theme and all Lay Theme Addons
                2. Disable all Plugins
                3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                4. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
                Go here, see if your problem is listed here:
                Troubleshooting

                When you post:
                1. Post a link to where the problem is
                2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                Thanks!

                Online Users

                Recent Topics

                • Website gone all blank after update 6.3.1

                • A

                  sit carousel captions at bottom of page

                • A

                  carousel addon is blank on the front page

                • menu doesn't show on latest update 6.3.1

                laytheme.com