Predetermined Tax Category for all Vendor Products

  • Posts: 12
  • Thank you received: 1
11 years 2 months ago #86813

I need to assign a specific tax category to all vendor products. As I don't want them to change the category I need to remove the ACL Product--> Edit --> Tax.

Even when it is not being displayed, the selected value on the taxes drop-down is "None" ( screencast.com/t/bYQYawYQvx9W ), so the tax is not applied.

Where can I set a default tax for all vendors?

or maybe make the selected value of the drop-down the "Default tax category"?

Thanks in advance!

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
11 years 2 months ago #86841

Hi,

I have create a feature request ticket.
This feature does not require too much development time so it should be added in the next release.

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: gabriela

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

  • Posts: 272
  • Thank you received: 13
10 years 6 months ago #124822

Jerome wrote: This feature does not require too much development time so it should be added in the next release.


Did you already add this feature? (HM1.3.0)

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #124837

Hi,

Yes.
Finally this feature moved into the "product template" feature.
With "product template" you can pre-fill or force any kind of value of a product, it includes the tax category.

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: deltafidesign

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

  • Posts: 272
  • Thank you received: 13
10 years 6 months ago #124859

Hi,

I've setted the Product template choosing as Product tax category "Default tax category". Anyway when a vendor add a product he still see the default value in VAT Category field as "none" instead of "Default tax category".

What's wrong?

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

  • Posts: 272
  • Thank you received: 13
10 years 6 months ago #124861

Ok, my fault, I've found it. Did't set in global configuration the "Default product template". Now I've assigned it in global configuration.

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

  • Posts: 272
  • Thank you received: 13
10 years 6 months ago #124864

UP to previous posts.

Anyway, I need to hide the VAT category field in vendor product creation, so I've edited the ACL parameters to hide that field thinking that it would automatically set the default tax category as setted in template but no way. If that parameter is hidden no VAT is applied when type the price.

What's wrong?

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #124872

Hi,

When type the price ?
If I understand right, I think it could have a problem in the interface. When the VAT is hidden, the data for the price is not added too. So I have to make a fix for it.

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: 272
  • Thank you received: 13
10 years 6 months ago #124885

Yes when vat category is hidden and I type the price in the field price then the vat price still show the same value of price field without appling vat.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #124889

Hi,

Please edit the view "productmarket | form_price" and replace

	if(taxElem)
		tax_id = taxElem.value;
with:
	if(taxElem)
		tax_id = taxElem.value;
<?php if(!empty($this->product->product_tax_id)) { ?>
	else
		tax_id = <?php echo $this->product->product_tax_id; ?>;
<?php } ?>
I will continue my tests too.

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: 272
  • Thank you received: 13
10 years 6 months ago #124909

Ok, seems work this way.

Now, would be fantastic if in this case (no Category VAT displayed in vendor's form product creation or edition) also the field "Price with VAt" would be hidden.
It would be more logical in this case to hide it or better just disabling typing in it so I'm sure that vendor will not edit that field with wrong values and the correct price with VAT is automatically calculated.

Can this be possible in this case?

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #124922

Hi,

It is possible but I am not sure that it will be useful to everybody.
You might not want that the customer change the taxes but you might want to help him to configure his prices by giving the price with taxes.
So I understand your point of view but I am wondering how it could be added, because I don't want to link this TVA edition with the price with tax edition. For me it is two different things and it has to be separated.

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: deltafidesign

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

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