Excuse me, i wanna ask something about my project. I want to add a new feature upload photo in tab discount. Im copy paste source the picture from category view to discount view but it doesn't work. I have add model and discount view model too. In discount, createOrUpdate.cshtml doesn't call Picture.cshtml in shared/editorTemplates in smartstore.admin. Could you help me? I attach the screenshot. Ask.png 295.23K 1 Anzahl Downloads
Add Feature add picture in Discount table
#1
Geschrieben: 09 May 2016 - 09:24
#2
Geschrieben: 09 May 2016 - 10:01
- thomasaldwin gefällt das
Marcus Gesing
Smartstore AG
#4
Geschrieben: 09 May 2016 - 16:48
Could you please try again with:
@Html.EditorFor(model => model.PictureId, "Picture", new { transientUpload = true })
Please note that the second argument is the template name.
- thomasaldwin gefällt das
Murat Cakir
SmartStore AG
#5
Geschrieben: 10 May 2016 - 03:51
it works well. Thank you Murat & Marcus.
#6
Geschrieben: 16 March 2018 - 05:57
Hi ,
I have created one new plugin and trying to get the file upload for image. When I tried the same was getting editor only not the file upload. Can you please help.
#7
Geschrieben: 16 March 2018 - 10:29
- ChintuUser gefällt das
Marcus Gesing
Smartstore AG
#8
Geschrieben: 16 March 2018 - 15:53
Thanks Marcus I am missing this piece... It worked :-) Thanks a ton