Mint erc721 but paying with erc20 token


I have my own ERC20 token publish already
I try to use my own ERC20 token for payment NFTMarket place (ERC721) instead of ETH

i use the contract from this repo folk from scaffold-eth

how i can edit this file to accept payment only from my token

i googling and found i must add the _acceptedToken into contractor of contract file , but i dont konw how to apply to above repo

pls help


I am interested to work on this task. to discuss further, please connect on telegram @hreela