nopcommerce - How to extend existing pages, such as Customer or Shopping Cart, through plugins? -


i've read everywhere it's better write new plugin touch core code. problem i've not been able find documentation it's explain how modify pages plugin.

the way understood it, display partial pages plugin, 1 needs tells display them return using method:

public ilist<string> getwidgetzones() 

but if return more 1 zone, widget displayed in multiple zones. if want display bit of information on different zones?

to start off, i'd extend the customer page. menu on page has 7 items: customer info, addresses, orders, downloadable products, in stock subscriptions, reward points, , change password.

i'd add 2 more items: personal info , connections. when personal info clicked, customer able add info, such his/her photo. when connections clicked, user able see other have been doing.

can point me documentation explain how 1 can extend existing pages, such customer , shopping cart, without touching core code.

thanks helping

i have read people saying modifications as using plugin. in practical find modifying core logic 1 way find elegant , less complex way of customizing our need.

because, plugins provides limit of modification. in case, widgets can extended. don't think customer detail page can extended using plugins. based on requirements, may need add additional columns/attributes customers. yes, can add/remove columns while installing/removing plugins. in practical, user in admin can uninstall pluign. think if happens in prod. have not elaborated connections.

i have done 250+ custom modifications (to suite our need) on core nopcommerce organization on period of 2.5years. started nop 2.65 moved 2.80 , moved 3.20. bit complex upgrade nop commerce versions on top of our custom modifications. can done, if organized day one.

here few rules follow,

  1. keep detailed custom modification list in excel.

  2. always update code in such way new feature can managed admin. example: if add new menu in header, make sure can shown/hidden under admin settings. , helps contribute nop commerce if possible.

  3. use database diff tool.

  4. use version control.

so when new version of nop released, compare excel release notes. migration details see here


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -