PancakeZap with burn

PancakeZap contract source code: https://github.com/pancakeswap/pancake-smart-contracts/blob/d8f55093a43a7e8913f7730cfff3589a46f5c014/projects/exchange-protocol/contracts/PancakeZapV1.sol
How to add in the functions ZapInToken, ZapOutToken, the ability to execute if there is a burn in the specified liquidity pair (in other words, on pancakeswap when buying a token, for example, slippage = 5% ) when buying/selling a token
Error TransferHelper: Transfer from failed
With tokens without burning, the original contract is executed successfully

Hi there, Can you elaborate what you are looking for? You questions seems unclear.