Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Control access on menu link
Blog

Control access on menu link

by |Published November 4, 2021

I have the following link on my menu

  • Home
  • Categories
  • New Arrivals
  • Deals
  • About US

How I can hide “Deals” link from the menu, if the customer not logged in yet?

  • Magento
  • Magento1
  • Magento2

You may also like

How to pass the value and call js function from template.html using knockout js in(in checkout page) Magento 2?
Published December 9, 2019

How to pass the value and call js function from template.html using knockout js in(in checkout page) Magento 2?

I have to call and pass value to the js function(showPopup())from the template(when clicking the Verify OTP button). How to achieve this?. […]

Published June 4, 2022

Attention Something went wrong!! in every admin page

I don’t know what’s wrong here, while I tried to attempt Magento2.4 from remote than this error occurred repeatedly. php -> 8.1.6 […]

How do I split files with a Raid-5-like fail-safe and the individual files being unreadable
Published April 23, 2024

How do I split files with a Raid-5-like fail-safe and the individual files being unreadable

Is there an easy way to split apart a file into 3 or more files in a way that makes the contents […]

Have issue with magento 2 not loading css and js on live site
Published March 7, 2022

Have issue with magento 2 not loading css and js on live site

Have this issue all css and js are not loaded on live site. Tried with terminal to do this. php bin/magento setup:static-content:deploy […]

Interesting

  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results

Post navigation

  • Previous post Complicated products discount scenario
  • Back to post list
  • Next post Magento 2 Translation: How Internationalization Works
——————-
  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme