WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Harish Chouhan
    Member
    Posted 11 months 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 11 months 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. vark
    Member
    Posted 11 months 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 11 months 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 11 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic