• Resolved threadpicker

    (@threadpicker)


    We are needing to move the paypal buttons lower on the single product page, just before the description box (can be after add to cart button) or below the description box. This is a staging site and some of the plugins are currently turned off. Theme used is Avada, I tried adding function to the function.php in a child theme but it made no difference on placement of the buttons.
    Suggestions?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @threadpicker

    The default smart button placement can be modified with these available render hooks. This is explained further in this documentation:
    https://github.com/woocommerce/woocommerce-paypal-payments/wiki/Actions-and-Filters#change-button-placement-via-render-hooks

    Please let me know if that helps you resolve this issue or if you require additional support.

    Kind regards,
    Joost

    Thread Starter threadpicker

    (@threadpicker)

    Thanks for the helpful information. I added one of the choices to functions.php in the child theme which is activated, avada child theme had no modifications other than the one added function. Either I did something wrong, or this is not working with our Avada theme. Enclosing image of functions.php avada child theme.



    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @threadpicker,

    The filter from your screenshot is correct and should move the buttons from the default woocommerce_single_product_summary hook to the woocommerce_after_add_to_cart_button hook, which is sometimes better supported by third party themes or page builders.
    I’m not sure why it has no effect on your site. Did you try some other hooks from this page?

    Also, is this a regular WooCommerce product page or was this created e.g. with the Avada Builder plugin? Page builders sometimes have certain limitations, but this looks like a regular page.

    I tried an older Avada version (7.6.1) and it displays the buttons correctly out of the box, so it should usually also be working with never versions of this theme.
    One more thing you could check is if the filter makes a difference for you when using the Storefront theme. If it does make a difference, but not the Avada child theme, it may be worth additionally reaching out to the Avada support to clarify which hooks the theme supports on the single product page.
    Normally, we don’t anticipate any problems with Avada though, because their team added compatibility as far as I am aware.

    I hope this helps!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    We have not heard back from you in a while, so I’m marking this thread as resolved.
    Hopefully, you were able to proceed as advised above.
    If you have any further questions, please feel free to reopen this topic or create a new one.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Paypal buttons top of product page Avada Theme’ is closed to new replies.