• Resolved davidfranom

    (@davidfranom)


    Hi. I noticed that i can add HTML code in description and title fields, however I would like adding shortcode instead, but there is a problem: When I add the shortcode and reload the page it executes and is read just for one second and then it is changed for the tag instead.

    Adding the shortcode:
    https://snipboard.io/EUZo2g.jpg

    Code executing for just one second:
    https://snipboard.io/wNoFYi.jpg

    Replaced with the shortcode tag:
    https://snipboard.io/uM2QS9.jpg

    If you want to replicate the issue you must position yourself so you can see the Paypal payment method option and then reload the page preventing it from scrolling up agin.

    • This topic was modified 4 years, 4 months ago by davidfranom.
    • This topic was modified 4 years, 4 months ago by davidfranom.
    • This topic was modified 4 years, 4 months ago by davidfranom.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Siew

    (@kosiew)

    Hi there,


    Link to image: https://d.pr/i/iEKKw2

    I checked this for you and PPE is not a documented PayPal Checkout shortcode on https://docs.woocommerce.com/document/paypal-express-checkout/.

    May I know how you implement the shortcode?

    Thread Starter davidfranom

    (@davidfranom)

    Hi, I wrote my own HTML code and ran it through Code snippets plugin. I have done that before and it has worked for other shortcodes.
    But I found that the issue has to do more with woocommerce itself more than with Paypal express checkout.

    • This reply was modified 4 years, 3 months ago by davidfranom.
    • This reply was modified 4 years, 3 months ago by davidfranom.
    Plugin Contributor Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    WooCommerce can be finicky about accepting shortcodes in fields that don’t expect them. I wouldn’t expect this field to be able to render a shortcode, though you may be able to make it work with customization.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add shortcode to description or title’ is closed to new replies.