WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] Changing Upsell Text (5 posts)

  1. Harish Chouhan
    Member
    Posted 2 years ago #

    Hello,

    Does anyone know of a filter to modify the upsell default text "You may also likeā€¦".

    http://wordpress.org/plugins/woocommerce/

  2. Harish Chouhan
    Member
    Posted 2 years ago #

    Ok there is no filter for this, as its hardcoded in the template. The only option is to copy the template up-sells.php and add it to your theme.

  3. varktech.com
    Member
    Posted 2 years ago #

    @H,
    You can use the PO translation function to replace the text with whatever you'd like. That makes the change upgrade independent.

  4. Harish Chouhan
    Member
    Posted 2 years ago #

    Hi that is true and seems better option.
    But isn't that an expensive query. I mean wouldn't that be slower without caching.

  5. Roy Ho
    Member
    Posted 2 years ago #

    There are no filters for that text. You must use the PO to translate it as suggested by varktech.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic