Style Bank-Account Information in confirm-mail and checkout

  • Posts: 12
  • Thank you received: 2
6 years 2 months ago #289082

-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.0.27
-- Browser(s) name and version -- : FF 58.0.2

Hey there,

i don’t know if this topic is nessesary but ive searched a lot and find nothing related.
Is it possible to style the colour of a part of payment-information?
In my case i want to highlight the parameters which let me find the correct
order to the purchase via bank-account.
maybe you understand my question better when you look on my screenshot.
I want to have only the highlighted part in a red colour for example.
Better both – in email and on the confirm-site after checkout.
Where can i find the code to customize it?

Thanks a lot for your help and sorry for my bad english…

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81641
  • Thank you received: 13088
  • MODERATOR
6 years 2 months ago #289103

Hi,

You don't need to change any code.
You can just use a translation override in order to add the style or a specific class to the text.
www.hikashop.com/download/languages.html#modify

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 2
6 years 2 months ago #289130

ah okay – great, but how to format it? I’ve tried several ways but nothing works, and in the documentation
there is no example how to realize it.
This here doesn’t work…

INCLUDE_ORDER_NUMBER_TO_TRANSFER=<a "Bitte vergessen Sie nicht, Ihre Bestellnummer ( %s ) bei Verwendungszweck der Überweisung anzugeben, um diese Ihrer Bestellung zuordnen zu können." color=#380000</a>

thanks for help…

Please Log in or Create an account to join the conversation.

  • Posts: 81641
  • Thank you received: 13088
  • MODERATOR
6 years 2 months ago #289133

For example:

INCLUDE_ORDER_NUMBER_TO_TRANSFER=<a style='color:#380000;'>Bitte vergessen Sie nicht, Ihre Bestellnummer ( %s ) bei Verwendungszweck der Überweisung anzugeben, um diese Ihrer Bestellung zuordnen zu können.</a>"

The following user(s) said Thank You: 78oe

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 2
6 years 2 months ago #289153

thank you nicola, but that also doesn‘t work.
I’ve insert it in the override-section in the language file
and clear all caches but it still isn’t coloured.
translation works but not the style.

what can i try indeed?

edit: sorry i’ve seen now that anything is not right with the override,
cause it doesn’t work. :(
I’ve to figure out what’s the reason and then i’ll give a sign…

Last edit: 6 years 2 months ago by 78oe. Reason: not working

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 2
6 years 2 months ago #289194

hey nicola,

to figure out what the problem is, i’ve deleted the override-file and reinstalled the language file for german.
Then i’ve inserted the old override-strings step by step and all works fine, til the point
where i’ve inserted your string with that style-argument. then it breaks the file i think.
but what can i do now?
I’ve seen this file —> ~/plugins/hikashoppayment/banktransfer/banktransfer_end.php
is it possible to describe the style within it? Isn’t it the part i searched for?

thanks and regards…

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 2
6 years 2 months ago #289195

sorry – i’ve seen a missing " in your code and for now it semms to work fine…

many thanks…

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum