edit cell in Mass Action when displaying results

  • Posts: 99
  • Thank you received: 5
3 years 1 month ago #335933

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 4.0.3
-- PHP version -- : 7.4.20
-- Browser(s) name and version -- : Google Chrome Version 93.0.4577.82
-- Error-message(debug-mod must be tuned on) -- : No message

Hello,
Reference documentation: www.hikashop.com/support/documentation/167-massaction-form.html

  • "when clicking on a cell, it becomes editable. Just edit the value and click on the save icon."
In J4x I am not able to edit the DISPLAYED results of a Mass Action like I can in J3x.

There are no errors displayed however using the "inspect tool" on a table cell in the browser there are many , re:
Uncaught TypeError: Cannot read properties of null (reading 'innerHTML')
    at addHikaMassAction (index.php?option=com_hikashop&ctrl=massaction:193)
    at index.php?option=com_hikashop&ctrl=massaction:245
This is all I could find and I do not know if it is related.

Please advise.

The following user(s) said Thank You: nicolas

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 month ago #335947

Hi,

Thank you for the details on the issue. I was able to reproduce it and added the necessary patches to fix it.
To get them, you can download the install package of HikaShop on our website and install it on yours.

The following user(s) said Thank You: byoguru

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

  • Posts: 99
  • Thank you received: 5
3 years 1 month ago #335960

Thanks Nicolas for the speedy fix!
** UPDATE **
I have installed the patch and have found the following:
I can now edit cells, however,
- only in PRODUCTS.
- cannot edit cells from CATEGORY

Additionally, the editable text box cannot be resized horizontally

T

Last edit: 3 years 1 month ago by byoguru.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 month ago #335964

Hi,

I'm not able to reproduce the issue with categories. I can properly edit them. Could you please double check ? How does it not work ?
Note that we don't allow you to modify the id, depth, right and left columns of the categories as these are calculated automatically by HikaShop and should not be changed manually. Were you maybe trying with one of these columns ?

Regarding the resize only allowed vertically, I do see this. It actually comes from Joomla 4's backend template CSS which autorizes only the vertical resize of textareas. We'll add some CSS to change that for HikaShop in the next release.

Thanks again for all the feedback.

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

  • Posts: 99
  • Thank you received: 5
3 years 1 month ago #335990

Hi Nicolas,

I should have been more accurate- my apologies.
>> The only editable cell is: category_id When in Mass Action:
data = PRODUCTS
action = Display Results
and selection =

category_access
category_alias
category_canonical
category_created
category_depth
category_description
category_id
category_keywords
category_layout
category_left
category_menu
category_meta_description
category_modified
category_name
category_namekey
category_ordering
category_page_title
category_parent_id
category_published
category_quantity_layout
category_right
category_site_id
category_type

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 month ago #335994

Hi,

Ah yes, that's normal. To simplify work for us, we decided to not allow the edition of category data from a results list on the "product" data type.
If you want to edit categories from a listing, you can use the "category" data in your mass action. Then, it will work.

The following user(s) said Thank You: byoguru

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

  • Posts: 99
  • Thank you received: 5
3 years 1 month ago #336031

Okay, thank you for the clarification.
I think I understand - I was thinking of it more like using a spreadsheet / table where I could edit cells freely.
It does make things a little less friendly however there are other methods to edit cell data.

Cheers
T

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

Time to create page: 0.050 seconds
Powered by Kunena Forum