No taxes on products

  • Posts: 14
  • Thank you received: 0
10 years 3 weeks ago #177184

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.4

Hello,

For my webshop I use the combination of Calcbuilder and Hikashop to calculate the product prices, calcbuilder creates a new product after each calculation and therefore it's not possible to set a default tax group on the products.

I tried to apply the tax rate of 21% to all products in the checkout but it won't work in any of the ways I've tried, see my attachments for my Tax settings (BTW = VAT). The order e-mails are showing prices with and without the tax but without any rates so the proces are the same (see scrnshot).

Is there a way to apply the default tax to all products in the checkout or does the combination with Calcbuilder make it impossible?

Thanks in advance.

Greetings Hidde

Product page: www.houtenschuifpuien.nl/enkele-schuifpu...iew=calcbuilderfront

Attachments:
Last edit: 10 years 3 weeks ago by eddih19.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 3 weeks ago #177195

Hello,

Is there a way to apply the default tax to all products in the checkout or does the combination with Calcbuilder make it impossible?

Even if your products aren't supposed to be created by the "Calcbuilder" extension, a solution can maybe be to directly apply your tax rate the the "Default tax category".

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

  • Posts: 14
  • Thank you received: 0
10 years 3 weeks ago #177767

hello Mohamed,

Thank you for your reply, I've changed the Tax rues to: Netherlands - Default Tax category - 21% - all customer types.

It didn't solve my problem, the problem will show when I put the 'detailed tax display' function on, see the attached screeshot.

Screenshot: The price with the added tax is supposed to be 1.736,70, so that one is correct, but the price without the tax is the same amount and no tax is displayed in the subtotal.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 3 weeks ago #177778

Hi,

Try instead to set your tax rule's "product tax category" to "none". That way, if the product has no tax category, the system should normally apply that tax rule.

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

  • Posts: 14
  • Thank you received: 0
10 years 3 weeks ago #177856

Hi Nicolas,

Thank you for your reply but it still didn't solve my problem...

Could it be because people have to fill in their adresses later in the checkout? The default tax zone is set to "150 Netherlands" and I've set a tax rule which included the Netherlands.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 2 weeks ago #177861

Hi,

If your tax rule uses the same zone as the "main tax zone" setting of the configuration, then the tax rule should be picked up.
The easy way to see if the problem comes from the product tax category or not is to set a tax rule with a tax category for a product with that same tax category. We have a FAQ which lists all the potential problems in that case if it doesn't work :
www.hikashop.com/support/support/documen...ion-listing.html#faq

Once it work, try the same without the tax category in the tax rule and the product and it should hopefully work too.

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

  • Posts: 14
  • Thank you received: 0
10 years 2 weeks ago #177942

Hi,

I've tried 2 things with different results:

1 - I've created a new product (so not with the Calcbuilder component) and set the tax category to "default tax category", I've also created a new tax rule with: Tax category = "default tax category", Rate = "21%", no selected zones, all customer types
Result = the new product works with the right taxes, but the calcbuilder products have no selected category so no taxes are shown.

2 - same product, only the tax category = "none", I've changed the tax rule to tax category "none"
Result = no taxes on the products.

So no the rule for products without a tax category doesn't work... Is there a way to apply this rule for all products? Or is there a code for the calcbuilder extension to set a tax category? I'm now using the following to link Calcbuilder and Hikashop:

$hk_quantity=$number;
$hk_product_name=" name";
$hk_pricehikaproduct=$price;
$hk_product_description=" description";
$hk_product_code='productcode';
$hk_product_category='overig';
$hk_file_name='Product informatie';
$hk_file_description='File Attached';

Maybe there is a code for the tax category?

Thanks again!

Last edit: 10 years 2 weeks ago by eddih19.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 weeks ago #178059

Hi,

To set the default tax rule to all the products, you can potentially do that via the mass actions.
Please backup your database before anything.

Then via System > Mass actions, create a new one with the "product" data, then in the action select "Update the values", "product_tax_id" = INT and the id of the desired tax rule. You can find it in System > Taxes.

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

  • Posts: 14
  • Thank you received: 0
10 years 2 weeks ago #178234

Thanks again but the mass action had no effect.

When i now create a new product inside Hikashop, everything works fine, the right tax group is added and the price is adjusted automatically, however:

When the product is calculated by Calcbuilder, a new product is automatically created and the tax category is set to "none" but I am not able to set a tax rule for a product without a tax category, even if I create a new rule with the same values except for the Product tax category it won't work.

Thanks in advance.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 weeks ago #178242

Hi,

Mass actions should set the correct tax category to the products, so apply the tax.
Are you sure that you have set a correct value ?

Please give us a screenshot of your mass action settings and your tax rules, tax categories listings.

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

  • Posts: 14
  • Thank you received: 0
10 years 1 week ago #179303

Hi Xavier,

Something worked with the mass action, if I have several products in my shopping cart and I execute the mass action the right taxes will be applied on these products. But when a product is created by Calcbuilder the mass action isn't automatically executed (even I work with the triggers). So the mass action works fine, but not at the right moments.

I've added the required screenshots.

Greetings

Attachments:
Last edit: 10 years 1 week ago by eddih19.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 1 week ago #179436

Hi,

In the screenshot, you don't have selected a trigger, so the mass action will never be executer unless you click on the proceed button.
So please select the desired trigger in the triggers list.

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

  • Posts: 14
  • Thank you received: 0
10 years 1 week ago #179441

I have tried all the triggers (before/after updating, creating, copying product) with the right action but they won't lead to the supposed situation...

When a new product is calculated (and created) the tax group isn't instantly assigned.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 1 week ago #179476

Hi,

If calcbuilder create a product by using the HikaShop functions, so the "Before a product is created" trigger is called and the mass action must be executed.

Please be sure that the HikaShop functions are used to create a product.

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

  • Posts: 14
  • Thank you received: 0
9 years 10 months ago #185740

PROBLEM SOLVED

Hi,

I finally managed to fix the problem, but I didn't manage to fix it inside Hikashop; I've upgraded to the latest version of Calcbuilder (3.x) which had a better link to Hikashop, with the lines below I linked the product to a certain tax category (11=default tax category) which worked fine.

$hk_productfields=array();
$hk_productfields=11;

Sincerely yours,

Hidde Kloosterman

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

Time to create page: 0.104 seconds
Powered by Kunena Forum