# Realtime prices for every customer different

**URL:** <https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [12. März 2018 um 08:12 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680 "2018-03-12T08:12:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAGmelis](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@JAGmelis](https://forum.shopware.com/u/JAGmelis)\
**Post date:** [12. März 2018 um 08:12 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/1 "2018-03-12T08:12:44Z")

</div>

Hi,

Is it possible…  
For a webshop we need to pull all productprices from an&nbsp;ERP-api… so far no problem.  
But all prices are also different for every&nbsp;customer, every x-minutes… and there is no&nbsp;real price-structure / client groups or anything to implement.  
So updating a product with the Api-response (given price)&nbsp;is not an option. The prices have to be realtime from their API and requested with the SKU and client-number.

Can this be done / made in Shopware&nbsp;without&nbsp;too much hassle?

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [12. März 2018 um 11:30 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/2 "2018-03-12T11:30:56Z")

</div>

> [@JAGmelis schrieb:](https://forum.shopware.com/profile/28504/JAGmelis "JAGmelis")
> 
> Can this be done / made in Shopware&nbsp;without&nbsp;too much hassle?

If you know what to do, yes ;-)&nbsp;

As an example, the b2b suite offers a small interface which you only have to implement 🙂

---

<div class="post-metadata">

**Author:** ![JAGmelis](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@JAGmelis](https://forum.shopware.com/u/JAGmelis)\
**Post date:** [12. März 2018 um 11:41 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/3 "2018-03-12T11:41:12Z")

</div>

Thanks for your reply Thomas!  
So it can be done that prices are persistant on all places (shoppingcart / checkout / order etc) after the realtime productprice (SKU in combination with ClientID)&nbsp;is fetched via an API-call…

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [12. März 2018 um 11:45 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/4 "2018-03-12T11:45:29Z")

</div>

Yes, we created on top of the b2b suite a small Plugin which can be found [here](https://docs.enterprise.shopware.com/exampleplugins/B2bPrice.zip). This plugin change the prices to a random value. As you can see, it is not much work if you have the b2b suite 🙂

---

<div class="post-metadata">

**Author:** ![JAGmelis](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@JAGmelis](https://forum.shopware.com/u/JAGmelis)\
**Post date:** [12. März 2018 um 11:58 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/5 "2018-03-12T11:58:43Z")

</div>

Great!!  
Thomas, do you also know if the B2B Suite is only available for the Enterprise Edition, or can it also be purchased in combination with the Professional or&nbsp;Professional Plus edition?

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [12. März 2018 um 12:11 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/6 "2018-03-12T12:11:59Z")

</div>

It is a enterprise only feature.

---

<div class="post-metadata">

**Author:** ![Sition](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@Sition](https://forum.shopware.com/u/Sition)\
**Post date:** [12. März 2018 um 12:16 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/7 "2018-03-12T12:16:41Z")

</div>

Hi JAGmelis,

We need this as well.  
It’s also possible to extend the SwagUserPrice plugin.  
The plugin is focussed on managing prices by user in the backend. But it seems extendable.

@Thomas‍ Is there a PriceService which can be decorated for the Non-Enterprise version comparable to the B2B plugin?

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [12. März 2018 um 14:15 UTC](https://forum.shopware.com/t/realtime-prices-for-every-customer-different/51680/8 "2018-03-12T14:15:22Z")

</div>

> [@Sition schrieb:](https://forum.shopware.com/profile/25235/Sition "Sition")
> 
> @Thomas‍ Is there a PriceService which can be decorated for the Non-Enterprise version comparable to the B2B plugin?

Not only one services but a few. &nbsp;
