Trouble with tax prices (with and without)
-- 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
Please Log in or Create an account to join the conversation.
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.
To many late nights, I think... :blink:
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.
No on the products page the price looks like this:
Is there an easy way to make it like this:
Thanks again..
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.
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
(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
Please Log in or Create an account to join the conversation.
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.
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 !
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.
Please Log in or Create an account to join the conversation.
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.
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.
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.
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.
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.
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); ?>
Please Log in or Create an account to join the conversation.
Now it's the way we wanted it to be!
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.