other css with prices without VAT

  • Posts: 37
  • Thank you received: 4
  • Hikashop Business
5 years 6 months ago #306892

-- HikaShop version -- : 3.4.x

Hello,

I want to show the prices with and without VAT.
That is working great now, but i want an other css for prices without VAT.

They have thesame font-size now, i want the prices without VAT smaller and italic.

I am looking in Views, front-end, product, listing price but i dont where to put an extra line for a new css statement.


Thanks!

sorry, wrong topic i guess, my bad

Last edit: 5 years 6 months ago by plaag666.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 6 months ago #306898

Hi,

If you want to directly add CSS in a view file, you can add your CSS inside the <style> tag like that for example:

<style>
h1 {color:red;}
p {color:blue;}
</style>

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

  • Posts: 37
  • Thank you received: 4
  • Hikashop Business
5 years 6 months ago #306924

Thanks Nicolas.

But where do i put it in the view? Which line?


So this:
<span class="hikashop_product_price hikashop_product_price_0" itemprop="price" content="169">€ 169,00Prijs incl. BTW (€ 139,67Prijs excl BTW) </span>

Should be
<span class="hikashop_product_price hikashop_product_price_0" itemprop="price" content="169">€ 169,00Prijs incl. BTW </span>
<span class="hikashop_product_withoutVAT">(€ 139,67Prijs excl BTW) </span>

Last edit: 5 years 6 months ago by plaag666.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 6 months ago #306925

Hi,

In your translation overrides(edit the language file under the Languages tab of the HikaShop configuration), you must have one for the text "Prijs incl. BTW ("
So replace it with:"Prijs incl. BTW </span><span class='hikashop_product_withoutVAT'>("

The following user(s) said Thank You: plaag666

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

  • Posts: 37
  • Thank you received: 4
  • Hikashop Business
5 years 6 months ago #306943

Excellent, great solution!

Easy to create, and simple to maintain. Many thanks Nicolas.


Another reason to realize that Hikashop is the best webshop module there is! :)

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 5 months ago #306981

Hi,

Thanks ! If you want to share the love, you can post a review here (if it's not already done, or if it's more than 2 years old):
extensions.joomla.org/extensions/extensi...pping-cart/hikashop/

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

Time to create page: 0.061 seconds
Powered by Kunena Forum