How do I change the text of the Buy Now / Add to Cart button?

I know that those are the only two options, but I'm looking to figure out how to change the text in the buttons at the code level. I would really like to have my homepage (global products list) have the buttons say something like More Info >> instead of Buy Now >>, because when you click the buy now from the global products list it takes you to the listing, so you actually are not "Buying Now" but rather "Getting more information"

  • Brett
    • WPMU DEV Initiate

    Hi Vaughan,

    I installed Ultimate Branding network-wide, and tried to use the network-wide text change, but it didn't work. I tried to target index.php, /index.php, and the domain itself as the "in this text domain" option.

    I only want the Buy Now >> on the homepage to be changed.

    Any ideas how to get this to work?

    Thanks,
    Brett

  • Vaughan
    • Support/SLS MockingJay

    hiya

    hmm. then i think you would need to edit 1 of the core files.

    find in

    marketpress/marketpress-includes/marketpress.ms.php (around line 1393)

    $content .= '<a class="mp_link_buynow" href="' . $permalink . '">' . __('Buy Now &raquo;', 'mp') . '</a>';

    then change Buy Now inside the parenthesis not the class.

    remember, doing it this way will mean everytime you update, the changes will be lost, and you will need to re-edit.

    hope this helps.

    thanks.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.