Magento 2 Configuration

Magento 2 provides a powerful admin interface for store configuration. From setting up base URLs to configuring cache and emails, everything can be managed from the backend. Here’s a step-by-step guide.

๐Ÿ”ง Accessing Configuration

Login to your Magento Admin Panel and go to:

Stores โ†’ Configuration
  

๐Ÿ“ General Settings

1. Store Information

  • Set your store name, phone number, and country.
  • Path: Stores โ†’ Configuration โ†’ General โ†’ Store Information

2. Web Configuration

  • Configure base URLs (HTTP and HTTPS)
  • Enable/disable URL rewrites
  • Path: Stores โ†’ Configuration โ†’ General โ†’ Web
// Example: Update base URL
Stores > Configuration > General > Web > Base URLs
http://yourdomain.com/
  

๐ŸŒ Locale Options

Set your default country, timezone, and locale (language):

  • Default Country: Your business location
  • Timezone: Based on your store location
  • Locale: Default language (e.g., English)

๐Ÿ’ฑ Currency Setup

  • Path: Stores โ†’ Configuration โ†’ General โ†’ Currency Setup
  • Set default display, allowed currencies, and import services for live exchange rates

๐Ÿ“ง Store Email Addresses

Set sender names and email addresses for different store roles like sales, support, etc.

  • Path: Stores โ†’ Configuration โ†’ General โ†’ Store Email Addresses

๐Ÿ“ฆ Catalog Settings

Configure product-related settings like inventory, image placeholders, and search options.

  • Path: Stores โ†’ Configuration โ†’ Catalog

๐Ÿงน Cache & Index Management

  • Path: System โ†’ Cache Management
  • Enable or disable cache types
php bin/magento cache:clean
php bin/magento indexer:reindex
  

๐Ÿ“Œ Summary

Magento 2โ€™s configuration panel lets you manage everything from store identity to advanced developer settings. Keeping configurations updated ensures optimal performance, user experience, and security.