excl. VAT

  • Posts: 624
  • Thank you received: 24
  • Hikaserial Subscription Hikashop Multisite
6 days 12 hours ago #369623

Hi, I have a question about the product page display in HikaShop.

I know it's possible to show the product price without VAT, but we like to have a small text right after the price that says “excl. VAT”

Is that possible?

Kind regads,
Lumiga


Kind regards,
Lumiga

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

  • Posts: 84808
  • Thank you received: 13808
  • MODERATOR
6 days 8 hours ago #369624

Hi,

Yes. You can just add a translation override like this:

PRICE_AFTER_TAX=" excl. VAT"
www.hikashop.com/download/languages.html#modify

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

  • Posts: 624
  • Thank you received: 24
  • Hikaserial Subscription Hikashop Multisite
5 days 18 hours ago #369632

Hi Nicolas,

I have added the override, but stil we don't see the text.



Kind regards,
Mirek


Kind regards,
Lumiga
Attachments:

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

  • Posts: 84808
  • Thank you received: 13808
  • MODERATOR
5 days 13 hours ago #369634

Hi,

Then, it's likely that you've configured the "Show taxed price" setting to display the prices with taxes.
And what you see on your screenshot is the price with the tax calculated at 0 at that moment because you didn't yet login to the website with the address, and thus there is no tax rate that applies to the price.
Can you check on this ?

Now, you can also edit the file product / listing_price via the menu Display>Views and add your text at the end. However, this means that it will also appear on the product page even if the price displayed on the product page is the price with taxes.

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

  • Posts: 624
  • Thank you received: 24
  • Hikaserial Subscription Hikashop Multisite
4 days 17 hours ago #369649

Hi Nicolas,

I still don't know why I can't show the text excl. VAT.
See mij screenshots, I think everything looks fine.


Kind regards,
Lumiga
Attachments:

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

  • Posts: 84808
  • Thank you received: 13808
  • MODERATOR
1 day 10 hours ago #369678

Hi,

That's my bad. The PRICE_AFTER_TAX translation is only added after the price without taxes if both the price with taxes and the price without taxes are displayed.
So, in your case, it's normal it doesn't display.
I see several other ways to go about it.

You could try to add a translation override for the key PER_UNIT
In fact, you already have one with an empty value in order to not display the "each" word after the price. So you could add the excl. BTW in it.

Another way would be to use CSS like so:

#hikashop_product_price_main .hikashop_product_price_full:after {
    content: ' excl. BTW';
}
The advantage is that you can target only the price on the product page with this CSS and you're sure no other price elsewhere will be impacted.
The drawbacks is that it will add the text regardless of what type of price is displayed on the product page (which doesn't impact you at the moment), and cannot be translated (if your website is in multiple languages, that would be a problem, but that doesn't seem to be the case).

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

Time to create page: 0.075 seconds
Powered by Kunena Forum