Need shipping price in checkout incl. vat

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
13 years 10 months ago #5634

Hello,

I need the shipping costs in the checkout with vat included. How do I do that?

Regards, Benny.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5639

Hi,

You can select a tax category in each shipping method you created via the menu System->Shipping methods, in the manual shipping methods plugin. Then, the prices you set in them will be recalculated with the tax.

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

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
13 years 10 months ago #5640

Hello,

yes, the calculation is right, but the view not. And I need the right view too.
Example, I set 2 shipping methodes. One with 5,-€ and the other with 10,-€. Both without tax. And select my "whole shop" vat with 19% (germany).

Then it shows this where you can choose the shipping method in the checkout:

- Shipping A - DE 5,00 € <-(wrong, without vat)
- Shipping B - DE 10,00 € <-(wrong, without vat)

And in the calculation it shows at the end:

Summe 1,16 € <-(thats ok)
Lieferung 5,00 € <-(wrong, without vat)
Steuern 1,13 € <-(thats ok)
Gesamtsumme 7,11 € <-(thats ok)

But I need prices with vat everywhere where they are showed.

Regards, Benny.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5656

That seems to concur with the problem describe on that thread: www.hikashop.com/en/support/forum/3-bug-...ule-issues.html#5544

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

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
13 years 10 months ago #5680

Hello,

no, the other one has another problem. On his side the calculation is wrong but it shows right on the checkout screen. On my side the calculation is right but it shows the wrong price (without tax) on the checkout screen. I took some screenshots for better understanding.

This is what my shipping method in the backend looks like:


The price witout tax is 5,-€ and the tax here is 19%

This is what the shipping methode shows on the checkout page:

Here you can see that this is the price witout tax and I want the price with the tax.

And here you can see the calculation:

Here you can see that the calculation is right, but the shipping costs are displayed without the tax. And thats a problem in germany. Here you have to allways show the price with the tax included.

How can I solve this?

Regards, Benny.

Attachments:
Last edit: 13 years 10 months ago by benkly.

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

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
13 years 10 months ago #5706

Hello,

I really stuck on this step to get this shop online, any ideas?

Regards, Benny.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5707

Sorry for not answering earlier but we didn't had the time to look at it yesterday.
We'll look at it today and keep you posted.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5708

Could you go in the menu Display->Views and edit the file shipping of the view checkout ?

There, change the code

if(bccomp($taxes,0,5)){
to
if(bccomp($taxes,0,5)==0){
That will display the taxed price when a tax is applied to the shipping price on the shipping selection view.

Then, in the same file, change the code
echo $this->currencyHelper->format($rate->shipping_price_with_tax,$rate->shipping_currency_id);
to
echo $this->currencyHelper->format($rate->shipping_price_with_tax,$rate->shipping_currency_id); 
								echo JText::_('PRICE_BEFORE_TAX');
								echo $this->currencyHelper->format($rate->shipping_price,$rate->shipping_currency_id); 
								echo JText::_('PRICE_AFTER_TAX');
That will display teh price of the shipping methods like this:
My shipping method 1 17,76 € (14,85 € without VAT)

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

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
13 years 10 months ago #5710

Hi,

thanks, the first thing was enough, the second change is not needed.

BUT, at the calculation is still the price without tax. How to change this?

Regards, Benny.

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

  • Posts: 73
  • Thank you received: 0
  • Hikashop Essential
13 years 10 months ago #5715

benkly wrote:

Hi,

BUT, at the calculation is still the price without tax. How to change this?


Hehe, I found it! Its the same change like the first one you said:
if(bccomp($taxes,0,5)){

to
if(bccomp($taxes,0,5)==0){

But this time in the view -> checkout - cart

Thanks for all!

Regards, Benny.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5717

Yes, you're faster than me :)

That is indeed that file where you can do the same modifications.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum