As, the title says, I want to customize the text for shipping warning - No Shipping options are available. Please contact us'. Is there a way to do it? Any twig file?
Last edited by ri2k on Sat Mar 27, 2021 11:59 am, edited 1 time in total.
That would require a change in the following language files:
catalog/language/en-gb/api/order.php
catalog/language/en-gb/api/shipping.php
catalog/language/en-gb/checkout/checkout.php
catalog/language/en-gb/total/shipping.php
Also in these language files if you got the following payment methods:
catalog/language/en-gb/extension/payment/pp_braintree.php
catalog/language/en-gb/extension/payment/pp_express.php
catalog/language/en-gb/api/order.php
catalog/language/en-gb/api/shipping.php
catalog/language/en-gb/checkout/checkout.php
catalog/language/en-gb/total/shipping.php
Also in these language files if you got the following payment methods:
catalog/language/en-gb/extension/payment/pp_braintree.php
catalog/language/en-gb/extension/payment/pp_express.php
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
JNeuhoff wrote: ↑Fri Mar 26, 2021 8:24 pmThat would require a change in the following language files:
catalog/language/en-gb/api/order.php
catalog/language/en-gb/api/shipping.php
catalog/language/en-gb/checkout/checkout.php
catalog/language/en-gb/total/shipping.php
Also in these language files if you got the following payment methods:
catalog/language/en-gb/extension/payment/pp_braintree.php
catalog/language/en-gb/extension/payment/pp_express.php
Well, I only use PayPal. Do I still need to change the braintree?
Event languages could also be created rather than altering these files.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Why do you love events so much?straightlight wrote: ↑Fri Mar 26, 2021 8:50 pmEvent languages could also be created rather than altering these files.
Have you ever worked with Prestashop? Everything is done with events there, and it's not ideal.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Events are better than OCmod/VQmod, and better than directly changing OpenCart core files.
Having said that, personally I prefer object-oriented class extensions with overridden methods where possible as a way to modify OC core logic.
Having said that, personally I prefer object-oriented class extensions with overridden methods where possible as a way to modify OC core logic.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Correct. The Event engine is also part of the core as it should be provided as an e.g to be used rather than criticizing the use of it especially when originated by moderators.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester