On your demo frontpage, the Featured Products part shows a lot of pictures. May I know how you do it? I am not planning to run multiple store on Nop. I just want to display a lot of pictures. Please provide me some information which file I need to modify. I'd appreciate your help~~~Thank You~~~~~
I tried running the installation for the multistore buy I keep get the error below, any ideas?
Thanks,
Zugo
I guess u are trying to update an existing db. try to install NC on a new db
popolun wrote:
On your demo frontpage, the Featured Products part shows a lot of pictures. May I know how you do it? I am not planning to run multiple store on Nop. I just want to display a lot of pictures. Please provide me some information which file I need to modify. I'd appreciate your help~~~Thank You~~~~~
go to the product u wish to show on home page and check the ShowOnHomepage check box
I guess u are trying to update an existing db. try to install NC on a new db
Hello Heyz, thanks for your quick reply. I actually deleted the database and even tried running the installation on a different machine. I unzipped the multistore, opened the solution on VS2010, built it (it built without errors) then tried running it from visual studio. Are my missing something? Thanks
I finally got it to work. The error I got was because during installation 4 customers (3 store managers and 1 Admin) are set to be created by default and the 3 store managers points to 3 stores which is not created hence I was getting the foreign key INSERT statement conflict error.
Solution: Add code to create 3 stores
//add by hz protected virtual void InstallDefaultStore() { var StoreAll = new Store { Name = "All Stores", PageSize = 4, Published = true, DisplayOrder = 0, CreatedOnUtc = DateTime.UtcNow, UpdatedOnUtc = DateTime.UtcNow, }; _storeRepository.Insert(StoreAll);
var Store1 = new Store { Name = "Store One", PageSize = 4, Published = true, DisplayOrder = 0, CreatedOnUtc = DateTime.UtcNow, UpdatedOnUtc = DateTime.UtcNow, }; _storeRepository.Insert(Store1);
var Store2 = new Store { Name = "Store Two", PageSize = 4, Published = true, DisplayOrder = 0, CreatedOnUtc = DateTime.UtcNow, UpdatedOnUtc = DateTime.UtcNow, }; _storeRepository.Insert(Store2);
var Store3 = new Store { Name = "Store Three", PageSize = 4, Published = true, DisplayOrder = 0, CreatedOnUtc = DateTime.UtcNow, UpdatedOnUtc = DateTime.UtcNow, }; _storeRepository.Insert(Store3);
Hi Hezyz, If the user buy two products from different stores, are both store admins see the order? In the current sytem, one of the store admin gets the access denied message. How do we deal with this?
I know its a bug, i working now on the front of the multi store. the orders will be divided by stores as well as check out, in that case there will be no mixed products on one order.
hope to release it soon.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.