Jump to content
Sign in to follow this  
Lynne in NY

How can I set a Tax Class default?

Recommended Posts

I found a product that the tax class wasn't set so I ran an audit on the inventory table to look for any products <> 1 and found 6. So I thought I would just make the tax code default to 1 in the table, but when I tested that, it didn't work. Is there another way I can make that default happen when the product gets inserted into the table the 1st time?

 

Share this post


Link to post
Share on other sites

Would removing the "Please select" option work for you? If so, then in the admin template products.index.php, near line 248, delete:
<option value="">{$LANG.common.please_select} &hellip;</option>

Note: the "Please select" option is only available on the 'normal' customer group -- named "Retail Pricing". After having made other customer groups, and selecting any of those other groups to set prices, there is no "Please select" and as such, defaults to displaying, and therefore choosing when submitting, the first option in the list.

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Perfect! Thanks!

(I just commented out the code, didn't delete it entirely because... well, you never know.)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...