Disable ecommerce router
Sometimes, you install S-Cart but do not want to use the full functionality of the sales website.
Disabling links such as product information, shopping cart ... is necessary to prevent curiosity from other people, or bots of search engines.
Since S-Cart 6.7, we support users to disable all ecommerce related routers from the front-end.
Step 1: Turn off links from front-end: HERE
Step 2: Change the value SC_ECOMMERCE_MODE=0 in the .env file
Done!
Disabling links such as product information, shopping cart ... is necessary to prevent curiosity from other people, or bots of search engines.
Since S-Cart 6.7, we support users to disable all ecommerce related routers from the front-end.
Step 1: Turn off links from front-end: HERE
Step 2: Change the value SC_ECOMMERCE_MODE=0 in the .env file
Done!
Related topics
Latest Document
- Upgrade guide 2023-03-19
- Data relations in S-Cart 2023-02-05
- Custom data fields in S-Cart 2023-02-05
- Upgrade guide 2022-10-05
- Customer processing helper functions 2022-06-12