I want to display a text box and a button in each product page. The customer would enter his/her city name in the text box and click the button to know whether delivery is available for his/her city.
I learned I should I create a plugin/widget. But I am a little confused on which one to use? Plugin? Or a Widget?
What is the difference between a plugin and a widget in nopcommerce? What I should use here?
Widget is a type of plugin in nopcommerce. A payment method for example is also a plugin, but not a widget.
Widget seems to be the type you want. See http://www.nopcommerce.com/docs/77/how-to-write-a-nopcommerce-plugin.aspx number 4 for more details. Here is description of widget:
b. IWidgetPlugin. It allows you to create widgets. Widgets are rendered on some parts of your site. For > example, it can be a "Live chat" block on the left column of your site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With