Discount for registered customer

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
AleksandarJovanovic
Posts: 53
Joined: 01 Jun 2022, 21:26

Discount for registered customer

Post by AleksandarJovanovic » 05 Nov 2024, 11:22

Php 8.2
Linux
Version 2024.10.

Hello everyone,

A little help, please. I would like to add a rule where, for example, every registered customer receives a 20% discount if they purchase two or more products from our collection. Can I use a price rule for this, i.e., is there already a defined logic, or do I need to create a decorator?

Thanks in advance.

User avatar
aimeos
Administrator
Posts: 8318
Joined: 01 Jan 1970, 00:00

Re: Discount for registered customer

Post by aimeos » 05 Nov 2024, 15:27

The simplest way would be to use tier-pricing (different prices for different quantities) by adding two prices to the product with minimum quantity values "1" and "2": https://aimeos.org/docs/latest/manual/p ... ls/#prices
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply