VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Jeroentje on December 12, 2020, 16:14:43 PM

Title: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: Jeroentje on December 12, 2020, 16:14:43 PM
Hello everyone,

Can someone please help me. I am stucked for several days.  :(

I want to adjust the text ''Bill To Information'' (Shopping Cart) next to the house icon.
I want to adjust the text ''Shipment Addresses'' (Shopping Cart) next to the letter icon.

Please see the attached picture.  8)

First I tried it the easy way with 'Languages Overrides'. Unfortunately I cannot find these 2 particular texts.  Next I tried to find these 2 texts in the en-GB.com_virtuemart.ini, but I cannot find them either. 

Does anyone know where I can adjust the 2 texts?  :D

Thanx,
Jeroen Blaauw
Joomla 3.9.23
VM 3.8.4


Title: Re: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: GJC Web Design on December 12, 2020, 19:53:09 PM
COM_VIRTUEMART_USER_FORM_BILLTO_LBL
and
COM_VIRTUEMART_USER_FORM_SHIPTO_LBL

in a standard cart template
Title: Re: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: Jeroentje on December 12, 2020, 21:50:49 PM
Hello GJC Web Design,

Thank you very much for your quick answer.

I am looking in my DirectAdmin in:
Private_html/components/com_virtuemart/language/en_GB for the en-GB.com_virtuemart.ini file

There I can find:
COM_VIRTUEMART_USER_FORM_BILLTO_LBL="Billing details"
COM_VIRTUEMART_USER_FORM_SHIPTO_LBL="Shipping details"

But the text you mentioned is different. I want to adjust the text ''Bill To Information'' and ''Shipment Addresses''.
Am  I searching in the right place? I am a newbie so please tell me where I can find the file and explain a bit more ;-)

Thanx a lot,
Jeroen Blaauw

Title: Re: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: GJC Web Design on December 12, 2020, 22:51:19 PM
Just use Joomla lang overrides
Title: Re: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: jenkinhill on December 13, 2020, 13:21:29 PM
Here are a couple of tutorials for Joomla language overrides:
https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla
https://www.joomlashack.com/blog/joomla/languge-manager/

Title: Re: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: Jeroentje on December 13, 2020, 20:07:35 PM
Hello GJC Web Design and Kelvyn,

I fixed it ! Thanx a lot for your help!

My problem was...when I searched for the exact words: ''Bill To Information'' and ''Shipment Adresses'' I did not find them. When I searched for ''Bill to'' I did find it. I just copied and pasted the COM_VIRTUEMART_USER_FORM_BILLTO_LBL
and COM_VIRTUEMART_USER_FORM_SHIPTO_LBL and filled the blank textbox with my 2 new texts  ;D.

I am very happy it works !  :-*

Thanx again and Merry Christmas !

Jeroen
Title: Re: Adjust text ''Bill To Information'' and ''Shipment Addresses'' (Shopping Cart)
Post by: GJC Web Design on December 13, 2020, 20:24:39 PM
Tip -- u don't need to find the texts .. if u know the constant you can simply over ride it