I have gone through the code, and this is what I really need to get the site doing. I need to give a backdoor to certain people to post products on the site, they can only post and view products they have posted. Im familiar with aspx pages, but not cshtml. I have been doing a lot of research, but my timelines don't really let me explore the unchartered water of cshtml, is there a way of doing this?
Products
#1
Geschrieben: 13 January 2015 - 07:41
#2
Geschrieben: 13 January 2015 - 14:56
Hi,
I'm afraid for this requirement you need to make a lot of adaptions and dive deep into the core of SmartStore.NET.
Regards,
Michael
Michael Herzog
Smartstore AG
#3
Geschrieben: 13 January 2015 - 15:24
well what I can do Is add aspx pages to the existing structure, my biggest thing is the pictures table, using regular aspx pages, could you help me understand how I would show products in a gridview with the pictures?
#4
Geschrieben: 13 January 2015 - 18:21
Sorry. But it's not possible to integrate aspx pages into an mvc project.
Michael Herzog
Smartstore AG
#5
Geschrieben: 13 January 2015 - 19:22
hi, and thanks for the reply. ok then I guess my question is this, where is the code that inserts the product details into the database, if I can add a extra field(also added to the database schema)named userid(passing who actually made the product listing) I should be able to later show only products from the current logged in user using there where statement. I see this as fisable, but I cant find where the instructions are to insert into the database, what do you think?
#6
Geschrieben: 13 January 2015 - 19:25
like I said I am unfamiliar with the cshtml pages. I am doing a lot of research and am coming along, but time is my enemy here. I know there are controllers to handle user input, and the model connects the database, it is still grey in my head how these work together, I appreciate your help alot
#7
Geschrieben: 13 January 2015 - 19:55
I believe I found it, its the _createorupdate.cshtml? using ajax to insert into the database?
#8
Geschrieben: 13 January 2015 - 21:58
Marcus Gesing
Smartstore AG
#9
Geschrieben: 14 January 2015 - 00:49
ok great, I will take a look and get some stuff done, thank you for your reply