Display weight in backend

  • Posts: 41
  • Thank you received: 1
11 years 6 months ago #147669

Hi

When viewing the products in the backend, is there a way to display a column for the weight?

Thanks

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #147671

Hi,
Note that you already can set a weight through the "weight" option of your product configuration screen, so can you give me more information about what you exactly want to do through some screenshots for example ?
Thanks :).

The following user(s) said Thank You: signpost

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

  • Posts: 41
  • Thank you received: 1
11 years 6 months ago #147722

I'd like to add an extra column which displays the weight as shown in the attached screen shot.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #147768

Hi,

You have to edit the view "product / listing" in the backend template from the menu Display > Views.
And add the desired column header and content.
To display the product weight, you have to use the variable: $row->product_weight

The following user(s) said Thank You: signpost

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

  • Posts: 41
  • Thank you received: 1
11 years 6 months ago #147782

Thank you, I got it to work.

When upgrading hikashop in future, these changes won't be overwritten will they?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #147785

No,
When you update/upgrade your Hikashop version, you don't loose any changes that you have made through the file of the page "Hikashop->Display->Views".
The only way to loose them will be to use the "trash" icon through the listing of the page "Hikashop->Display->Views"

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

  • Posts: 35
  • Thank you received: 3
10 years 3 weeks ago #212320

Hi,

I am generating a CSV for import into HikaShop from 2 sources.
Source 1 does provide product weight (amongst other values), source 2 does not.
For source 2, in column product_weight, I simply generate an empty string between two semicolons.
When the import (via cron) is through, then the product weights I had manually added to the products for source 2 in the backend are wiped out; the products show as "virtual products".

Is there a way to feed in data into HikaShop and preserve the product weight if none is fed in?
Currently I specify a hardcoded weight of 0,75 kilograms, but that is a very poor workaround.

best regards

Klaus

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 3 weeks ago #212339

Hi,

The import is to import new products. Not really to update them.
If you want to update product data via CSV, you can use instead a mass action via the menu System>Mass actions with a filter "import a CSV":
www.hikashop.com/support/support/documen...massaction-form.html

The following user(s) said Thank You: hactic

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

Time to create page: 0.086 seconds
Powered by Kunena Forum