Questions tagged [e-commerce]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
90 views

Order Management Microservice design pattern

I have question on how to design an order management microservice. An order has different workflow based on the previous state or based on the business needs. I'm guessing at some point cannot keep on ...
-1
votes
5answers
94 views

What is the best way to structure a shopping cart to ship to multiple recipients?

We are designing a shopping cart that allows customers to ship to multiple recipients, but we are stuck at the conceptual level of the relationship between items in the cart and recipients. There are ...
2
votes
1answer
145 views

Microservices: CQRS - how does the command side query data?

I’m trying to think what’s the best approach when I need data present in different services in a microservices-based architecture. In an e-commerce context, when a user creates an order the ...
-1
votes
4answers
268 views

How to avoid the accident that an item price is updated right after a user clicks purchase?

This is not a real scenario. This is just my assumption that such an accident may happen if the the following events really occur in this chronological order First, a user clicked "puchase" ...
5
votes
1answer
101 views

Architecting basket in high scale distributed application

I'm designing an e-commerce application. Main flow is pretty straightforward: customer add items to basket, checkouts the basket (place an order) and waits for delivery. There are following ...
7
votes
3answers
305 views

How to deal with abandoned idempotent operations?

I have implemented idempotent order placement (mostly to avoid accidental double submissions) but I am not sure how to handle incomplete operations. Example scenario: User tries to place an order. An ...
0
votes
0answers
39 views

What are the ways to provide safe & reliable third-party ecommerce tracking to your users?

The project idea is the following: Build a website where you allow ecommerce brands and their affiliates to register to our site. Brands would list their products on our site that they wish to include ...
0
votes
1answer
38 views

eCommerce data modeling - is it common to duplicate product properties in line items?

Suppose I have the following entities in a commerce data model: BaseProduct (PK id, price, name) LineItem (PK id, FK product_id, price, name) Order (PK id, line_items) An Order includes one or many ...
-4
votes
1answer
76 views

Create an e-commerce that integrates other store

I would like to create an e-commerce website that integrate other e-commerce. I can retrieve their products using APIs or feeds. The problem is that all these information are different from shop to ...
0
votes
1answer
165 views

Modular code how do they really fit together?

Let's say I am developing an ecommerce application. And I have modules organized in certain way. Products Coupon Tag (can be used as brands and linked data) Offer Now what I want to achieve is user ...
2
votes
1answer
56 views

eCommerce category path - names vs IDs

I am building an eCommerce website and there is a Category table in my MongoDB database which has a field called path. This field is used to store category hierarchy e.g Boots category will have /...
45
votes
5answers
7k views

Should an e-commerce application reserve products before attempting payment?

I'm designing an e-commerce application and I'm concerned about users occasionally experiencing this: A user orders a product and is redirected to the payment processor. While the user is paying, ...
2
votes
1answer
168 views

how to avoid / block e-commerce bots?

I am working in a big ecommerce platform from a very well known shoes brand here in my country, and our website have a page dedicated to a exclusive product This product sell just a few units, so by ...
-2
votes
3answers
115 views

At what point a shopping cart can become deemed abandonded?

Let's take Shopify. They consider a shopping cart abandoned right after a customer has entered their email at the 1st step of checkout. I think it's wrong because a customer might need at least 5-10 ...
0
votes
0answers
115 views

Sorting and filtering: ElasticSearch vs MongoDB

This is a problem related to a typical e-commerce requirement. I am using ElasticSearch for all the below use cases. I am confused about whether or not to use MongoDB for the sorting part. I have the ...
0
votes
1answer
29 views

Shipping logistics on Shopify platform

Please note: although I mention Shopify here, and would prefer a solution provided by the Shopify platform, I think this question is applicable to any small retail site and the answer may very well ...
1
vote
2answers
263 views

In DDD can an aggregate also just be an entity?

I'm working on an e-commerce solution and as part of this we have concepts of things like Stores, Currencies, Payment Methods, Shipping Methods to name a few. For each of these, we have an admin ...
0
votes
1answer
75 views

