Support » Plugin: Afterpay Gateway for WooCommerce » Shortcode in Divi Theme

  • Resolved ozzinet

    (@ozzinet)


    Hi,

    I have just integrated Afterpay with this site: https://radharani.com.au/ and it works well on the cateory pages and check out etc but I can’t get the Afterpay break down to work correctly on the individual product pages. The product page layout is produced using the Divi Theme builder and layout. If I try and use the Afterpay shortcode as shown in the settings page it just shows the shortcode instead of the installment amounts.

    Is there a way to make the shortcode work within the theme builder?

    Thanks for your help.

    Cheers
    Kate

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

Viewing 1 replies (of 1 total)
  • Plugin Author Afterpay

    (@afterpayit)

    Hi Kate,

    Thanks for your message and for reporting a potential conflict with the Divi Theme builder plugin. The team can confirm that compatibility with this third-party plugin has not been specifically tested.

    This report has been documented internally and will be scheduled for further investigation. Any update to the plugin will be released via the official WordPress plugin directory.

    In the meantime, please note that the “[AMOUNT]” placeholder is not technically a shortcode. The Afterpay plugin searches for and replaces this string manually as part of the methods attached to the various WooCommerce hooks. Please have the Radha Rani development team refer to the reference below for instructions on attaching the Afterpay methods to custom hooks instead of the defaults.

    https://afterpay-online.readme.io/docs/woocommerce-advanced-configuration-hooks#section-customising-hooks-priorities

    Alternatively, please consider removing the instalment calculations from the product pages and instead implementing a simplified message. For example:

    • Make 4 equal payments with Afterpay.
    • Available as 4 interest-free payments, thanks to Afterpay.
    • Pay by instalments with Afterpay.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode in Divi Theme’ is closed to new replies.