Open cart edit checkout functionality

时间:2015-06-26 09:35:16

标签: opencart

I am new to this Opencart. I want to add some functionality in my open cart site. I want to create a pdf file with some text and order number after the check out process. I know it's possible to edit the check out model and controller files. But have a doubt that is it lose when i upgrade the opencart? If so is there is any other solution for this requirement?

Please help me

1 个答案:

答案 0 :(得分:0)

您可以在checkout / order.php模型中创建一个函数,该函数将处理pdf生成操作。然后在升级之前,您可以将pdf生成器功能保存到另一个文件中以保留它。

我可以推荐http://dompdf.github.com/作为html到pdf生成器。