• Resolved shopaurora

    (@shopaurora)


    Hi, I am trying to add the afterpay info on the single product page right after the price is displayed. I tried using the hook woocommerce_single_product_summary and setting the priority as 15 in payment settings. The price hook is prioritised at 10 in woocommerce. But still it is displayed after the whole summary and not the price. I am using Astra Theme. Is there any solution to this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Afterpay

    (@afterpayit)

    Hi @shopaurora,

    Thank you for your question.

    With regard to the position of the hooks this will vary depending on the theme. It appears as though the woocommerce_single_product_summary runs after the product content. To resolve this challenge, a more appropriate hook needs to be found in the active theme. One of the hooks available in the latest version of Astra is astra_woo_single_price_after which may work depending on settings and customisations.

    Please note that if the theme is changed or the theme is updated and the hook is moved, the setting in the Afterpay Payment Gateway for WooCommerce will need to be modified.

    If assistance is required to implement the above, the team would be happy to help. To facilitate this, please submit support request including a link to this post using the following form: https://afterpay.formstack.com/forms/global_merchant_technical_support

    Thank you.

    Thread Starter shopaurora

    (@shopaurora)

    Hi,

    Thank you for replying. This hook seems perfect for what I was looking for.

    Cheers!

    Plugin Author Afterpay

    (@afterpayit)

    Hi @shopaurora,

    Thank you for verifying the solution.

    The team are happy to hear that the challenge has been resolved.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I want to display the afterpay info right after price in Astra Theme’ is closed to new replies.