How to discount on NFT Marketplace with X Currency

Hi, I was able to fork and develop an NFT Marketplace, but now I lack in part we want to add this function:

We want to get a discount on NFT acquisition when made on X currency and deactivate the RFI function on that particular kind of trade.

Is there a way to do this?

Thanks a lot, priceless soul.