CATEGORY
StoreHippo Forums +918010117117 //cdn1.storehippo.com/s/576d30f909102db44c9e6e65/ms.settings/5256837ccc4abf1d39000001/541bb4ab3fb3a1105c805281-480x480.png" sales@storehippo.com http://facebook.comhttp://twitter.comhttp://linkedin.comhttp://google.com
B4, 309-10, Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurugram India

I want to provide an option to select substores on pop-up. How can I do so?

userimage
StoreHippo expert

If you want to provide an option to select substores on pop-up in your e-commerce store, then you need to enable multi-store functionality and add multiple substores. To know how to add multiple substores, go to the help center - https://help.storehippo.com/topic/substores. After you have added multiple substores, set up default substores and link the products to substores. Follow the steps mentioned below to add pop for selecting a sub store on site startup:

  • Go to “Site” - > “Startup Widgets” section in the StoreHippo Admin Panel. Here, you can manage startup scripts.
  • Click on the “Add New” button to create the startup controller.
  • Enter “startup_controller” in the “Name” field.
  • In the “Controller” fields, paste the code - 

function ($rootScope) { if ($rootScope.ms.user && !$rootScope.ms.user.store) $rootScope.ms.modal('multistore'); }

  • Click the “Save” button to save the startup controller.

Now, an option to select substores will appear on the storefront of your ecommerce store. To know more about providing an option to select substores on pop-up, visit the helpcenter - https://help.storehippo.com/topic/how-to-provide-option-to-select-substores-on-pop-up


Dec 24, 2020 9:48:09 PM

Reply

User Name: Email:
Post Post