Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 430 posts 1023 karma points
    Jun 20, 2018 @ 20:17
    Ayo Adesina
    0

    How do you work with custom Check out Pages/stages?

    I have successfully set up fast track package and started to integrate it in to my Umbraco Project.

    I would really appreciate it if someone could point me in the right direction in regards to customizing the check out process.

    Based on the Fast Track example, I have the following questions:

    1. Each Checkout page has a checkout property called "Checkout Stage" Can I define my own checkout stage that will appear in the list? or do I just choose custom?

    2. Every Template used in the check out process has code that looks like this:

      @Html.Action("ShippingAddressForm", "CheckoutAddress", new { area = "FastTrack" })
      

    So this is a call to an MVC controller and specifies the view.

    Which looks like a pretty standard razor view.... So I could make my own view model?

    So If I wanted to customise this stage, would I have to create my on controller? Is there documentation around how to do this? or do I have to download the source code to get an idea of how its done?

    Essentially, I want to know what is the process of creating your own pages that make up your check out process for mechello.

    I think it's how the controller should look is what I don't quite understand.

    Thanks in Advance. Ayo

  • Ayo Adesina 430 posts 1023 karma points
    Jun 21, 2018 @ 09:29
    Ayo Adesina
    0

    It seems very difficult to get any help around Merchello, am I posting in the right place?

    Does my question make sense? What other platforms are popular on umbraco for eCommerce? any other alternatives?

  • MM 29 posts 125 karma points
    Jun 22, 2018 @ 10:47
    MM
    1

    You can create your own custom viewmodels - as you're using Fasttrack you can just inherit from the the checkout stages' viewmodel and add in custom attributes rather than one from scratch.

    You can do the same thing with the controller - just extend off the current one and create override methods using your new viewmodel. Downloading the Merchello source code is highly recommended to get a better idea of how it works.

    You can use the custom option in the checkout stage dropdown, though that's as much as I know - you'd need to link to a custom controller - you can check the source code for an idea of how to do this.

    Unfortunately Merchello is a large package and lot of issues that come through are very granular and require specific knowledge - it's rare to be able to get an answer to an issue like that.

  • Ayo Adesina 430 posts 1023 karma points
    Jun 27, 2018 @ 20:59
    Ayo Adesina
    0

    Thanks Mathew. I have worked on it a bit more since then and now I think I have a better idea of what needs to be done....

    So I wrote this question when I was on the train.

    Dear Merchello Users,

    Been trying to figure out Merchello over the last two weeks.

    At first I didn’t have a clue but slowly but surely, after downloading the source code I have started to get the hang of it and have started to integrate it in to my project.

    Using fast track as my template, I have changed the behaviour, to only allow registered users to check out, customised the registration process and have got a few products set up.

    What I’m trying to figure out now is the best way to change the check out flow, add my own stages/steps and potentially store a few more fields of data against a customer.

    For example I want the first step of the process to be “Collection or Delivery” the if the user selects Delivery then they also enter an address.

    Delivery has a charge, collection doesn’t.

    I know I need a form, a view model, a controller.

    BUT........

    How do I tell Merchello that just happened?

    CurrentCustomer and CheckOutManager are going to be key classes, which other classes APIs will I need?

    In the back office, what is the difference between a “NONE” stage and a “CUSTOM” stage?

    What I’m looking for is someone who really understands Merchello and fast track to give me an overview of how these sort of customisations can be made.... 😊.

    So I’m thinking any extra data I can store in the Merchello Custom member type...right?

    When I create my custom check out page, for step one I need to collect the address using standard MVC techniches post it to a controller and then use the Checkout manager to save the shipping adresss......right?

    Am I going in the right direction?

    Well done for everyone who contributed to this by the way, the more I get...the more I want.

    Is anyone out there?

  • Krishna Santosh Vatsavai 9 posts 79 karma points
    Oct 07, 2018 @ 20:54
    Krishna Santosh Vatsavai
    0

    Hi Ayo

    I am also trying a similar custom workflow. But I could not get it running as I am confused between Custom and None status of workflow. Have you figured it out how to implement it. Thanks.

  • Ayo Adesina 430 posts 1023 karma points
    Nov 12, 2018 @ 23:23
    Ayo Adesina
    0

    still trying........ I wish someone would make a video

Please Sign in or register to post replies

Write your reply to:

Draft