Skip to main content

other css with prices without VAT

7 years 5 months ago - 7 years 5 months ago #306892 by plaag666
-- 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: 7 years 5 months ago by plaag666.

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

7 years 5 months ago #306898 by nicolas
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:
Code:
<style> h1 {color:red;} p {color:blue;} </style>

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

7 years 5 months ago - 7 years 5 months ago #306924 by plaag666
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: 7 years 5 months ago by plaag666.

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

7 years 5 months ago #306925 by nicolas
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.

7 years 5 months ago #306943 by plaag666
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.

7 years 5 months ago #306981 by nicolas
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.074 seconds
Powered by Kunena Forum