Page 1 of 1

Add a base price

Posted: 13 Oct 2021, 16:01
by timothy_truckle
Laravel: Laravel Framework 6.20.27
Aimeos: aimeos/aimeos-core 2020.10.25
PHP: PHP 7.4.3
OS: 20.04.1-Ubuntu

I need to create a product that will consist of a service (printing) having a fixed price of say 20 Euros. This should be coupled with another product card (0.50€ each) , that will be printed with a selectable text. I figured this can be achieved with product variants. And this works.

Problem is: The Service should be a one-time payment for that order, and the price should reflect that like so:

Product Card with Printing, constists of:

Order 1 x Card + 1 x Printing

Printing Service == 1 x 20 = 20€
Cards == 1 x 0,50 = 0,50€
Sums up to 20.50 €

How can i achieve this:

The Order consists of 30 x Card + 1 x Printing

Printing Service == 1 x 20,00 = 20€
Cards == 30 x 0,50 = 15€
Sums up to 35,00 €

in one Product (with text variants) ? I want the printing service to be counted just once, not 30 times if the customer wants 30 cards. Any ideas?

Re: Add a base price

Posted: 15 Oct 2021, 08:38
by aimeos
Add the base price as price for the product and use configurable attributes with their own prices for the cards because they can have their own quantities.

Re: Add a base price

Posted: 20 Oct 2021, 09:26
by timothy_truckle
Thank you for your answer, however i cannot see how to give the attribute its own quantity input on the product page.

Does this work with aimeos 2020.10?

Re: Add a base price

Posted: 21 Oct 2021, 08:53
by aimeos
Yes, it works for 2020.10 LTS too but only for configurable attributes like shown here:
https://laravel.demo.aimeos.org/default ... -article/2