Customize Edit product page by a widget plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
How can I customize or add some topic on Edit product page by a widget plugin? (such as Product Info, Price, Shipping,... ) Is it impossible?
2 years ago
Hi
Yes you can do easily with plugin
nop Commerce provide view component or widget
So you can add that and it can display in the product edit
As per nop provide it can display at that location

But if you needed to any specific location where not have default view component ( widget)
Then there is an option to override view page and can easily change
Else
need to do minor customize in view page

Thanks
2 years ago
@kongkcypw you can use defaulat nop commerce widget zone to push view component in that location






if you want add new zone on existing page you need to overwrite it. for that you can use view location extender
https://i.ibb.co/M1GsyHc/snap4.png
2 years ago
Widget Zones are just String ("name").  You can create new ones and put them where you want in the .cshtml file.  
@await Component.InvokeAsync("Widget", new { widgetZone = "myCustomName", additionalData = Model })


Your custom widget would just 'subscribe' for your custom widget name.
2 years ago
New York wrote:
Widget Zones are just String ("name").  You can create new ones and put them where you want in the .cshtml file.  
@await Component.InvokeAsync("Widget", new { widgetZone = "myCustomName", additionalData = Model })


Your custom widget would just 'subscribe' for your custom widget name.


Thank you, then what page that will display CustomWidgetZone ?
2 years ago
"Thank you, then what page that will display CustomWidgetZone ?"

It Indicates , suppose you have added your customize widget zone , on the given location
then you need to create one .Cs file

please check the screen shot
https://prnt.sc/1x9xood

You can create view component as your given name from view page
and add view file
so it will be display as per your needed
Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.