Questions tagged [e-commerce]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

In what situations would I need state management like redux in my e commerce app?

I am new to React and web development generally so please try to understand if the question seems dumb. So, I am currently making a simple e-commerce app and I was thinking of using state management ...
Solruhama's user avatar
0 votes
2 answers
2k 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 ...
Sathish's user avatar
  • 101
-1 votes
5 answers
218 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 ...
Matt P's user avatar
  • 1
2 votes
1 answer
395 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 ...
Leandro Costa's user avatar
-1 votes
4 answers
279 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" ...
Raymond Pang's user avatar
7 votes
1 answer
242 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 ...
Maciej Pszczolinski's user avatar
8 votes
3 answers
470 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 ...
Avius's user avatar
  • 397
0 votes
1 answer
69 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 ...
alexcs's user avatar
  • 101
-4 votes
1 answer
89 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 ...
dani.luis's user avatar
0 votes
1 answer
216 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 ...
Rajesh Paudel's user avatar
2 votes
1 answer
132 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 /...
Irfan's user avatar
  • 129
45 votes
5 answers
8k 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, ...
paj28's user avatar
  • 1,653
2 votes
1 answer
188 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 ...
Leandro RR's user avatar
-2 votes
3 answers
135 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 ...
goja3318's user avatar
0 votes
0 answers
305 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 ...
rohanagarwal's user avatar
0 votes
1 answer
38 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 ...
hotmeatballsoup's user avatar
1 vote
2 answers
1k 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 ...
Matt Brailsford's user avatar
0 votes
1 answer
91 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 ...
AaronLS's user avatar
  • 206
-3 votes
1 answer
177 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 ...
Kevin Tran's user avatar
0 votes
1 answer
1k 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 ...
adam78's user avatar
  • 291
0 votes
1 answer
126 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 ...
Avius's user avatar
  • 397
1 vote
2 answers
247 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 ...
Avius's user avatar
  • 397
-2 votes
1 answer
81 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 ...
Codecraker's user avatar
1 vote
1 answer
129 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 ...
user3198603's user avatar
  • 1,896
-1 votes
2 answers
83 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 ...
Pajarat's user avatar
  • 11
-3 votes
1 answer
691 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 ...
user3222249's user avatar
4 votes
1 answer
2k 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, ...
Rnice4christ's user avatar
-3 votes
2 answers
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 ...
Liam neesan's user avatar
-7 votes
1 answer
453 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 ...
Mareka's user avatar
  • 1
-1 votes
1 answer
92 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 ...
karthiksatyanarayana's user avatar
1 vote
1 answer
665 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 ...
R. Schmitz's user avatar
  • 2,608
6 votes
3 answers
3k 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 ...
Francesc Castells's user avatar
1 vote
1 answer
54 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(....., ...
Jorik's user avatar
  • 19
1 vote
2 answers
64 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 ...
jvitasek's user avatar
  • 113
-1 votes
2 answers
219 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 ...
zacurry's user avatar
  • 123
0 votes
3 answers
3k 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 ...
user3222249's user avatar
7 votes
3 answers
3k 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 ...
koalaok's user avatar
  • 503
2 votes
0 answers
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 ...
user3222249's user avatar
2 votes
1 answer
176 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 ...
Anon's user avatar
  • 3,603
0 votes
1 answer
526 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 (...
Patrick's user avatar
  • 109
0 votes
1 answer
1k 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'...
Jose A's user avatar
  • 295
4 votes
8 answers
6k 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 ...
adam78's user avatar
  • 291
0 votes
1 answer
334 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 ...
Jeremy H.'s user avatar
  • 111
4 votes
2 answers
9k 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: - ...
Putna's user avatar
  • 143
6 votes
1 answer
3k 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 ...
Ajeesh's user avatar
  • 329
2 votes
2 answers
2k 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 ...
ramaadhitia's user avatar
5 votes
4 answers
4k 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 ...
Tension Coding's user avatar
0 votes
0 answers
57 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? ...
skirato's user avatar
  • 101
3 votes
2 answers
656 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 ...
Gonzalingui's user avatar
1 vote
2 answers
456 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. ...
Roberto Modica's user avatar