# Load site\_main js only on product and checkout page

```php
add_action('wp_enqueue_scripts', function () {
    if(!is_product() && !is_checkout()) {
        wp_deregister_script('awdr-main');
    }
}, 1000);
```
