PHP

How to configure multi store in OpenCart?

Many of you might use opencart for online store development. Opencart can also be used for multi store with single admin; you can manage both stores with same admin.

I am using wamp so first I will tell you to configure multi stores with opencart on wamp.

I installed wamp in D drive and opencart directory path is D:\wamp\www\opencart. Main store url is http://localhost/opencart and I am going to make new store by the name of store.

  1. There is a file httpd.conf in wamp\bin\apache\Apache2.2.21\conf\. Open it and write following lines to create Alias for opencart new store.

    Alias /store “D:/wamp/www/opencart/”

    Note: Alias is pointing to same directory that is for my main store. It will be same for any other store too if you want to create.

    Now save file and restart Apache services.

  2. Now you have to change OpenCart configurations. Login to opencart admin then go System>Settings, create new store. You can give any name to the store and give Url http://localhost/store/.
  3. Now save your settings and you can access your both stores by http://locahost/opencart/ and http://localhsot/store/ urls.

You can create multi store on xamp too; just you need to make Alias in D:\xampp\apache\conf\httpd.conf file

Note: D is the drive where xamp is installed; your location might be different.

Have fun with multi store on opencart.

websourceblog

ReactJs, NodeJs, Amazon Web Services, Symfony, Laravel, CodeIgniter, Zend Framework, WordPress, Drupal, Magento, Angular

View Comments

  • Just tried following your instructions which a perfectly clear.
    I get nothing at the address i created the alias for.
    I put
    Alias /wholesale “C:/wamp/www/opencart/”
    on the very last line in httpd.conf
    Just after
    Include "c:/wamp/alias/*"

    Then i visited
    http://localhost/wholesale/
    in the browser, and get a 404 message. Nothing there.
    :(
    Any other ideas?
    Thanks for the clear instructions.

    • Did you restart apache and adding Alias statement and added it in opencart admin as mentioned in step 2?

  • Sir ,
    i want to use multi store but i have problem to "Alias path on server", i have setup on local server but i dont know how to alias path on online server. please solve my problem

Recent Posts

30 Agents Every AI Engineer Must Build: A Blueprint for Production-Ready AI Systems

Most "AI agent" content online is still stuck at the demo stage — a slick…

3 weeks ago

Agentic Coding with Claude Code: The Book Every Developer Using AI Should Read

If you've been using Claude Code as little more than a fancy autocomplete — typing…

3 weeks ago

Centralizing Email Logging in Laravel with a Custom EmailLogChannel

When building real-world Laravel applications, email handling quickly becomes scattered. You send emails from controllers,…

4 months ago

Clean, Powerful API Filtering with Spatie Query Builder

Build flexible, readable, and secure query filters across multiple Laravel models — no more bloated…

6 months ago

AI Prompt Engineering Bible (7 Books in 1) – Master ChatGPT & Generative AI

Artificial Intelligence is transforming how we work, create, and earn. But most people get stuck…

12 months ago

How Digital Transformation Services Drive Business Growth

In today’s fast-paced world, businesses can no longer rely solely on traditional methods to stay…

12 months ago