How to configure batch-wise pricing in ERPnext?

I am trying to set up batch-wise pricing in an ERPnext project. I want to use this at the time of sale, I should be able to select a batch and the price associated with that batch should be added to cart automatically. How to achieve this?

I think, You can set the Batch-wise Item Price, so explore it.