How to add more weight => mg and ml

  • Posts: 26
  • Thank you received: 0
13 years 9 months ago #5986

Hello,

I need to have more weights: mg, ml. Is it possible to add milli gramm and milli liter?
The reason why is to show average price per mg and ml per unit. Currently it is possible but shows only xy € / g, or xy € / Kg

Thanks for your support

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #5991

Hi,

Since we were in the process of doing a release and that this feature is easy to add, we quickly made a small modification to HikaShop's new version.

If you download and install the new version of HikaShop, you should be able to use mg, ml and l as additional weight units.

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

  • Posts: 32
  • Thank you received: 1
13 years 9 months ago #6467

I am working on a site for a scientist. In his field (geology), the abbreviation 'g' actually stands for 'grains'. Grams is abbreviated 'Gr'. Is there an easy way to get Gr to appear instead of g throughout the site?

As a lesser concern, it'd also be useful to him if hikashop supported Troy ounces (oz t), in addition to the avoirdupois ounces (oz) already supported.

Thank you for any suggestions!

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

  • Posts: 26
  • Thank you received: 0
13 years 9 months ago #6471

Hello,

as Nicolas said, he is willing to add my request on mg and ml. He did it in release 1.4.4, thanks again.

But basically I do need one more options. I have to implement a WebShop for bio-chemical products. And one unit they want to offer are a so called spin column (pre-filled spin column of HIS-Buster Cobalt Affinity Gel). For that they need another average price on column. It means one product consists of 4 pre-filled spin columns and the average price should be available per column (price value / 4 columns). And by the way: the average price is always with tax ! So you have to edit the listing_price display if no tax is required.

So maybe it is a good idea to improve the weight_units mechanism in a way that the customer can design his own weight symbols...

Best regards
Andreas

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6472

Hi,

You can add in the translation override file the line:
G="Gr"
in order to have it displayed as Gr instead of g. The override can be accessed in the config under the tab languages when editing your translation file.

We'll add ozt for next release.

I'm not sure I understand what is a spin column. If you want, you can cheat by using another weight unit and use the translation system to display the price per column where in fact it uses KG or something else. As long as you don't need the weight for shipping methods restrictions, or that you don't need to do any unit conversions for it (you need to have that weight unit in first place in the config option so that it is the main one used and use it in shipping methods and products weight and no conversion will be done on it), you can use another unit and just change the translation.

The following user(s) said Thank You: hkingman

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

Time to create page: 0.069 seconds
Powered by Kunena Forum