- Posts: 151
- Thank you received: 8
Remove some fields and deactivate drag n drop
7 months 5 days ago #370926
by lucad
Remove some fields and deactivate drag n drop was created by lucad
-- 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
-- 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.
7 months 5 days ago #370928
by oxido
Replied by oxido on topic Remove some fields and deactivate drag n drop
In my experience so far with hikashop and interactions with developers, I think it would be best to use css to hide those elements.
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.
Code:
<div class="dimensions-style" id="dimensions-field">
...
</div>
#dimensions-field{display:none;}
.dimensions-style{display:none;}
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.
The following user(s) said Thank You: lucad
Please Log in or Create an account to join the conversation.
7 months 4 days ago #370934
by nicolas
Replied by nicolas on topic Remove some fields and deactivate drag n drop
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
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
The following user(s) said Thank You: lucad
Please Log in or Create an account to join the conversation.
7 months 4 days ago #370948
by lucad
Replied by lucad on topic Remove some fields and deactivate drag n drop
Ok I see now. Thank you Oxido and Nicolas
Please Log in or Create an account to join the conversation.
Moderators: Mohamed Thelji
Time to create page: 0.171 seconds