Invalidating an Inprogress Shopping Cart

In the classic 3rd party shopping cart, you create a pending transaction with the amount, redirect the user to the 3rd party shopping cart, they complete payment, and then they are redirected back to ...
-3
votes
1answer
133 views

Taking over a project. Should I scrap and rebuild? [closed]

I'm taking over an Opencart solution for a client. This is for my capstone at College. I'm to create a simple CRM (Customer Relationship Management) software that will live as a single page ...
0
votes
1answer
563 views

Best way to prevent duplicate payment of order in multi user environment?

I have an application in which users can create an order and payonline using stripe.js When the order is created it's status is set to unpaid. The user then has the option to review the order on a ...
0
votes
1answer
48 views

Implementing and storing virtual user credits on an e-commerce website

On my e-store I wish to allow customers to buy store credit, which could later be used to purchase items from the store. The vision is that the customer would send some actual money to my account via ...
1
vote
2answers
128 views

Securing e-commerce administrator panel with a VPN

I am developing the back-end of an e-commerce system, which has customer and administrator type accounts. These two roles do not overlap, administrators are there to do the back office work, while ...
-2
votes
1answer
68 views

What should be the correct architecture in an e-commerce module

I'm new in development & just developing an e-commerce platform. I'm just confuse about the flow of payment. Suppose I have a checkout page where after logged in user has to press the payment ...
1
vote
1answer
127 views

Inventory management with limited time hold strategy - How do I protect from bad actors?

Some sites, like theater ticket reservations, place a limited-time hold on the item , while the order is being processed. As soon as you select the seat and proceed to pay, Seat is reserved say for 10 ...
-1
votes
2answers
77 views

Should the TotalGrandPrice be property or Order or Invoice

I'm developing a shop. I'm trying to figure out: where should "total_grand_price" belong to? "total_grand_price" = price of all order items - discount + shipping + taxex +- etc.... Should ...
-3
votes
1answer
360 views

Design the cache and search feature like hotel booking?

I need to design the feature like in encommerce(consider hotel booking site) we can enter the keyword/partial-keyword and need to return the relevant results. For Example :- If site admin or hotel ...
3
votes
1answer
1k views

Handling guest users in ecommerce application

I'm currently developing an Ecommerce application and am trying to figure out how best to add a 'guest checkout' feature. The 3 main models that I am wrestling with to add this feature are Address, ...
-3
votes
2answers
2k views

Is it better choice to use both AngularJS and ASP.Net MVC for developing ecommerce website?

I know about MVC, But I don't have such experience with AngularJS. But both has controller and View. To develope like e-commerce site, is it good choice to choose AngularJS to do filtering with ...
-7
votes
1answer
204 views

Database design — what should be included in Order and not in Invoice and vise versa in a simple online store?

I'm developing a simple online store with simple functionality. Among others, there're 2 tables: Orders and Invoices. What exactly should be included in one and not in the other? For now I can think ...
-1
votes
1answer
87 views

Designing Data storage for a E-commerce website

I am trying to understand how E-commerce sites handle huge amount of inventory and the transactions associated with it. With respect to this, i have some basic questions. Consider a E-commerce ...
1
vote
1answer
371 views

Naming standards or conventions for ecommerce

Naming things There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton Naming things seems so trivial, before I read this quote, I would have ...
3
votes
3answers
2k views

Who owns the Orders in a consumer-provider marketplace like platform?

We are developing an application where providers can offer their products and consumers can buy them (sort of marketplace). We try to apply DDD concepts into our model design and the implementation ...
1
vote
1answer
30 views

Imagers for a product in Internet Store — one to many or many to many?

I'm creating a database schema for a internet store and I wonder how to better create the tables "images" and "products". A simpler way will be to have it as one_to_many, that is: images(....., ...
1
vote
2answers
61 views

Dynamic discounts for specific products

