• I have a site using Woocommerce with Paypal method of payment.
    At checkout the button that actually takes you to Paypal is working, but there is nothing written on it ( I think it should be written “Place order” ).
    The site was done by another person so I don’t know if he modified this or there is a problem with the plugin.
    The site is located here: https://new.yamora.ro/checkout/

    How or what do I have to modify to have a text on that button?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 9 replies - 1 through 9 (of 9 total)
  • You’re just missing value ‘Place Order’ to it.

    <input id=”place_order” class=”button alt” type=”submit” value=”” name=”woocommerce_checkout_place_order”></input>

    Most likely whomever set your site up either made mistake and deleted it. I can’t think of any other reason for that to be gone.

    If you can find the file that code is located, it’s an easy fix. Otherwise, the other easier option is to download woocommerce from their website then replace it using FTP. That’ll restore all these settings automatically. (default)

    Good luck.

    Or if you haven’t yet, go ahead and apply update that came out today, it may patch and fix the issue.

    Thread Starter aditd

    (@aditd)

    I didn’t applied the update.
    Yes, I’m thinking the same way: some bed intentions. It’s not my site, I’m just helping someone to finish this site. I’m not a programmer but I can look in the code make some fixes, etc.

    However I will still need your help:
    Where should I place this code? ( were is the file, were do I place the code ).

    Thank you.

    Once again, I’m not a woocommerce ninja. But it should be under cart.php or checkout. php. That code is copied from your site so find that code and put wording into value=”” between ” “.

    Then it should appear. Once again though, do update first, and it might get fixed automatically.

    Thread Starter aditd

    (@aditd)

    Indeed this is the problem:
    “<input id=”place_order” class=”button alt” type=”submit” value=”” name=”woocommerce_checkout_place_order”></input>”
    – the fact that value has no value between “”.

    However I don’t know where this code might be on the server.
    Maybe someone can help me here.

    I didn’t update yet cause I don’t know yet if there are custom modification to the plugin. I would prefer to just to add that value.

    Thread Starter aditd

    (@aditd)

    I did the update … but still not working.
    There is an improvement: when you enter the page or click f5, on the button appears: Place Order, but after 1 second it’s gone and the button is black.

    I think the file is woocommerce/templates/checkout/form-pay.php?

    The button text disappears due to some javascript that’s running.

    There should be a data-value item in there, but I can’t tell if its significant to this issue. You could put it in. Here’s the same tag from my site:

    <input type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="Proceed to PayPal" data-value="Place order">

    In html, the input tag has no end tag: “</input>”

    Thread Starter aditd

    (@aditd)

    I tried the modification … no luck.
    I’m looking now at this situation like this:
    So the text appears but it’s gone due to … now this is the mystery for me.
    From what I understood some modification were done to the template. Could it be from there? ( the template makes the text gone – although this seems to me like a woocommerce function not a template problem )

    Your theme seems to be LaBomba version 1.4. The current version is 1.8. According to the change log, version 1.5 included a fix for the missing Place order button. Consider updating your theme but take a backup first.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Paypal Checkout’ is closed to new replies.