• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 24.09.18, 17:13
  • Opened by: Lisa Keeling
  • Closed by: Marek
  • Closed on: 03.10.18, 11:40
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12964 - account menu visible for logged in users

Hi Marek, is it possible to show these menu items only when a user is logged in? Image attached.

Comments

Marek 25 Sep 2018, 14:14

Hi, Lisa.
Open the file /modules/pk_customlinks/pk_customlinks.tpl
add following lines http://take.ms/Y5y6w

{if ($customer.is_logged != 1)}
{/if}
Lisa Keeling 02 Oct 2018, 13:15

Hi Marek,

I added these lines as you suggested but apparently all these sections are not visible even for logged in customers now..

Marek 02 Oct 2018, 13:19

Sorry, my mistake.
Here is correct condition:

{if ($customer.is_logged)}
Lisa Keeling 03 Oct 2018, 10:49

Perfect, thank you!