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

Which interface do you re-implement to select different PriceRows for cart calculation?

0 Likes
1,087

Which interface do you re-implement to select different PriceRows for cart calculation?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Likes

I think method filterPriceRows(List priceRows) from Europe1PriceFactory. Should cater to your requirement. Hence you should extend/ re-implement Europe1PriceFactory.

Javadoc Reference: https://help.sap.com/doc/2bc718be6d1e46169d58d38ad055025d/6.2.0.0/en-US/index.html

venkateswarlu2
Discoverer
0 Likes

Implementation of interface PriceFactory should help. ( I do agree with Subhash, as Europe1PriceFactory is default implementation of interface-PriceFactory)

sduvvuri
Explorer
0 Likes

If I understood your question correctly, you need a different strategy for selecting price rows. Usually price rows are selected and filtered by Europe1PriceFactory class. You can customize the getPriceInformations(...) method in that class which would get called from DefaultPriceService class whenever price information is retrieved.

For reference : https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/6.6.0.0/en-US/961b19dfdcd34eff8c6659e0f...

vinay_malempati
Active Participant
0 Likes

You should override DefaultPriceService which implements PriceService

Ask a Question