Custom Receipt Layout
First off, absolutely love the support and the software. It's great!
I would be interested in creating a different receipt layout then what is already in the system. I am good with CSS and HTML and I can follow along well enough with the original files to grab the data fields I want. I just want to know the best way to go about doing this and how I can make adding it back in after updates as seamless as possible.
Not sure what it would take but would be really cool if there was a way to do this in the software itself. For now, I have no problem creating my own layout. This may already be implemented but is there an option to change how receipts are formatted? I use a regular printer instead of a receipt printer. Just wondering if there is an option to tell the system I'm printing on a full page. Maybe I have already enabled this and just don't know it.
Comments
4 comments
The best way would be to modify application/views/sales/receipt.php and even put all your css changes in <style> in that file. This way when you do an update it is just one file.
There is an option "Wide receipt printer format" in store config.
Thank you! How often is the receipt file updated? Just wondering if I need to be aware of anything when updates are pushed. The fields themselves that I have on the receipts should not change very much right?
Receipt updates once in-a-while but variables aren't going to change unless we do a major restructuring.
database name is automaker.sql
Please sign in to leave a comment.