Dit leek mij te moeten in /catalog/language/nl-nl/checkout checkout.php, maar dat verandert niets.
Wat doe ik fout?
OC 3.0.3.2
How are you changing it?
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
I changed the line in checkout.php to:
$_['text_agree'] = 'Ik ga akkoord met de <a href="%s" class="agree"><b>%s</b></a> n en de betaalverplichting';
as for refreshing the cache, i refreshed both 'theme' and' SASS' on the dashboard with the blue button top right.
blue button top right
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Mischien kun je mappen op server eens verwijderen system/storage/cache alles behalve de index.html
Wel ff map dupliceren/copy
Verder, komen je aangepaste bestanden in de goede map? weet niet hoe/waar je ze aanpast.
Use OC -3.0.3.8 and 4.0.1.1 & default theme
If you change a file in the correct language or theme it will change in the front end.
That will not happen if :-
1. The file is already modified, in which case it will change if you clear the modification folder.
2. The file is modified by other systems, for example changed in the built in editor and the modification folder.
3. You have a server caching, in which case you have to clear that cache or wait for it to clear itself.
4. You have installed a cache system and have not cleared that, which if combined with the above can keep caching old data and get into a loop. Your theme can contribute to this.
5. You have not cleared your browser cache which is especially relevant if using a mobile or ipad for example.
Somewhere something is not being done correctly.
You start with ensuring you are changing the correct file
You check if this change is being applied on the modified file, if that is relevant
.. and so on.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
When you use this wording
that will not be correct!Ik ga akkoord
Many court decisons (and high punishments therefore especially in Germany), because you don't have to be confirm it should be have read and understand.
Better to use such wording to avoid becoming letters from lawyers ..
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
/catalog/language/nl-nl/checkout/checkout.php
ja, via FileZilla download ik het bestand, Open het in notepad++ en dan is hij aangepast.
$_['text_agree'] = 'Ik ga akkoord met de <a href="%s" class="agree"><b>%s</b></a> en de betaalverplichting';
Mensen moeten hiermee akkoord gaan om de bestelling te plaatsen en dit wordt ook aangegeve door webwnkelkeur als voldoende.
De modifications cache ververst. (bij extensions -> modifications.)
De Theme cache ververst (bij het dashboard)
De SASS cache ververst (bij het dashboard)
/system/storage/cache verwijderd
In de browser (getest met Firefox en Chrome op 2 computers) ook de pagina ververst verversen en via F5) geen verandering zichtbaar
You are not clear which language file you are using or changing.
You have not stated if you are using default theme or extensions.
There is no link to your site.
Try this ocmod so we can try to narrow this down.
Upload and remember to refresh cache - that is in modifications and on your server (if that is what fixed your image, or any other caching you have - dashboard SASS is irrelevant for this)
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
> You are not clear which language file you are using or changing.
i'm editing /catalog/language/nl-nl/checkout/checkout.php
I want to change
$_['text_agree'] = 'Ik heb de <a href="%s" class="agree"><b>%s</b></a> gelezen en ga hiermee akkoord';
to
$_['text_agree'] = 'Ik ga akkoord met de <a href="%s" class="agree"><b>%s</b></a> en de betaalverplichting';
> You have not stated if you are using default theme or extensions.
I'm using Journal3 theme. The reason I did not mention this is that the mere mention of this can stop people from giving advice immediately.
> There is no link to your site.
I didn't think giving tat without being asked was appreciated.
It is: https://www.filamentenmeer.nl/
> Try this ocmod so we can try to narrow this down.
> Upload and remember to refresh cache - that is in modifications and on your server (if that is what fixed your image, or any other caching you have - dashboard > SASS is irrelevant for this)
I installed it (no files in upload?) and refreshed the cache...no change
MOD: Change text_agree
FILE: catalog/language/en-gb/checkout/checkout.php
CODE: $_['text_comments']
LINE: 31
FILE: catalog/language/nl-nl/checkout/checkout.php
CODE: $_['text_comments']
LINE: 31
----------------------------------------------------------------
The reason we often do not assist with that specific theme is because most of the time the issue is related to it and I personally have no intension of purchasing something that I have no interest or purpose for except to assist people on this forum.
You are changing the wrong file or the wrong text.
You have a checkout installed that is not the OC3 checkout.
Maybe there is something in your settings to change it, maybe it is another file, but unfortunately I can not help, you have to ask your theme developer how to change it.
The good news is that your ocmod is working and you can edit that to look for the text you need.
Code: Select all
<file path="catalog/language/*/*/*.php|catalog/language/*/*/*/*.php">
<operation>
<search><![CDATA[akkoord]]></search>
<add position="before"><![CDATA[//HERE
]]></add>
</operation>
</file>
Just to add that your theme caches and duplication cache can lead to a never ending loop that could still be effecting things.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Ik ontvang graag de nieuwsbrief.
Ik heb de Privacyverklaring gelezen en ga hiermee akkoord
Ik heb de Algemene voorwaarden gelezen en ga hiermee akkoord
Also, you are using the Journal3 framework, not the OpenCart framework. And worse, you are using the Journal3 single checkout page, not the OpenCart checkout sequence. The Journal3 checkout is different compared to OpenCart, it uses its own checout.php, with its own template. Hence you should either contact the Journal3 support, or use OpenCart, or at least the OpenCart checkout.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Ik heb bestand nog eens aangepast en een F5 is genoeg om te gewijzigde tekst te zien.
Ook de zip file van Mona werkt direct.
@mona : File works fine default theme !
Vraag, heeft jou versie geen talen editor? ik heb zelf versie 3.0.3.8
Verder zou je het standaard OC theme eens kunnen activeren i.p.v Journal kijken wat het doet.
Use OC -3.0.3.8 and 4.0.1.1 & default theme
Users browsing this forum: No registered users and 30 guests