Trouble with tax prices (with and without)

  • Posts: 17
  • Thank you received: 0
9 years 5 months ago #225409

-- url of the page with the problem -- : www.sikringspartner.no/nokkelbokser
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Chrome & Mozilla Firefox

I'm trying to display both prices (with and without tax) on the product page.
But I only want the price with tax on the category page where all products are listed.

I tried setting the "Show taxed prices:" to Display both (in the Product data display for each menu link).
But then both prices were displayed on the category page, and only with tax price was displayed on the products page.

How do I get the opposite result?

Please help! :)


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no
Last edit: 9 years 5 months ago by ChristinB.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
9 years 5 months ago #225443

Hi,

You have the same setting in the HikaShop configuration.
So do the opposite. Set the one in the HikaShop configuration to display both, and the one in the listing menu item options to only display the price with taxes.

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

  • Posts: 17
  • Thank you received: 0
9 years 5 months ago #225448

Ouch... I have no excuse for not thinking that way... Sorry... But thanks... :)
To many late nights, I think... :blink: :P


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no

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

  • Posts: 17
  • Thank you received: 0
9 years 5 months ago #225452

One more question:

No on the products page the price looks like this:

479,00 NOK (383,20 NOK eks. mva.)

Is there an easy way to make it like this:
479,00 NOK
(383,20 NOK eks. mva.)

Thanks again.. :)


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no
Last edit: 9 years 5 months ago by ChristinB.

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
9 years 5 months ago #225453

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 17
  • Thank you received: 0
9 years 5 months ago #225489

I don't need to translate, I would like a line break, so the price without tax can be on the next line....

(PS. We have upgraded to Essential, if that has anything to say... )


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no
Last edit: 9 years 5 months ago by ChristinB.

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

  • Posts: 1099
  • Thank you received: 12
  • Hikashop Business
9 years 5 months ago #225525

ChristinB wrote: I don't need to translate, I would like a line break, so the price without tax can be on the next line....

(PS. We have upgraded to Essential, if that has anything to say... )


Hello and happy new year!

I was wondering the same thing!
I m guessing i can change that from listing_price view?
But i m not really sure how, hope you can help!

Thank you!

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
9 years 5 months ago #225530

Hi,

You can use some CSS rules if you want.
But you can also use the translation system and put a line break into the translation in order to add a line break in your website !

<br />

Please understand that our support team provide answers and we know our products.
The fact that I propose you the translation is because it will be the easiest solution.
And it will also result the same display everywhere in your website.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: verzevoul

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

  • Posts: 17
  • Thank you received: 0
9 years 5 months ago #225566

Thanks, the line break is fine. :)

But we still don't like that the price without tax appears in the product line in the shopping cart, and in the shopping cart module. It takes up too much space and as a result, the delete items button in the module is no longer visible... :(

The only place we would like the "no tax price" is on the product page....

Isn't there a way to have different code "snipplets" for the different places that the prices are displayed...? :)


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
9 years 5 months ago #225585

Hi,

For the carts, go in the menu Display>Views and edit the file "cart" of the view "product" and "checkout". There, add such line at the beginning:
<?php $this->params->set('price_with_tax',1); ?>

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

  • Posts: 17
  • Thank you received: 0
9 years 5 months ago #225609

Hi,
Thanks, it worked in the cart module, but not for each line of products in the listing of all products (the invoice like part).
There both prices are still displayed.

But we're getting closer.. :)

Is that last part settings, or do I need to make more changes in the code?

I made changes to:
components/com_hikashop/views/product/tmpl/showcart.php
components/com_hikashop/views/product/tmpl/showcarts.php
components/com_hikashop/views/checkout/tmpl/cart.php


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #230223

Hi,

Sorry for this very late reply... Do you have solved your issue ?
If not, please post screenshots of the views with the issue.
It could indeed require view editions.

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

  • Posts: 17
  • Thank you received: 0
9 years 4 months ago #230267

The last problem is still the same as when I last wrote in this tread.
In stead of me posting screenshots, please visit www.sikringspartner.no/nettbutikk/ and add something to the cart, and then go to the cart and see the "invoice" part in the lower part of the page...
:)

We would really like only to have the price ink tax like this:
829,00 NOK

... and not like this:

829,00 NOK
(663,20 NOK eks. mva.)

:)


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
9 years 3 months ago #230348

Hi,

I already explained how to change that there:

go in the menu Display>Views and edit the file "cart" of the view "checkout". There, add such line at the beginning:
<?php $this->params->set('price_with_tax',1); ?>

The following user(s) said Thank You: ChristinB

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

  • Posts: 17
  • Thank you received: 0
9 years 3 months ago #230539

Thank you, I must have forgotten the checkout one.

Now it's the way we wanted it to be! :) Thank you!


Best regards
Christin Bjørnrud

www.itweb.no - www.sikringspartner.no - www.bjornrud.no

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

Time to create page: 0.109 seconds
Powered by Kunena Forum