Make the Zones be Country or State based.
dimitarvp opened this issue · 3 comments
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.
Hi @Dimitko
Thanks for the suggestion. We will surely look into it.
Is it possible to share the customization used in shops you are thinking to migrate ?
We can work along to smoothen up NectarCommerce rigged corners for the successful migration of shops and their usability.
Please do share if you came across other options in Elixir/Phoenix for the shops migration.
Thanks
Pikender Sharma
@pikender Sure. I am just starting myself though, have that in mind. I have a pretty tough job and it's taking most of my energy and time so I can't devote to such a project full-time. I can give you bits and pieces of e-commerce features which IMO should be baseline for every such framework.
A few quick ideas:
- Do you have tax rate objects?
- Do you have shipping rate objects?
- If you have these two, then do you have shipping cost estimator as well? That's extremely useful and important. People don't want to be surprised by shipping costs. They want to know beforehand. Examples: Amazon and eBay.
I am yet to try and find some other Erlang/Elixir e-commerce projects (I know about a few but I lost the links -- I can find them with time).
BTW, do you have background in Spree? I have some, but I am not an expert. More like a maintainer of a pretty successful shop.
@Dimitko We do have Tax Rate Objects and Shipping Rate objects and basic calculators for them. Will look more into their robustness and ease of use.
I know about SpreeCommerce as my employer Vinsol is leading the opensource effort since Jan 2016 and has been developing highly customizable Stores way before 😊
We are well versed with E-Commerce and its customizations :)