Inhalte aufrufen

Profilbild

Can this be done with RuleBuilder?


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 TripleNico

TripleNico

    Advanced Member

  • Members
  • 122 Beiträge

Geschrieben: 01 March 2021 - 14:45

Currently we use Dependingprices to setup the prices for our retailers. Now we updated from 3.2.2 to 4.1.1 i was wondering if we could use RuileBuiler instead of DependingPrices in the scenario below.

 

There are two reason why we want to stop using DependingPrices:

  1. It has no WebApi point. Meaning we cannot manipulate the data only by using CSV and keeping track of own shadow database, etc..
  2. It only displays the price at the product. Once it's added to the cart the customer doesn't see how much discount is applied. We want to let the customer see how much they save or in Retailer case what their margin is.

 

Retailers explained:

We apply discount by use of a pricing table, which is:

5%

7.5%

...

25%

It starts from 5% then increments with 2.5% and has a maximum of 25%. 

 

These discount percentages are linked to an manufacturer. So each manufacturer had a pricing table from 5% to 25%. Currently we have 59 manufacturers in our shop.

 

A few situation:

  1. Customer A get's 5% discount on Manufacturer A and 17.5% Manufacturer B
  2. Customer B get's 12.5% on Manufacturer A and 10% on Manufacturer B

As you can see each retailer can have a different discount applied to the manufacturer. So it has be somewhat dynamic.

 

But there is a catch. Not all products of a manufacturer can have discount get applied. For example we have Product A from Manufacturer A that has a maximum margin of 10% but Customer A gets 15% discount on Manufacturer A. This means that if the above rule applies the customer gets 15% discount meaning we lose 5% on the product which means we have to pay extra for that product.

 

This is how currently our CRM works and hopefully this make sense. SmartStore is linked via the WebApi to our CRM system. So once we know if and how we have to setup the RuleBuilder we can automate the rest by using the WebApi.

 

 



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3631 Beiträge

Geschrieben: 02 March 2021 - 16:05

No, this is not possible by rule builder and API. A plugin that overwrites the existing price calculation like Depending Prices is the right way to implement this.


  • stefanmueller gefällt das

Schöne Grüße aus Düsseldorf,
Marcus Gesing


#3 TripleNico

TripleNico

    Advanced Member

  • Members
  • 122 Beiträge

Geschrieben: 03 March 2021 - 09:52

No, this is not possible by rule builder and API. A plugin that overwrites the existing price calculation like Depending Prices is the right way to implement this.

 

Ah that's to bad it cannot be done with the RuileBuilder.

 

Could DependingPrice then get an API endpoint? This would help alot! And also it would be nice if DependingPrices could add it as "Discount" so it isn't only visible ate the product but also in the cart and checkout and invoice etc...