The difference between plugins and widgets in nopcommerce

I want to display a text box and a button on each product page. The client will enter the name of his city in the text box and click the button to find out if delivery is available for his city.

I found out that I have to create a plugin / widget. But I'm a little confused, which one can I use? Plugin? Or a widget?

What is the difference between a plugin and widgets in nopcommerce? What should i use here?

+4
source share
2 answers

A widget is a type of plugin in nopcommerce. For example, a payment method is also a plugin, but not a widget.

, , , . . http://www.nopcommerce.com/docs/77/how-to-write-a-nopcommerce-plugin.aspx 4. :

. IWidgetPlugin. . . , "Live chat" .

+3

, . nopCommerce , . BasePlugin, , - IWidgetPlugin, , . , .

, ? , , , , .

. .

0

Source: https://habr.com/ru/post/1534359/


All Articles