Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Uplift
  • #290291
    micheal_w
    Member
    Post count: 498

    Hi guys,

    We have a “buy now pay later” payment option here in Australia, its called Afterpay. Their plugin adds extra automatically calculated info under the price on each product page. This info can be edited using the standard WP wysiwyg editor, hence this editor has your Swift Framework Shortcodes too.

    However when I put any shortcode in the editor, it does not appear correctly on the front end (it simply shows the short code itself). Would it be possible to fix this?

    Please see example url and staging admin login details above.

    You can find the payment setup page at:
    Woocommerce > Settings > Checkout > Afterpay
    Look for the last option on the far bottom: “Payment info on individual product pages”

    ps. We want to achieve same as here:
    https://www.hypedc.com/gazelle-purple-white-silver.html

    Attachments:
    You must be logged in to view attached files.
    #290497
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I got the problem. Our shortcode is working perfect everywhere but plugin code is written to print plain text. Plugin code should be written to print the content with shortcode. I would suggest to contact to plugin developer to resolve this issue.
    Thanks
    Mohammad

    #290848
    micheal_w
    Member
    Post count: 498

    Hi Mohammad,

    I got a reply from the plugin’s developer.
    His reply is the following:

    You should be able to modify the plugin codes to parse it using the contents filter.
    https://wordpress.org/support/topic/apply-filters-to-get_the_content/
    That usually will apply the shortcodes, too.
    Just be careful because it will start adding <p> tags all over the place, too.

    I am not sure what and how should I do 🙁
    Can you please put me in the right direction?

    Thanks!

    #291050
    David Martin – Support
    Moderator
    Post count: 20834

    Hi there,

    We only provide support for theme issues, and at times basic customisations.

    We recommend that you seek a freelance developer if you need to make that customisation.

    Thanks.

    #291051
    micheal_w
    Member
    Post count: 498

    ok, thanks.

    #291062
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    No problem.
    Thanks
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.