Question: Kitchen order with product variations

Kitchen order with product variations

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

AG

Angel Heredero González

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
  • MS

    Mian Saleem

    Answered
    Hello,

    The order/bill print from pos is generated by `themes/default/admin/assets/pos/js/pos.ajax.js`

    Thank you
  • AG

    Angel Heredero González

    Answered
    Thanks!!
  • AG

    Angel Heredero González

    Answered
    Sorry I couldn't see where, could you tell me how to add the product variant to the line? thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    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
  • AG

    Angel Heredero González

    Answered
    Great, I'm going to try it. FYI!... the same is true for invoices.
  • MS

    Mian Saleem

    Answered
    Sale already display the serial number of order items
  • AG

    Angel Heredero González

    Answered
    Hello, I have done the indicated and the variants are not printed. something have I done wrong?
  • MS

    Mian Saleem

    Answered
    That's correct, the order should have variant name now. If no then please wait I will update the files by tomorrow. Thank you
  • AG

    Angel Heredero González

    Answered
    Excuse me, I have cleared the cache and now it works correctly.
    Very easy and well explained. Thank you
  • AG

    Angel Heredero González

    Answered
    resolved!
  • Login to Reply