Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Why are values for lenght and weight classes read-only?  (Read 2122 times)

Offline OneMore

  • Newbie
  • *
  • Posts: 46
  • Karma: +12/-0
    • View Profile
Why are values for lenght and weight classes read-only?
« on: January 03, 2024, 07:57:41 AM »
My eCommerce mostly contains small and lightweight objects, so that I wanted the gram (instead of the kilogram) as main weight unit.

According to the documentation about weight:
 "The class set to 1.00000 is your base weight class. Any other weights in there need to be a factor of your base class."

So, instead of:
Weight TitleWeight UnitValue
Gramg1000
Kilogramkg1

I wanted to have:
Weight TitleWeight UnitValue
Gramg1
Kilogramkg0.001

But when editing, the "Value" field was read-only.

I could still make the edits by hitting the F12 key in the browser, and using the development tools to remove the "readonly" occurences in the source code for the concerned Value field, and save my edits.

However, I wonder why the lenght and weight value fields were read-only?
As a preventive measure because some extensions would possibly not be properly implemented to handle different main units properly?

Can someone check if also observing this, or if this limitation was only in my shop?

Thank you.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5835
  • Karma: +275/-2
    • View Profile
Re: Why are values for lenght and weight classes read-only?
« Reply #1 on: January 04, 2024, 02:19:07 AM »
Hello.
Go to the Store settings and select the Weight Class.
https://abantecart.atlassian.net/wiki/spaces/AD/pages/5898321/Store+Details+settings

 

Powered by SMFPacks Social Login Mod