Remove some fields and deactivate drag n drop

  • Posts: 65
  • Thank you received: 2
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
23 hours 42 minutes ago #370926

-- HikaShop version -- : 6.4.0
-- HikaAuction version -- : 5.1.0
-- Joomla version -- : 6
-- PHP version -- : 8.4
-- Browser(s) name and version -- : all

Dear Team

Due to the nature of our business, we will be creating many of our auctions manually using the create "New" functionality within the backend see video

We would like to hide several fields that are not relevant to our operations, like dimensions, weight, and a few others.

Could you please advise on how we can customize the interface to remove these fields?

Additionally, the drag-and-drop feature for these fields has somehow been activated, and we would like to have this deactivated. Please let us know the steps required to disable this setting.

Thank you in advance

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

  • Posts: 268
  • Thank you received: 36
  • Hikaserial Subscription Hikashop Business
22 hours 38 minutes ago #370928

In my experience so far with hikashop and interactions with developers, I think it would be best to use css to hide those elements.

<div class="dimensions-style" id="dimensions-field">
...
</div>
#dimensions-field{display:none;}
.dimensions-style{display:none;}
So you can hide it based on id or class
It will be much easier this way for future maintenance or updates that you will do when installing a new update of hikashop / hikaauction / hikaserials for example and it will be just as easy if you want to use those fields later, just make what you need visible.

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

  • Posts: 85319
  • Thank you received: 13932
  • MODERATOR
5 hours 50 minutes ago #370934

Hi,

If you can add custom CSS on your website, it's indeed usually better for long term maintenance.
However, the drag & drop feature we have on the product edit page doesn't rely on view overrides like the ones you can create in the Display>Views menu. So there should be no maintenance problem in the long term.
If the drag & drop feature is deactivated (meaning that you don't see the buttons at all), it's probably that you've disabled it at the bottom of the product edit form. So check the green area at the bottom.
To hide some of the fields, drag them in a new block and use the "eye" icon to disable the block. Then, you can go in the "Access level" tab of the HikaShop configuration page and configure the "customize" ACL:
www.hikashop.com/support/documentation/5...shop-config.html#acl

You can read more about the product edit page customization here:
www.hikashop.com/home/blog/481-hikashop-4-5-1.html#prod

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

Moderators: Mohamed Thelji
Time to create page: 0.066 seconds
Powered by Kunena Forum