> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Disable select & copy function in your store

###### In this article :
1.  Disable select & copy for both image & text    
2.  Disable select & copy for image only    

### ⚠️ Kindly take note :
*   Above all code editing, you will need to re-edit the code again if you switch to a new theme template    
*   We do not allow to change or edit the code for the **checkout page** (which include shipping & payment method) due to security reasons    
---
## 1. Disable select & copy for both image & text

**Step 1** : [EasyStore Admin](https://admin.easystore.co) > Channels > Online Store > Theme > Edit source

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/untitled-design-61_1bpl9h9.jpg)

**Step 2** : layout > **theme.liquid >** Scroll to the last row, paste code below **before </body>**

```<script type="text/javascript">
$(document).ready(function () {

    $("body").css({
        "-webkit-touch-callout": "none", 
        "-webkit-user-select": "none", 
        "-khtml-user-select": "none", 
        "-moz-user-select": "none", 
        "-ms-user-select": "none", 
        "user-select": "none"
    });
    //Disable cut copy paste
    $('body').bind('cut copy paste', function (e) {
        e.preventDefault();
    });
   
    //Disable mouse right click
    $("body").on("contextmenu",function(e){
        return false;
    });
});
</script>
```

![](https://storage.crisp.chat/users/helpdesk/website/7df1f1ae17d90400/1d80eeb8-2bde-4607-9e26-d4e679_1t0q5kl.png)

**Step 3**. Save and done
---
## 2. Disable select & copy for image only

**Step 1** : [EasyStore Admin](https://admin.easystore.co) > Channels > Online Store > Edit source

**Step 2** : layout > **theme.liquid >** Scroll to the last row, paste code below **before </body>**

```<script type="text/javascript">
$(document).ready(function () {
     $('body img').css({
        "-webkit-touch-callout": "none", 
        "-webkit-user-select": "none", 
        "-khtml-user-select": "none", 
        "-moz-user-select": "none", 
        "-ms-user-select": "none", 
        "user-select": "none"
    });
    //Disable cut copy paste
     $('body img').bind('cut copy paste', function (e) {
        e.preventDefault();
    });
    //Disable mouse right click
    $('body img').on("contextmenu",function(e){
        return false;
    });
});
</script>
```

![](https://storage.crisp.chat/users/helpdesk/website/50ebfed87237d000/8adb6ba4-b3f8-4c70-a1e3-4b422f_ei85kl.png)

**Step 3**. Save and done