Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1597 posts 1828 karma points c-trib
    Jul 07, 2015 @ 07:34
    Biagio Paruolo
    0

    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?

  • Paul 25 posts 75 karma points
    Jul 07, 2015 @ 14:44
    Paul
    1

    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

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 07, 2015 @ 15:31
    Rusty Swayne
    0

    @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.

  • Biagio Paruolo 1597 posts 1828 karma points c-trib
    Jul 07, 2015 @ 15:58
    Biagio Paruolo
    0

    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.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 07, 2015 @ 16:42
    Rusty Swayne
    0

    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. =|

  • Biagio Paruolo 1597 posts 1828 karma points c-trib
    Jul 08, 2015 @ 08:53
    Biagio Paruolo
    0

    I already have my Umbraco installation with my site. So I can follow this solution:

    • install Merchello + Bazaar as package and add only Bazaar project and customize it

    Do you agree?

  • Paul 25 posts 75 karma points
    Jul 07, 2015 @ 16:44
    Paul
    0

    @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.

  • Paul 25 posts 75 karma points
    Jul 08, 2015 @ 09:26
    Paul
    0

    @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.

    • 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.
    • Merchello.Core
    • Merchello.Examine
    • Merchello.Web

    Paul

  • Biagio Paruolo 1597 posts 1828 karma points c-trib
    Jul 08, 2015 @ 09:40
    Biagio Paruolo
    0

    ..and Merchello.Web.UI.Client if you need to customize the backoffice

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 08, 2015 @ 16:07
    Rusty Swayne
    0

    @Paul @Biaggio

    I typically would have a solution setup like:

    • [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.

  • Kenny Gutierrez 3 posts 23 karma points
    Jul 09, 2015 @ 21:12
    Kenny Gutierrez
    0

    @Rustyswayne, would be great to see a screenr showing exactly how to setup your solution in VS!

Please Sign in or register to post replies

Write your reply to:

Draft