I need to customize the cart, checkout and payment.
I need to customize cart because I've to add only one product and one quantity and checkout because I need to add some info.
Payment because I need to create a subscription.
I have found it is best to install Bazzar, and create a copy of one of the theme folders in /App_Plugins/Merchello.Bazzar/Themes and then work on that.
I am re-skinning to the design that a client wants, and as they have they own styling i am modifying the master.cshtml to load the css/js/and other partical views into that and going from there.
However i have needed to extend the membership models for adding client support for pricing tiers and support for multi currency so i have also attached merchello.bazzar source code to my solution so i can modify to my particular needs.
@Biagio @Paul - If you need to modify anything in the Bazaar, the solution is also available in the Merchello GitHub repository. Lot's of people are using it as a starting point for their own controllers, models etc.
Is't possible to use Bazzar project code without use the full Merchello source code? I already have a vs2013 solution with umbraci and merchello/bazaar packages installed and merchello paypal plugin project.
Sure. Copy the solution into a new folder and grab the Merchello.Bazaar and Merchello.Web.UI folders.
You might need to change the connection string back to the SqlCE db in the Merchello.Web.UI project - I tend to forget to set it back when I'm futzing around. =|
This is what i have on my solution, i don't think that this is the correct way to do this but it is working for me.
Project X: This is the default umbraco installation with my customised views/controllers. I have installed Merchello and the Merchello.Bazzar plugin. I created a copy of one of the theme folders and have customised the views in there for this site.
Merchello.Bazzar (I have made some changes to some of the views and models to meet my needs) I have a post build event to copy the bazzar dll to the Project X bin folder on the post build event for this project.
[Project].Web.UI - Contains the default Umbraco solution. My preference is to use a simple website project here. Install Merchello and Merchello.Baazar into that. I set this project not to compile on build.
[Project].Web - A class library that I create custom controllers and whatever support code I need. [Project].Web.UI just references this project. Merchello dependencies are pulled in from NuGet (Merchello.Core) package. If you need to reference the Merchello.Bazaar dll, you would have to add that dependency.
If your adding Merchello.Core, Merchello.Examine, Merchello.Web solutions so that you can step through the code as it executes, I usually compile the Merchello solution and copy the three dlls out of the the Merchello\src\Merchello.Web\bin\Debug folder into the bin directory of the [Project].Web.UI project and then attach to the IIS process to step through the execution. That way if you find a bug you can fix it in the correct solution and do a pull request =)
@Biagio - For back office customizations, I've had good luck creating directives in my App_Plugins folder of the [Project].Web.UI site in a site specific plugin directory and then adding them to whatever Merchello back office view as a single html tag, attribute (whatever). In this way, when I upgrade Merchello, all I have to do is replace the line.
How to customize basket cart, checkout and payment?
Hi,
I need to customize the cart, checkout and payment. I need to customize cart because I've to add only one product and one quantity and checkout because I need to add some info. Payment because I need to create a subscription.
Is't better to start from Bazar or install only Merchello and build cart as write here http://merchello.com/documentation/getting-started/how-to/Build-The-Basket?
How to customize if I start from Bazar?
Hi Biagio,
I have found it is best to install Bazzar, and create a copy of one of the theme folders in /App_Plugins/Merchello.Bazzar/Themes and then work on that.
I am re-skinning to the design that a client wants, and as they have they own styling i am modifying the master.cshtml to load the css/js/and other partical views into that and going from there.
However i have needed to extend the membership models for adding client support for pricing tiers and support for multi currency so i have also attached merchello.bazzar source code to my solution so i can modify to my particular needs.
Paul
@Biagio @Paul - If you need to modify anything in the Bazaar, the solution is also available in the Merchello GitHub repository. Lot's of people are using it as a starting point for their own controllers, models etc.
Is't possible to use Bazzar project code without use the full Merchello source code? I already have a vs2013 solution with umbraci and merchello/bazaar packages installed and merchello paypal plugin project.
Sure. Copy the solution into a new folder and grab the Merchello.Bazaar and Merchello.Web.UI folders.
You might need to change the connection string back to the SqlCE db in the Merchello.Web.UI project - I tend to forget to set it back when I'm futzing around. =|
I already have my Umbraco installation with my site. So I can follow this solution:
Do you agree?
@Biagio I have added the merchello code to my vs solution and building copys the merchello.bazzar dll to my web app's dll folder.
@Biaggio,
This is what i have on my solution, i don't think that this is the correct way to do this but it is working for me.
Paul
..and Merchello.Web.UI.Client if you need to customize the backoffice
@Paul @Biaggio
I typically would have a solution setup like:
If your adding Merchello.Core, Merchello.Examine, Merchello.Web solutions so that you can step through the code as it executes, I usually compile the Merchello solution and copy the three dlls out of the the Merchello\src\Merchello.Web\bin\Debug folder into the bin directory of the [Project].Web.UI project and then attach to the IIS process to step through the execution. That way if you find a bug you can fix it in the correct solution and do a pull request =)
@Biagio - For back office customizations, I've had good luck creating directives in my App_Plugins folder of the [Project].Web.UI site in a site specific plugin directory and then adding them to whatever Merchello back office view as a single html tag, attribute (whatever). In this way, when I upgrade Merchello, all I have to do is replace the line.
@Rustyswayne, would be great to see a screenr showing exactly how to setup your solution in VS!
is working on a reply...