You are on the right way, I logged the $translated_text
, and it’s never ‘Proceed to Barion’, but ‘Place order’. But even if I change my function if ($translated_text == 'Proceed to Barion' || $translated_text == 'Place order') {
, it appears for a moment correct but some script modifies it later on pageload
I also tried to change the text with JavaScript, and it does change it, but probably some other JavaScript change it tp ‘Proceed to Barion’.
The button has the text first: ‘Place order’ -> then I change it with JS to ‘Confirm and Pay’ and then it changes again to ‘Proceed to Barion’.
I tried it with 3 themes: Avada, StoreFront and Twenty Nineteen
-
This reply was modified 5 years, 2 months ago by Koli14.