Apply a tax, to product of one determinda category

  • Posts: 127
  • Thank you received: 3
8 years 1 month ago #252811

-- HikaShop version -- : hikashop_business_v2.6.4
-- HikaMarket version -- : hikamarket_multivendor_v1.7.2
-- Joomla version -- : 3.6.2

Hello

I need to resolve the following, when creating new procuctos from the frontend, I need that the taxes on products are automatically applied according to its category, in the project to work, taxes depend on the type of product and it would be good to apply automatically when they are created.
To do this create a new entry Mass actions with the following settings:
- Data: Product
- Triggers: after a product is created
- Filters: category product = 12
- Actions: update the values ​​- product_tax_id = int 2

Also modify the acl vendor, to creating a product, the seller can not edit the category of tax.

Well, I created the product from the frontend, no tax, but if I edit the product from the backend, is not assigned a tax, but if I check on the product table in the database, the field product_tax_id has the value 2, the assigned to Mass actions.

Because if the database is assigned the product_tax_id, it is not reflected by editing the product or to display it on the product page?

Thank you !

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #252831

Hi,

I think your mass action configuration is good and the display of the product is also right.
But knowing that a "product_tax_id" is pointing to a tax category ; I don't think that "2" is a valid value ; but "11" could be

Please use the ID from the tax categories and not from the "taxation".

You can access to the tax category thanks to the toolbar button "Manage tax categories" :
www.hikashop.com/support/documentation/1...axation-listing.html

And you will have that :
demo.hikashop.com/administrator/index.ph...tegory&filter_id=tax

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.

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

  • Posts: 127
  • Thank you received: 3
8 years 1 month ago #252936

Hi, thanks for your response

Perfect, I had not understood the operation of the types of taxes, rates and the taxation. Now, with the correct TAX_ID, it works correctly the mass actions entry and tax applies to all products created for a category.

Thanks greetings !

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

Moderators: Obsidev
Time to create page: 0.055 seconds
Powered by Kunena Forum