I have a table of discounts/offers, which are only applicable when meeting certain requirements. Example: Size: medium, Category: classic, Max. Ingredients: 3, Delivery: collection Meeting these ...
-1
votes
2answers
215 views

Front end engineering : Best way to implement a step by step check out cart

I have implemented a checkout cart like this : Navigation rules are as follows : User can move to next step only on completing the current step. But he is free to click on the previous tab and edit ...
0
votes
3answers
2k views

Product search design in ecommerce application?

I am trying to come out with high level architecture for product search in big scalable ecommerce application like amazon/best buy etc. Use case :- Search any item in free text. Say user search ...
5
votes
3answers
2k views

How to manage different currencies on the same e-commerce system?

Having one e-commerce system for multiple markets. Having markets related 1:1 to currencies. Having one database storing all order information (cost, price, invoicing) How to manage different ...
2
votes
0answers
3k views

Scalable Ecommerce site system architecture?

If I need to design the system architecture for a scalable site like amazon/BestBuy, what can be high level system architecture. googled it but did not get much data points. Below is the high level ...
1
vote
1answer
140 views

What should be taken into consideration when creating a Sku framework?

I have to design a Stock-Keeping Unit (SKU) for my downloaded products and I am looking for any advice on how to choose a standard. More specifically, I would like to know: Are there any character ...
0
votes
1answer
336 views

What do ecommerce developers do that other developers don't?

I interviewed for a job at an ecommerce company a few years ago, didn't get the job, with most of the (stated) reasons being related to my having no experience working with an ecommerce company (...
0
votes
1answer
888 views

How do I handle the potential concurrency problem of making a payment to Paypal for a limited number of items?

After doing some investigation* I have learned that I could potentially have a concurrency problem. I'm currently building a Tournament Platform in ASP.NET MVC 5 with Entity Framework 6. So far, I'...
1
vote
5answers
3k views

Do you create an order before or after payment on an Ecommerce site?

I have a shopping cart with a checkout page. On the checkout page is a payment button which takes them to a stripe payment form. I've read some books on building eCommerce shopping carts in which ...
0
votes
1answer
98 views

Does it make sense to store daily snapshots of data and analysis?

I just started working on some data analyzing for an e-commerce site that is moving about 250,000 packages per year. It is very seasonal and need to try to gain insights on both a macro and micro ...
3
votes
2answers
7k views

Implementing “buy one get one for free” coupon logic for shopping cart

Trying to solve bogo coupon logic with proper design pattern, but having trouble identifying one. Use case: "Buy iPad get SmartCase for free" Suppose we have the following objects: Product: - ...
6
votes
1answer
1k views

How does an product order payment works during a race condition?

This is a pretty generalized question which I am asking. Scenario 1 I have a product 'Pen' which has a quantity of 1. Now 2 users a and b has come to buy the product.User 'a' clicked on buy now and ...
2
votes
2answers
1k views

Designing voucher system in e-commerce application

I'm currently designing voucher system to be implemented in our company e-commerce application. I'm currently have voucher table in database which contains following information : Unique voucher ...
5
votes
4answers
3k views

How to sell an application? Licensing problems

I`ve built a simple but yet effective delphi-7 application that solves sudoku puzzles, and a keygen that produces a unique serial key for each PC. My purpose is not to make money, I want to understand ...
0
votes
0answers
45 views

How to deal with stock updates when a user makes a purchase in e-commerce? [duplicate]

Context I am creating a e-commerce website. We sell products in a really limited amount (+/- 10 available items per product). Problem How to deal with stock updates when a user makes a purchase? ...
3
votes
2answers
617 views

Calculate different prices for different user types

I'm working on a website that, among other things, sells courses. Each course is segmented in units, to which users can subscribe but is not a requirement that they subscribe to all of them. Now the ...
1
vote
2answers
404 views

Design for a shared checkout

I am currently working on a ecommerce system that is slightly different in structure to a typical ecommerce system in that you have multiple stores, accessing the same database from different URLs. ...