News:

Looking for documentation? Take a look on our wiki

Main Menu

Customize page template

Started by vetocare, August 08, 2023, 22:09:50 PM

Previous topic - Next topic

vetocare

Hi,
I am using joomla 4.3.3 and VirtueMart 4.0.12. The flex theme was used for the website.
However, I have two problems that I haven't been able to solve so far:

1. In the shopping cart area, the user is asked "New here?" and then forwarded with a link on a rectangular box. Unfortunately, this English text cannot be adapted by the installed language packs! How to change this to display according to the selected and installed language? Unfortunately, I'm a layman and don't really have a clue how to do this.
2. Next to the "New here?" there is a link in the colors of the theme. Unfortunately, the link color is black. And since a button is imitated there that has the color dark blue, the link is difficult to see.
Buttons are usually displayed in white text on a dark blue box on the rest of the page. How can I change this?

I have already asked this question in a German forum and unfortunately no one has an answer. Maybe here?

ViPeS

Quote from: vetocare on August 08, 2023, 22:09:50 PM

1. In the shopping cart area, the user is asked "New here?" and then forwarded with a link on a rectangular box.
Post a screenshot and a link to your site.
VM 4.2.18 11050, Joomla 5.2.1, PHP 8.3.8

vetocare

Hi ViPeS,
thx for your answer!
I send here a screenshot in the attachment

and the link to this "problem" is https://www.vet-o-care.de/index.php/warenkorb

GJC Web Design

add in your custom css somewhere

#sp-main-body a.btn {
    color: #fff;
}
the text is impossible to say without knowing the code .. "New Here?" could be hard coded or have a lang constant

it is not standard VM

you need to find the file it is in .. in your VM template over rides somewhere /cart/ ?
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

ViPeS

You need to do Language Overrides:
1. In System Dashboard select Language Overrides
2. Choose Your Language-Site
3. Click New
4. Write MOD_NEW_REGISTER in the field "Language Constant *"
5. Write Neu hier? in the field "Text"
6. Click Save
7. Clear the cache - click "Delete All" in Maintenance: Clear Cache

Check the result on the site.
VM 4.2.18 11050, Joomla 5.2.1, PHP 8.3.8

vetocare

#5
Thanks!! ;)
One problem solved!

Just a question:
how can I find out for myself where this modification is necessary? I've managed to do an override before. But I haven't figured out how to find the relevant part here!

ViPeS

#6
Product successfully added to
VM_POPUP_PRODUCT_ADDED_SUCCESS

Your Shopping Cart
VM_POPUP_YOUR_SH0PPING_CART

Quantity:
VM_POPUP_SH0PPING_CART_QUANTITY

I also use Flex and did it for Lithuanian
VM 4.2.18 11050, Joomla 5.2.1, PHP 8.3.8

ViPeS

MOD_LOGIN_FORGOT
MOD_LOGIN_FORGOT_PASSWORD
MOD_LOGIN_OR
MOD_LOGIN_FORGOT_USERNAME

MOD_LOGIN_CREATE_ACCOUNT
MOD_LOGIN_REGISTER
VM 4.2.18 11050, Joomla 5.2.1, PHP 8.3.8