Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2843491
Change label form "Buy Product" to "Buy On Amazon"
Closed

Comments

  • Cesar Pinto started the conversation

    Hi,

    When I open the Compare screen there is a label "Buy Product".

    "How can I change the label to "Buy On Amazon"?

    Thanks for your help.

    Regards,

    Cesar Pinto

  •  767
    Janilyn replied

    Hi Cesar,

    Thanks for contacting WPClever Support Forum. We're not available at the weekends so today (Monday) I am able to process your ticket.

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Cesar,

    I'm so sorry for the late reply!

    Please add the below custom code (How to add custom code?)

    add_filter( 'woocommerce_product_add_to_cart_text', function () {
        return 'Buy On Amazon';
    } );

    Best regards,
    Dustin