VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: bunglehaze on October 16, 2015, 16:41:06 PM

Title: Removing unused weight types
Post by: bunglehaze on October 16, 2015, 16:41:06 PM
Hi guys, is there a way to simply remove the options for weights that are never going to be needed? For some reason some of my products defaulted to a different weight (kilogramme) so customers were struggling to order. We only ever use grammes for weight calculation so if we can remove the other options entirely this won't happen on it's own.
Title: Re: Removing unused weight types
Post by: Studio 42 on October 16, 2015, 16:51:40 PM
It's not the problem to have multiple weight types.

Sometime when you use an import tool, the default vendor weight unit is not set but VM has no fallback to get this by default, this is only used to preselect default on editing product.

Then if your shipment plugin do not check for default then you can have a bad unit
(i had same problem on importing products with my tool and added a fallback to set default from config).

Personnaly, i would say, if no Unit set, then use default from shop config but i think it's not so for now.