Basket get total price by currency id

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
giorgimetivishvili
Posts: 4
Joined: 30 Mar 2021, 10:48

Basket get total price by currency id

Post by giorgimetivishvili » 30 Mar 2021, 10:53

Laravel: ^8.0
aimeos-laravel: ~2020.10
PHP: 7.4
Server: Apache Debian

Hello, it's my first post here :) what i'm trying to do is that get basket prices by currency, because i want to change price during checkout based on delivery address? thanks for help :shock:

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

Re: Basket get total price by currency id

Post by aimeos » 02 Apr 2021, 17:11

It doesn't work that way. If you want to change the currency depending on the countryid from the customer address, you need to change (or add) the "currency" parameter in the URL. Then, the basket content is automatically migrated to that currency.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
giorgimetivishvili
Posts: 4
Joined: 30 Mar 2021, 10:48

Re: Basket get total price by currency id

Post by giorgimetivishvili » 04 Apr 2021, 14:14

thanks for answer, is it possible to get all prices for basket ? i mean in all currencies

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

Re: Basket get total price by currency id

Post by aimeos » 06 Apr 2021, 15:24

No, only like described before.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply