Copied to clipboard

Flag this post as spam?

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


  • Andrew 52 posts 234 karma points
    Nov 03, 2022 @ 16:10
    Andrew
    0

    Is there a basic getting started guide for creating a couple products and adding to cart?

    Hi,

    I just started to try Vendr.

    Maybe I just missed it in the docs; Is there a basic getting started guide for creating a couple products and adding to cart?

    Thanks

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Nov 04, 2022 @ 08:37
    Matt Brailsford
    100

    Hey Andrew,

    We don't currently no. If you want to review a simple implementation you can take a look at a build I created for a presentation a while ago that I have kept up to date https://github.com/vendrhub/vendr-tutorials/tree/v3/main/RemadeByClive/Stage2 This is a relatively simple implementation with simple products and using Vendr Checkout for the checkout.

    If you want to see a more complex example you can review our official demo store code here https://github.com/vendrhub/vendr-demo-store

    Whilst this is out of date now, you could also follow Paul Seals video series on building a site with Vendr v1. Much of it is still the same, there might just be a few API changes https://vendr.net/docs/core/1.3.0/tutorials/build-a-store-in-umbraco-using-vendr/

  • Andrew 52 posts 234 karma points
    Nov 04, 2022 @ 13:58
    Andrew
    0

    Thanks Matt,

    I'm found the Paul Seal series yesterday. Its probably worth putting a link to it in the v3 documents :)

    A couple side notes:

    One thing that confused me was creating a store and not having an option to pick currency and country. I realized afterwards that they are "under" the store. It might be nice to have some sort of options there instead of auto-creating UK and GBP and then deleting them afterwards.

    When I add the USA with the option to create from ISO, it adds all the States in the tax categories, but when I add Canada with the same option, it doesn't add the provinces. Is there a way I can add the provinces?

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Nov 04, 2022 @ 14:39
    Matt Brailsford
    0

    Hi Andrew,

    Thanks for the feedback. I'll bare this in mind when I make any changes in that area.

    RE Canada these would have to be created manually I'm affraid. The ISO Country / States list is an embeded XML file which only contains the US states as regions.

  • Andrew 52 posts 234 karma points
    Nov 04, 2022 @ 14:49
    Andrew
    0

    Ok, thanks.

    Manually with code (ICountryService)?

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Nov 04, 2022 @ 14:56
    Matt Brailsford
    0

    Either manually in the back office, or yea, you could use ICountryService.SaveRegion(region) to do this programtically for you 👍

  • Andrew 52 posts 234 karma points
    Nov 04, 2022 @ 15:32
    Andrew
    0

    Ok, I didn't see it in the UI, I'll have took around a bit more :)

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Nov 04, 2022 @ 15:43
    Matt Brailsford
    0

    If you create the Canada country on it's own, when you edit it, it will have a Regions tab where you can then create all the regions.

  • Andrew 52 posts 234 karma points
    Nov 04, 2022 @ 16:39
    Andrew
    0

    Excellent, thank you again

Please Sign in or register to post replies

Write your reply to:

Draft