• I think I somehow changed the button before and never realised I hadnt changed it back and now I cant remember how I did it.

    The checkout button says “BUYY” instead of “BUY”.

    I tried searching in the Theme Editor “functions.php” and also on my control panel, i searched for the word “BUYY” and nothing returned.

    Been at it a while now and can’t seem to update it back to “BUY”.

    I have Woocommerce.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • This text is very likely being generated by your theme. Suggest that you use your browser inspector to find the html/css context of this button, searching your theme for the specific classes etc used will get you to the code that generates the button and its text.
    Myself I keep notes in each website project folder so that I can quickly revisit the odd changes like these. It is a difficulty inherent to the WordPress system that odd details like this can get hidden away and be managed in many different locations.

    Thread Starter philhunter

    (@philhunter)

    <button type=”submit” name=”add-to-cart” value=”6766″ class=”single_add_to_cart_button button alt”>BUYY</button>

    This is from the element inspector.

    I search CPanel file manager in the philhuntercoaching.com directory for “single_add_to_cart_button” and nothing returned.

    The cPanel file manager search option I am familiar with (the one on the right of a bar across the top of the file view display) does a search for files by name. It would be surprising indeed if you had a file with “single_add_to_cart_button” in its name.
    Under my linux based system (Ubuntu) I use a command line program called “grep” to do a recursive search on text file contents. Not sure how I would manage without it.
    Here is a way to do this:
    https://webmasters.stackexchange.com/questions/12333/how-to-grep-or-find-on-cpanel
    another option is to login to your site using SSH, It has to be specifically enabled by your hosting, I have never done this.
    Another way to run command line programs on your website is to use the CRON feature, create a task a few minutes into the future and soon enough the script results will be emailed to you, then disable the cron task.

    • This reply was modified 3 years, 9 months ago by RossMitchell.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change checkout text button (currently says “buyy”)’ is closed to new replies.