Developer forum

Forum » Feature requests » Better support for multiple webshops in the same solution. Price for anonymous users

Better support for multiple webshops in the same solution. Price for anonymous users

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Based on our recent experience with implementing multiple shops in the same solution, I believe I might have a suggestion for improvement.

Support shop prices for anonymous users. In some situations, we might have 2 B2B2C Shops in the same solution, using the same catalog or have a partial overlap of the product catalog. For these situations, we only have one Price field that we can use for Anonymous users. The Price matrix supports defining separate prices for different user groups and different shops but it does not support having separate prices for anonymous users. In the past, we had a Sales Discount that could use the value of a Custom ProductField of type Number. That option is gone and it was for the obsolete Sales Discounts anyway. I believe that we need a better way of handling Anonymous per Shop/Website.

Thank you,
Adrian


Replies

 
Nicolai Pedersen
Reply

Hi Adrian

You can have different prices for different shops for anonymous users - just use the matrix without adding users or groups to the prices. See my dump.

Would that not work?

Capture.JPG
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

I have not tried leaving UserGroup empty. If it works this way, It's fine with me.

Thank you,

Adrian

 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Nicolai,

 

But if the usergroup is empty, then the price will still match a B2B-user, and that makes it hard to have both B2B og B2C shops in the same solution as they can have different price setups as B2B users typically have various discounts based on the base price.

 

Best regards, Anders

 
Nicolai Pedersen
Reply

Hi Anders

As long as the customer specific price (b2b price) is lower than the anonymous price, it should work.

The rule is that the price returned is the lowest of all prices that match the criterias.

NP

 
Anders Ebdrup
Anders Ebdrup
Reply

But that is not always the case, and thats the issue, because often the b2b price is only lower due to discounts

 
Nicolai Pedersen
Reply

So,

  • b2c price = 100,
  • b2b price = 105 - 10%
    = 94,5?
 
Nicolai Pedersen
Reply

Meaning that you have b2b price of 105 in price matrix?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Is the value of the price that decides the source or the priority of the source?

I would have expected it to take first the live price (regardless of the value) then check the Price matrix for User specific price, Group specific price or default price.

The value criteria seem fine for my cases so far since B2B is usually lower than B2C but there might be situations where the segmentations might be different.

You probably have reached this scenario based on other uses cases which should be fine I guess.

I will implement it in my project and see if there are any exceptions that I should account for.

Thank you,
Adrian

 
Nicolai Pedersen
Reply

Your live price is coming from a priceprovider - the priceprovider will make the decision. The standard live integration price provider will lookup the price from external system, and if a response is returned from the erp, that is used. If no result is coming back, it fallbacks to the default price provider value - which is the lowest of all prices matching all criterias.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for the clarification.

That was what I also expected it to behave.

Thank you,

Adrian

 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Nicolai & Adrian,

 

We see more and more scenarios where prices are exported from the ERP and now Dynamicweb has to handle all the price logic

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

I can confirm it seems this way.
So far we have relied heavily on the live pricing but it seems our next prospects will want to have the prices inside DW.

Adrian

 
Nicolai Pedersen
Reply

I agree with both of you. This week we also send a customer live with an update that is just this change.

@Anders - you missed my question from earlier:

Related to prices - you see this scenario?,

  • b2c price = 100,
  • b2b price = 105 - 10%
    = 94,5?
 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Nicolai,

 

Yes, that could easily be the case.

 
Nicolai Pedersen
Reply

Lying sales people...!! Who would ever trust that kind of business model...

Anyways -  so a checkbox in the price matrix of "Only for anonymous users"

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

:))

2 hats. Sales and Development. We have to sell it first to the Dev hat and after that to the customer :)

A checkbox is probably fine.

Thank you,
Adrian