other css with prices without VAT

  • Posts: 28
  • Thank you received: 3
  • Hikashop Business
1 month 3 weeks 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: 1 month 3 weeks ago by plaag666.

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

  • Posts: 66305
  • Thank you received: 9729
  • MODERATOR
1 month 3 weeks 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: 28
  • Thank you received: 3
  • Hikashop Business
1 month 3 weeks 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: 1 month 3 weeks ago by plaag666.

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

  • Posts: 66305
  • Thank you received: 9729
  • MODERATOR
1 month 3 weeks 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: 28
  • Thank you received: 3
  • Hikashop Business
1 month 3 weeks 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: 66305
  • Thank you received: 9729
  • MODERATOR
1 month 3 weeks 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