News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Overrides not working

Started by MAD King, January 28, 2022, 00:11:12 AM

Previous topic - Next topic

MAD King

Hello,

I hope someone can help me.
I changed the text for

COM_VIRTUEMART_CART_NOTIFY_MAIL_HTML

and

COM_VIRTUEMART_CART_NOTIFY_MAIL_RAW

and

COM_VIRTUEMART_MAIL_SHOPPER_NAME

a few days ago and cleared all caches and still it is not working. It still uses the old text which is not existent anymore.

Overrides showing in the en-GB.override.ini

Anyone who can help?


Joomla! 4.3.4
VirtueMart 4.2.4 10922

MAD King

For anyone who is having the same issue.
Add the overrides to both: Side and Admin.
It works that way.
Do not know why.
Joomla! 4.3.4
VirtueMart 4.2.4 10922

pinochico

QuoteOverrides showing in the en-GB.override.ini

where?????

in admin or web?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

QuoteAdd the overrides to both: Frontend and Admin.
Just add to admin over rides and check the box for both FE and Admin

this is correct practice...  has been so with VM email constants for as long as I can remember
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pinochico

Quote from: GJC Web Design on January 28, 2022, 10:45:31 AM
has been so with VM email constants for as long as I can remember

Yes, I think too, is the right, the email constant is generated in admin model == use admin language constant
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Studio 42

The problem is that VIrtuemart does not force to load frontend overrides when generating a PDF or mail
So status changes, email, order, invoice also need to be replaced for admin side
I do not know if it's possible to do because overrides are in a specific folder
Perhaps
$lang->load('override', JPATH_SITE.'/overrides', 'xx-XX', true);