Copied to clipboard

Flag this post as spam?

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


  • Naveed Ali 161 posts 426 karma points
    Jul 24, 2019 @ 16:47
    Naveed Ali
    0

    Merchello checkout process not working using fasttrack template

    I am using Merchello with FastTrack Template.

    Been well so far but I am getting no response when pressing the "Next" button after filling in a "billing address" it just clears out the form.

    @using (Html.BeginUmbracoForm<CheckoutAddressController>("SaveBillingAddress", new { area = "FastTrack" }, new { data_muistage = "BillingAddress" }))
    

    that is the call the form should be making.

    I cannot even find this controller anywhere. It has been driving me mad all day I am thinking I may need to create my own custom checkout at this point

    I was hoping to just get this site up and quick using as much of merchelo out the box as I can without creating custom controllers

    Any help would be appreciated cat find nothing in search related to this..so maybe I am doing something wrong?

  • Dave Clinton 31 posts 106 karma points
    Jul 24, 2019 @ 19:16
    Dave Clinton
    0

    Hi Naveed,

    Out of interest what version of Umbraco, Merchello and FastTrack are you using? I've not had any issues with checkout when using it out the box and only opted for custom controllers when I needed to customise the checkout process but perhaps there's an issue in one of the recent versions...

    To see the controllers you'll need to grab a copy of the source code (https://github.com/Merchello/Merchello) which will also be useful if you decide to use your own.

    Dave

  • Naveed Ali 161 posts 426 karma points
    Jul 29, 2019 @ 14:32
    Naveed Ali
    100

    right seems like the line of code which is actually the problem is:

    Model.SuccessRedirectUrl = hasShippableItems ? ExampleUiHelper.CheckoutWorkflow.GetPageForStage(CheckoutStage.ShippingAddress).Url : noShippingUrl;
    

    if i change it to:

    Model.SuccessRedirectUrl =  ExampleUiHelper.CheckoutWorkflow.GetPageForStage(CheckoutStage.ShippingAddress).Url;
    

    Then it works fine. What I cant get is why the original line of code is not working. As the products have the shippable items flag ticked

Please Sign in or register to post replies

Write your reply to:

Draft