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 2022-10-05
- Customer processing helper functions 2022-06-12
- Product processing helper functions 2022-06-08
- Order processing helper functions 2022-05-25
- Upgrade guide 2022-03-19