Code

Discussion on Karenderia Printer modules

bastikikang

bastikikang supports this item

Supported

This author's response time can be up to 5 business days.

162 comments found.

wawakimo

wawakimo Purchased

hello, how are you bro? i have 3 issues OR questions and need your help as always :) thanks 1- i need to NOT PRINT some lines in printer receipt for example all restaurant info . address,tel,...... how i can do that? my developer asked for end points or the way to do that and for location name not printed, it is empty in take order app and printer receipt! how i can fix that too? 2- can i skip of confirm order or place order to make steps less when making order for example on mobile view 1. click order in basket or cart popup. 2. place order. 3. confirm order! CAN SKIP ONE OF THEM? 3- can make printer print the order twice?

thank you for help

hi mate

1. modify the files components/ReceiptClass.php

function formatReceipt

you have to unset some array on this data $data

2. at the moment it will not work if you remove it , there is code that was pass on confirm page that is needed

i need to check my code in order to remove the confirm page

3. i believe you can in views/receipt.php just duplicate this line

PrinterClass::printReceipt($data[‘order_id’],$print_receipt);

so that it will insert twice in databae for printing

do the same with

PrinterClass::printReceiptMerchant($merchant_id,$data[‘order_id’],$print_receipt);

Adam2016

Adam2016 Purchased

Hello mate . Why the status for the printer shows empty response from api ? Thanks

reply sent

Adam2016

Adam2016 Purchased

TRY NOW MATE PLEASE . ITS STILL SAME THING

sent

by
by
by
by
by
by