makeOrderButton = types.InlineKeyboardButton(text = "В корзину", callback_data = f"makebuy_{code_product}")
@dp.callback_query_handler(lambda call: call.data.split('makebuy_'))
async def makebuy(call: types.CallbackQuery): #Как то так там
try:
code_product = call.data.split('_')[1]
#code....
except Exception as e:
print(e)