• Resolved ilcaroleader

    (@ilcaroleader)


    My customer emails and my customer confirmation page include an unwanted link to the Customer area (‘View my bookings”). This is possibly generated by a plugin through the code that follows.

    Unfortunately the plugin guy is not giving support to anyone, so I am asking if someone is kind enough to tell me how can I get rid of this element both in my Woocommerce emails and in my confirmation page — maybe a filter or something.

     <div class="mvvwb-summary-actions">
                    <a href="<?php echo esc_url(wc_get_endpoint_url('bookings', '', wc_get_page_permalink('myaccount'))); ?>">
                        <?php esc_html_e('View my bookings &rarr;', 'booking-for-woocommerce'); ?></a>
                </div>
    • This topic was modified 3 years, 2 months ago by ilcaroleader.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @ilcaroleader,

    You can use Loco Translate to search for that phrase in the plugin, target the site language and leave the translation blank (add a space) so that the phrase will not be displayed.

    Hope this helps.

    Thread Starter ilcaroleader

    (@ilcaroleader)

    It will do the job, thank you so much @rainfallnixfig .
    A cleaner fix could be a piece of php code, maybe someone can help.

    Mirko P.

    (@rainfallnixfig)

    Hi @ilcaroleader,

    You’re welcome! Yes, you could also do it via PHP code but we’re unable to provide support for custom coding on these forums.

    I’m going to leave this thread open for a bit though to see if anyone is able to chime in to help you out.

    You can also visit the WooCommerce Facebook Community group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution and the above resources for developers were helpful. If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing elements in customer email’ is closed to new replies.