Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Puck Holshuijsen 188 posts 751 karma points
    Apr 20, 2023 @ 11:53
    Puck Holshuijsen
    0

    Using the print functionality from the Front-End

    Hi Matt,

    I was curious if it is possible to use the print functionality on the front-end?

    I want people to be able to print the packing slip when on the order confirmation page :)

    Thanks!

    Puck

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Apr 20, 2023 @ 11:56
    Matt Brailsford
    0

    Hey Puck,

    Interesting question. I think potentially not as I think we probably have permission checks on the back office controller that renders the print template.

    This said, templates are just razor views so you might be able to do something where you just render the razor view yourself passing in the order it relates to 🤔

  • Puck Holshuijsen 188 posts 751 karma points
    Apr 20, 2023 @ 11:59
    Puck Holshuijsen
    0

    Ahh yeah, didn't think about the permission checks etc.

    I will have a go at rendering the view :) Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft