AG
Asked
Hello, I wanted to ask if you can tell me which is the file that paints the kitchen order and the invoice that is launched from the POS buttons. I need the variations of the product in both of them as they appear on the receipt. Or tell me how I can do it. I have modified the layout of the receipt without problem but the order I see that launches a popup and I can not find where to add the variation. thanks
- MSAnsweredHello,
The order/bill print from pos is generated by `themes/default/admin/assets/pos/js/pos.ajax.js`
Thank you - AGAnsweredThanks!!
- AGAnsweredSorry I couldn't see where, could you tell me how to add the product variant to the line? thanks
- MSAnsweredHello,
Variant name should be by default there. I will add it in coming update.
You will need to modify the `bprTr` and `oprTr` to add `(sel_opt != '' ? ' (' + sel_opt + ')' : '') +` after the `item_name`
Thank you - AGAnsweredGreat, I'm going to try it. FYI!... the same is true for invoices.
- MSAnsweredSale already display the serial number of order items
- AGAnsweredHello, I have done the indicated and the variants are not printed. something have I done wrong?
- MSAnsweredThat's correct, the order should have variant name now. If no then please wait I will update the files by tomorrow. Thank you
- AGAnsweredExcuse me, I have cleared the cache and now it works correctly.
Very easy and well explained. Thank you - AGAnsweredresolved!
- Login to Reply