Support » Plugin: Gestpay for WooCommerce » Default message when no saved card

  • Resolved enricodeleo


    After the installation, the plugin adds a “Saved Card” (Carte salvate) item within the my-account menu.
    This item shows the default user welcome text “From your account dashboard you can view your recent orders, manage your shipping and billing addresses and edit your password and account details.” that is the same message you see selecting “Dashboard” from the same menu.
    Is it possible to show something like “No saved cards yet” or similar?

    Thank you in advance for any help!

    [ Please do not bump. ]

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


    Hi @enricodeleo,

    it should already be as described in your solution because we are using

    apply_filters( 'gestpay_my_cards_template', 'my-cards.php' );

    when rendering the contents of the endpoint “My Cards”, and the “my-cards.php” template is showing the default string “There is not yet any credit card saved.” (or “Non è ancora stata salvata alcuna carta di credito.” in italian) when there aren’t saved cards.

    If this is not working, probably is because your theme is overwriting the template added by the plugin or maybe you are using an old version of the plugin.

    Please check in your code if there is somewhere an overwriting of the filter “gestpay_my_cards_template” and, please, let us know.


    Alessio – Team Gestpay

Viewing 1 replies (of 1 total)
  • The topic ‘Default message when no saved card’ is closed to new replies.