Disable Right-Click on Shopify Stores [No App Needed]
Share
It’s really easy to disable by right-clicking on Shopify. You don’t need any apps or extra clutter. You will be able to do this within 1 minute.
There are many reasons why you wouldn’t want right-click enabled on Shopify, some of which:
Stop people copying your content
Stops people from using your images and videos
Follow the steps below to learn how to disable it.
Recommended Shopify app built by us
If you're interested and you are selling digital products, check out our app and give it a try. We started out building Shopify stores, so we knew exactly how to improve the digital product space on Shopify.
Digital product delivery on Shopify+ file protection. This includes unique features no other app has, such as email tracking, fraud protection, file protection, IP address download limits (stop users from sharing the files with others) and much more.
Video tutorial
1. Go to “Online store” > “Themes” > “Actions”
Duplicate your theme for safety (optional)
Duplicate your theme in case you mess something up. It’s good practice to do this before making code changes, then it will be easy to revert back.
Go to “Edit code”
It’s as simple as this, follow the steps below.
2. Click “Theme.liquid”
3. Copy & paste this code above “</head>”
Type Cmd. + F on Mac (Ctrl. + F for Windows)
Type and search for /head
Copy & paste the below code above the closing</head>tag
<script> /* don't expect this to work on older ie */ window.oncontextmenu = function () { return false; } </script>
Done!
That’s all you need to do to disable right-click on your Shopify store. There’s no need to install unnecessary apps, anyone can do this!