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
- Backup & Restore
- S-Cart command line
- Create custom functions
- Configure data validation
- Customize your router
- Customize controller
- Functions helper of S-Cart
- How to customize home page
- Customize admin dashboard page
- Customize helper functions
- Convert S-Cart into a news website
- Customize data fields in S-Cart
- Data relations in S-Cart
- Customize search page
Latest Document
- Upgrade guide 2024-03-24
- Customize search page 2023-08-02
- Discount code (coupon) 2023-05-14
- Upgrade guide 2023-11-23
- Data relations in S-Cart 2023-02-05