• Closed by: Marek (marek)
  • Closed on: 10.10.19, 11:30
  • Reason: Closed
  • Comment: Glad to help!

Ticket #15817 - Disabling product page fields

Can’t find how to disable these fields.

E.g. I would like to keep product reference in products master data, but don’t show it in the product page.

Comments

Darius (darkas1981) 08 Oct 2019, 12:37

File attached

Attachments:

Image 1.png (315.1 KiB)
Marek (marek) 08 Oct 2019, 22:24

Hi, Darius.
Disable reference number with following CSS:

body .sys-info-section {display:none}

Wishlist and Favorites, - just disable those modules
Delivery policy - disable Reassuarence module

Darius (darkas1981) 09 Oct 2019, 13:54

Superb, one more question, how to disable those menu links as per attached picture. It seems I've disabled compare list in custom links module, but it's still there.

Attachments:

Image 2.png (39.3 KiB)
Marek (marek) 09 Oct 2019, 19:12

There is no option in back office to do that. You can only remove them directly in the modules file /modules/pk_customlinks/pk_customlinks.tpl

Darius (darkas1981) 09 Oct 2019, 20:32

Could you drop me part of the code which should be commented as I don't want to mess things up. Thanks in advance!

Marek (marek) 09 Oct 2019, 21:23

I just did it for you

Darius (darkas1981) 09 Oct 2019, 21:46

My compare list still sits in the menu.
I've cleared browser cache just in case, but no effect.

Marek (marek) 09 Oct 2019, 23:15

If you are not going to use Compare List, just disable that module

Darius (darkas1981) 10 Oct 2019, 07:08

It has been disabled already, only place left is menu with "My compare lists" which is still visible and related with compare module.

Marek (marek) 10 Oct 2019, 10:08

I just removed it for you

Darius (darkas1981) 10 Oct 2019, 10:24

Superb, could you let me know solution details?

Marek (marek) 10 Oct 2019, 10:50

I just removed the bit of code from the file modules/pk_customlinks/pk_customlinks.tpl

Darius (darkas1981) 10 Oct 2019, 11:15

Seems to be working workaround, thanks :) Shouldn't this be adjustable from the module configuration?

Marek (marek) 10 Oct 2019, 11:30

we will add this option