Copied to clipboard

Flag this post as spam?

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


  • Ian Smedley 97 posts 192 karma points
    May 30, 2016 @ 15:55
    Ian Smedley
    0

    Getting Started - Html.Action

    Hello,

    I'm finding myself getting frustrated with Merchello, I've tried following the getting started on readme.io... I have a project where I have installed Merchello package, (but not the Bazaar store)

    I'm now looking to get the main pages working on the front-end, let's say the Basket Page - I've coded the "Add to Basket" functionality on the product myself for now, but I don't want to do this for the basket, the checkout, the payment etc.

    Looking at the sourcecode for FastTrack.UI there is a View called Basket.cshtml which has this code:

    @if (CurrentCustomer.Basket().Items.Any())
    {
        @Html.Action("BasketForm", "Basket", new { area = "Merchello" })
    }
    

    The problem I'm having is any time I try to use one of the @Html.Action I get an error saying the route doesn't exist.... I can't see any controllers in FastTrack for basket, but I can find "BasketForm" in the source code under Merchello.Web.Controllers.BasketControllerBase.

    I can't seem to get any of the Bazaar Store stuff to work either, I copied a bunch of Models, Controllers and Factories into my own library, but these Models seem incompatible when trying to load the product page, which is of type:

    Merchello.Web.Models.VirtualContent.IProductContent

    Also, I don't have any reference to where most of the base controllers are, in Merchello.Web.Store or Merchello.Web.Controllers.

    The source out of GitHub doesn't "just compile" either, and I didn't want to plough hours into finding out why.

    uCommerce, although limited in what it could do, didn't seem this complicated to get running.

    Do I just need to bite the bullet and install the bazaar store (I wanted a clean project) or am I missing something else really obvious.

    :-(

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    May 30, 2016 @ 16:09
    Rusty Swayne
    0

    Hey Ian,

    It sounds like you are trying to run the new FastTrack stuff we're about to release in the 2.0.0. The new library Merchello.Web.Store will be included in 2.1.0 which I'll have out either late this week or early next week.

    It is however, available in the merchello-dev branch.

    As for the BasketController, it is in the Merchello.Web.Store project (as it did not need an override). The View would be in App_Plugins/Merchello/Views.

    What branch are you trying to compile? I just cloned again and the Merchello-dev branch compiled without a problem ...

  • Tony 105 posts 163 karma points
    May 31, 2016 @ 20:29
    Tony
    0

    Hey Rusty,

    Ive been playing with the dev fastrack branch and after a little massaging I managed to get it working (still no working Account or wish list but still great).

    How do I build a package from the project so that I can install into a clean umbraco install, is it possible or is teh only way to create a package from the umbraco ui?. Im desperate to get the fast track version in to start working with it as its so much easier to work with than the themes in Bazaar.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jun 01, 2016 @ 00:05
    Rusty Swayne
    1

    Hey Tony,

    I started working on the starter kit package of FastTrack today and should have it completed sometime tomorrow. I have been using the back office UI to build the starter kits, but they also require an installer to setup the content correctly.

    I have not implemented wish list as of yet - but it should come within the next week. It's going a bit more slowly than usual as I've been pretty focused on the CodeGarden workshop prep.

  • Tony 105 posts 163 karma points
    Jun 01, 2016 @ 07:26
    Tony
    0

    That would be awesome, I cant wait to start using this properly. Just getting the basic functionality will be fantastic; Ill be able to start integrating it into my templates properly. :)

  • Tony 105 posts 163 karma points
    Jun 04, 2016 @ 09:22
    Tony
    0

    Hi Rusty, Is there any update on when you might be able to release this? Waiting with baited breath :)

    Many Thanks

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jun 04, 2016 @ 15:27
    Rusty Swayne
    1

    Hey Tony - It's pretty close. Probably Tuesday. I have a few people reviewing it - if your interested contact me on twitter and I'll can send you the packages as they. It'd be great to get another set of eyes testing and providing feedback.

  • Tony 105 posts 163 karma points
    Jun 04, 2016 @ 18:21
    Tony
    0

    Great. Message sent :)

  • Kristoffer Berntsen 5 posts 75 karma points
    Mar 16, 2017 @ 14:40
    Kristoffer Berntsen
    0

    Hello there Rusty! Would you be able to send me the packages for FastTrack aswell?

    I am trying to just clone them from git-hub, but i cant seem to locate the "FastTrack.sln" (probably not exactly what it is called). Maybe i dont need them or?

    Would love some help here :)

    Kristoffer

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Mar 16, 2017 @ 16:00
    Rusty Swayne
    1

    FastTrack is actually comprised of 2 projects in the Merchello.sln.

    • Merchello.FastTrack
    • Merchello.FastTrack.Ui

    From the solution standpoint, they provide a quick way to visually checkout out changes.

  • Kristoffer Berntsen 5 posts 75 karma points
    Mar 16, 2017 @ 17:47
    Kristoffer Berntsen
    0

    Allright, so i just need to open: Merchello.sln and everything inside will be added? Got a follow up (if you have the time for it) In the guides i have looked at, they tell me to: Install a fresh Umbraco - iam doing that with nuget. But how do open the Merchello.sln inside that project? Maybe i am doing it the wrong way? None of the "Add" or "Open" gives me the right option here.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Mar 17, 2017 @ 22:43
    Rusty Swayne
    0

    When you are building a site, install Umbraco via NuGet or as a website using the zip download and then install Merchello using most recent project distribution from the project page.

    If you are working on Merchello (e.g. the Merchello source) you would use the Merchello.sln.

    You should not use the Merchello.sln to build a site for production ...

    Are you trying to get the Merchello projects into your build solution for debug step through?

    If this is the case you can build the Merchello.sln ... copy the Merchello dlls from the Merchello.FastTrack.UI bin file into the bin of your local test site and then (from the Merchello solution) attach to the process of your site solution.

  • Kristoffer Berntsen 5 posts 75 karma points
    Mar 20, 2017 @ 12:19
    Kristoffer Berntsen
    0

    Thanks for the reply and help Rusty!

    My thought process was to get the Merchello projects into the build so i could "translate" the different coded buttons and checkout solution in to Norwegian.

    Just found out i can change that in Umbraco under Templates, so thats solved!

    again, thanks alot for the help here!

  • Ian Smedley 97 posts 192 karma points
    May 31, 2016 @ 21:18
    Ian Smedley
    1

    Hey Rusty,

    Thanks for your reply, yes - I've been trying to get anything working from either FastTrack (which looks clean and easy) or the Bazaar store, I think this is why I was getting into a pickle.

    I cloned the merchello-dev branch a few times, but each time I was getting 10,000+ errors, so tonight I cloned it on the laptop (which only has Visual Studio 2015 Update 1 not Update 2) this downloaded all the bower packages, and on Build, downloaded the Nuget Package and built successfully!! I think there are serious issues with Nuget and Update 2 for Visual Studio 2015, I did struggle to install UmbracoCms into my MVC template, and there are a number of known issues

    It seems that the 2.1 build fixes the issues I was seeing...

    I had to copy the Plugins/Merchello/Views folder - as I didn't have these, and when I copied the newly built DLLs - then suddenly BasketForm would load, and could see the Merchello.Web.Store project, which I didn't have before!!

    I've got a basket working, and I feel much happier now that the more complex stuff will work, such as Payments, I think 2.1 is going to be a great release, like Tony says above, it seems cleaner without the themes of Bazaar, which just confused me!!

    Thanks for your quick response, I'm sure I'll be hanging around here a bit over the next few weeks :-)

Please Sign in or register to post replies

Write your reply to:

Draft