cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to handle price dynamic

Former Member
0 Likes
361

We have requirement to handle price dynamic (referring external system).

We would like to know, what is the best way to handle dynamic pricing among below :

Approach 1 :

Creating Price factory extension and overriding getBasePrice() method of customPricefactoryManager. Please confirm if it uses jalo layer.

Approach 2 :

In DefaultSLFindPriceStrategy we can customize getBasePrice() method.

If any other way too, please lets know.

We would like to know which approach can help to handle prices in addtocart operation, checkout and product page details pricing.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Dear Manigandan,

Shouldn't you just use CPQ? To load prices of configurable products from ERP or CRM?
https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/6.7.0.0/en-US/528b7395bc314999a01e3560f...

Beside that, addtocart overwrites public Double getBasePrice() with return null; and PriceSummaryModel.java just returns 'return basePrice;' at method public PriceModel getBasePrice(). Looking on how straight simple is these getters It looks to me as if you could use whatever you want as long as you have the right price configured at the database. Yet as we all know IT is full of Murphy Law like scenarios. CPQ is dealing with having a separate database for variant product configurations. I would try looking at these solutions.

Best Regards, Marta