已遵循文档https://enupal.com/craft-plugins/stripe-payments/docs/plugin-development/template-overrides
已在my templates文件夹templates/_stripe/ folders /_ frontend /所有前端文件夹中创建了一个文件夹
如何将其包含在我的模板中?
发布于 2020-05-13 21:10:27
您只需在您的付款表单上的Templates Folder输入下添加下一个路径:
_stripe/donations/_frontend
别忘了启用Custom templates灯开关
然后像往常一样显示您的付款表格(它将使用您的模板覆盖文件夹)
{{ craft.enupalStripe.paymentForm('handle') }}https://stackoverflow.com/questions/59620936
复制相似问题