Skip to content

Make the Zones be Country or State based. #76

@dimitarvp

Description

@dimitarvp

Hey maintainers,

I am searching for an Elixir framework to help me move a few shops from Ruby+Spree to Elixir+NectarFramework (or any other Elixir framework which qualifies, really).

One thing I couldn't help but notice in your demo is that your Zones are only Country-based. I believe you should add State (sub-zones) objects and then make them embeddable inside Countries and Zones alike. The Zones should then have a boolean switch -- probably called "based_on_countries" which, when off, means that the Zone can be comprised of States only, and when it's on, it would mean that the Zone can only be comprised of Countries.

I am not saying you should emulate Spree per se, by the way. I am just saying that this particular feature was pretty useful for me when I had to divide USA into several zones and have separate payment and shipping methods for these zones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions