Price

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
Muhammad-Nawlo
Posts: 20
Joined: 16 Jul 2024, 02:03

Price

Post by Muhammad-Nawlo » 18 Aug 2024, 12:38

php 8.1
aimeos-laravel 2024.07
aimeoscom/ai-site 2024.07
windows 11

Hey,I want to implement multiple price for a product because I have the extension of marketplace and I want all my vendors to have a specific price.
A product has three price:
1- Cost
2- Marketer
3- Standar
What is the best practice to implement this.
Note:Vendor should not see the cost price

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

Re: Price

Post by aimeos » 20 Aug 2024, 06:58

You can assign a price in each vendor site and these prices will be aggregated to the marketplace.
Furthermore, you can also assign multiple prices to each product (and vendor) with different types and can show those prices in the frontend but only the price with type "default" is used in the basket for calculating the total price.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Muhammad-Nawlo
Posts: 20
Joined: 16 Jul 2024, 02:03

Re: Price

Post by Muhammad-Nawlo » 20 Aug 2024, 11:38

How can I assign a price for each vendor?

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

Re: Price

Post by aimeos » 20 Aug 2024, 11:40

Select the vendor site in the site selector at the top of the left navigation menu. Then, add the price to the product in the product detail panel.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Muhammad-Nawlo
Posts: 20
Joined: 16 Jul 2024, 02:03

Re: Price

Post by Muhammad-Nawlo » 20 Aug 2024, 12:18

Thank you for your fast replay.
But in this case the vendor can see my cost price and I don't want that,on the other hand if I added a price for vendor 2, vendor 1 will see vendor 2's price

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

Re: Price

Post by aimeos » 20 Aug 2024, 13:01

Muhammad-Nawlo wrote: 20 Aug 2024, 12:18 But in this case the vendor can see my cost price and I don't want that,on the other hand if I added a price for vendor 2, vendor 1 will see vendor 2's price
What is this "cost" price for?
Vendor 2 won't see the price of vendor 1 and vice versa if they add their prices only at their vendor site. The prices are then aggregated into the default (root) level when the instance is configured in marketplace mode where they are shown all together.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Muhammad-Nawlo
Posts: 20
Joined: 16 Jul 2024, 02:03

Re: Price

Post by Muhammad-Nawlo » 20 Aug 2024, 14:05

I've told you that I want to have three prices in my marketplace.
1- cost price (.e.g 100$) this is a cost of a product.
2- marketer price (.e.g 120$) this price for vendors.
3-default price (.e.g 150$) this price for my website.

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

Re: Price

Post by aimeos » 21 Aug 2024, 11:56

Just for understanding:
1.) The costs price is the price you purchase the product from the manufacturer
2.) The marketer price is the price you sell the product to the vendors
3.) The default price is the price a vendor can offer the product on the marketplace
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Muhammad-Nawlo
Posts: 20
Joined: 16 Jul 2024, 02:03

Re: Price

Post by Muhammad-Nawlo » 23 Aug 2024, 06:30

Exactly

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

Re: Price

Post by aimeos » 24 Aug 2024, 15:10

You can add the purchase and marketer price with a different price type but that will be visible for vendors as they are inherited also to vendor sites. It's possible to set a different aggregation/inheritance for the price domain (mshop/price/manager/sitemode config key, like mshop/locale/manager/sitelevel) and set it to "2" but currently that doesn't perfectly work because the price types are then not inherited to the vendor sites, which are needed there.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply