Hi everyone!
I am quite new to Adalo, trying to built an ecommerce app. The challenge I can’t solve is having to implement variable pricing. What I mean is:
A product has multiple sizes, and the specific size has a specific price.
Can’t wrap my head around how to organize the collections?
Thanks for the help!
1 Like
Hi and welcome to the community,
Thats a pretty simple setup actually. You need to have 2 collections linked to each other.
Collection #1 - We will call this “Products”
- Product Name (Text Field)
- Product Main Image (Image)
- Product Availability (True/False) - to control visibility
Collection #2 - We will call this “Product Sizes and Prices”
- Product Name (Text Field)
- Product Name Relationship to Collection #1 (One “Products” can have many “Product Sizes and Prices”) - check notes
- Size (Text Field)
- Price (Number Field)
- Total Qty (Number Field)
- Available Qty (Number Field)
- Sold Qty (Number Field)
With this collections design, you can have different pricing for different sizes of one product.
You would need to create a new item in Collection #2 for each size.
Note If lets say you sell 3 different tshirt designs, yet Size S is $10 and Size M is $20 and Size L is $30 irrespective of the tshirt design, then I would choose the Product Name Relationship to Collection #1 to be a Many-to-many relation (i.e. Many “Products” can have many “Product Sizes and Prices”.
Hope this helps!
@lexflorea You can expand on Collection #2 and include properties such as Discount % or Discounted Price, etc
Thank you for your prompt answer.