Copied to clipboard

Flag this post as spam?

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


  • MB 273 posts 936 karma points
    May 06, 2019 @ 19:07
    MB
    0

    Choose package store

    Hi lads,

    I'm wondering if it's possible to choose a package store? It's a bit expensive to ship directly to customers so it would be wonderful to give people the opportunity to choose which store/location they would like their packaged shipped to.

    // Mike

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    May 07, 2019 @ 08:49
    Matt Brailsford
    0

    Hi Mike,

    When you say store, do you mean a TC store? or do you have representations of store locations some place else?

    Ultimately on the checkout page, you'd probably want to list the store locations then record the selected store in the order properties collection

    https://docs.teacommerce.net/3.3.0/api/order-property/

    You could then update the edit order view to display which store they chose in the back office so that the person fulfilling the order know where to send it to.

    Does this help?

    Many thanks

    Matt

  • MB 273 posts 936 karma points
    May 07, 2019 @ 09:44
    MB
    0

    Hi Matt,

    You somewhat got it right! I'm thinking more of a "Enter your postal code and see nearby GLS package locations", something like that.

    Letting the customer choose a package shop/delivery location would make it cheaper for them and the TC Shop owner.

    enter image description here

    // Mike

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    May 08, 2019 @ 06:32
    Matt Brailsford
    1

    Hi Mike,

    Ok cool. Well I think this falls under general umbraco setup rather than tea commerce specific issue, as I think really you'll have one TC store to service all products and then have content nodes to represent the store locations.

    The way I have done this in the past is to create store location nodes somewhere in the content section and then use something like Terratype (https://our.umbraco.com/packages/backoffice-extensions/terratype/) to set and store the location of each store. You can then represent these on a map as per your visual.

    The tricky part comes with the geo searching to find stores near a specific location. You'll likely need to use a third party service like google maps to geo code location names and convert them into latitude and longitude coordinates and then perform a spacial query to find nearby result.

    The spatial searching isn't the most straight forward, but there are lots of examples in the forums if you have a search https://our.umbraco.com/search?q=lucene%20spatial&cat=forum

    Unfortunately there isn't really a one click solution for this kind of thing at the moment so it will require a bit of research into the topics mentioned above.

    Hope this helps

    Matt

  • horsted 74 posts 136 karma points
    May 08, 2019 @ 06:41
    horsted
    1

    I think GLS provide that as a service for their customers - https://gls-group.eu/DK/da/losninger-til-webshops

  • MB 273 posts 936 karma points
    May 20, 2019 @ 12:36
    MB
    0

    Thank you for the feedback guys, I really appreciate it!

    I think I'll scrape this feature off the list as it exceeds my knowledge/experience.

    Cheers

Please Sign in or register to post replies

Write your reply to:

Draft