I have downloaded the Merchello package from https://our.umbraco.org/projects/collaboration/merchello and install the package on my Umbraco site. And I want to change some feature on Ad New Product step of Merchello. Below are some step I have done:
I want to change something on this New Product form, by adding some
dropdown or textbox.
When I track the code and look into the file that implements “Add
new product”. There is no way I can access the primary function that
change the interface of “Add new product” form.
The source code of product.add.html is just an html file, and no c# code that I can interfere to change the feature of Create New Product step.
Is there a way to make change on Merchello feature when install on Umbraco site?
I would suggest not changing the ProductDisplay model at all or your going to open up a huge can of worms and be in the realm of some pretty major refactoring.
Is there a way to make change on Merchello feature when install on Umbraco site?
I have downloaded the Merchello package from https://our.umbraco.org/projects/collaboration/merchello and install the package on my Umbraco site. And I want to change some feature on Ad New Product step of Merchello. Below are some step I have done:
I want to change something on this New Product form, by adding some dropdown or textbox.
When I track the code and look into the file that implements “Add new product”. There is no way I can access the primary function that change the interface of “Add new product” form.
The source code of product.add.html is just an html file, and no c# code that I can interfere to change the feature of Create New Product step. Is there a way to make change on Merchello feature when install on Umbraco site?
The source file is actually in Merchello.Web.Ui.Client and is copied into the App_Plugins/Merchello folder via a grunt script.
Most likely (depending on what your doing) you will also need to:
The angular view is here: https://github.com/rustyswayne/Merchello/blob/merchello-dev/src/Merchello.Web.UI.Client/src/views/products/dialogs/product.add.html
The angular controller is: https://github.com/rustyswayne/Merchello/blob/merchello-dev/src/Merchello.Web.UI.Client/src/views/products/dialogs/product.add.controller.js
I would suggest not changing the
ProductDisplay
model at all or your going to open up a huge can of worms and be in the realm of some pretty major refactoring.What would the new field do / be used for?
is working on a reply...