Announcement

Collapse
No announcement yet.

Print Order Confirmation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Print Order Confirmation

    Trying to get the print order confirmation button to work on the INVC page template / Bootstrap framework. We used to ask for the ORDP screen, but I get that page no longer exists error. Here's how I was trying it:

    Code:
    <a class="btn btn-default btn-lg pull-right"  href="&mvt:global:secure_sessionurl;Screen=ORDP&Store_Code=&mvta:global:Store_Code;&Order_ID=&mvt:order:id;&Order_BillEmail=&mvte:global:order:bill_email;&Order_BillZip=&mvte:global:order:bill_zip;"  id="print-confirmation" title="Print Order Confirmation"  target="_blank">Print Order Confirmation</a>
    Using short links, but I did before too, so don't think that has anything to do with it.

    Appreciate any help,

    Jamie
    Last edited by jsdva; 08-30-14, 11:06 AM. Reason: more info
    Jamie Donaldson
    JSDVS Web Design / Development
    Web Design | Web Development | E-commerce Design & Integration

    #2
    Re: Print Order Confirmation

    joining
    Larry
    Luce Kanun Web Design
    www.facebook.com/wajake41
    www.plus.google.com/116415026668025242914/posts?hl=en


    Comment


      #3
      Re: Print Order Confirmation

      Well its not going to work if the screen doesn't exists. Try building one, even its its just a temp. (It could have been inadvertently left out of the bootstrap. Copying one from another site would be a good start).
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment


        #4
        Re: Print Order Confirmation

        Tried using the Printable_Invoice page template, and I still got the page doesn't exist error.
        Jamie Donaldson
        JSDVS Web Design / Development
        Web Design | Web Development | E-commerce Design & Integration

        Comment


          #5
          Re: Print Order Confirmation

          Sorry for stating the obvious, but is the button pointing to that page?
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


            #6
            Re: Print Order Confirmation

            I changed it from ORDP to the code for the printable invoice and no dice. Got the error both times.
            Jamie Donaldson
            JSDVS Web Design / Development
            Web Design | Web Development | E-commerce Design & Integration

            Comment


              #7
              Re: Print Order Confirmation

              Odd. Can you just call the screen normally through the URL?
              Bruce Golub
              Phosphor Media - "Your Success is our Business"

              Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
              phosphormedia.com

              Comment


                #8
                Re: Print Order Confirmation

                Originally posted by Bruce - PhosphorMedia View Post
                Odd. Can you just call the screen normally through the URL?
                No matter whether I try the url with short links or the full URL (screen=), I get the following error:
                Page 'ORDER_INVOICE' no longer exists.

                Can't pull it up either way with the url.

                I know the screen/page template exists, because it is in the Miva admin.

                Jamie
                Jamie Donaldson
                JSDVS Web Design / Development
                Web Design | Web Development | E-commerce Design & Integration

                Comment


                  #9
                  Re: Print Order Confirmation

                  Anybody????
                  Jamie Donaldson
                  JSDVS Web Design / Development
                  Web Design | Web Development | E-commerce Design & Integration

                  Comment


                    #10
                    Re: Print Order Confirmation

                    Page ORDP is the "Printable Order Confirmation" for use on INVC.

                    The link to this page on INVC should be:

                    Code:
                    <a href="&mvt:global:secure_sessionurl;Screen=ORDP&Store_Code=&mvta:global:Store_Code;&Order_ID=&mvt:order:id;&Order_BillEmail=&mvte:global:order:bill_email;&Order_BillZip=&mvte:global:order:bill_zip;" id="print-confirmation" class="btn btn-danger" title="Print Order Confirmation" target="_blank">Print Order Confirmation</a>
                    Default Page template for ORDP, "Printable Order Confirmation":

                    Code:
                    <mvt:item name="html_profile" />
                    <head>
                        <title>&mvt:store:name;: &mvt:page:name;</title>
                        <base href="&mvt:global:basehref;" />
                        <mvt:item name="head" param="css_list" />
                        <mvt:item name="head" param="head_tag" />
                    </head>
                    <body id="JS_&mvt:page:code;" class="&mvt:page:code;">
                    <div id="site-container">
                        <div class="items">
                            <div class="content">
                                <div class="container">
                                    <div class="row">                    
                                        <div class="col-md-12 col-sm-12">                        
                                            <mvt:item name="hdft" param="header" />
                                                                    <div id="printable-order" class="clearfix">
                                                                    <h3>&mvt:global:store:name;</h3>
                                                                    <p>&mvt:global:store:address;, &mvt:global:store:city;, &mvt:global:store:state; &mvt:global:store:zip;</p>
                                                                    <p>Phone: &mvt:global:store:phone;</p>
                                                                    <p>Fax: &mvt:global:store:fax;</p>
                                                                    <p>Email: &mvt:global:store:email;</p>
                                                                    <br />
                                                                    <h2 id="page-title">Order Confirmation</h2>
                                                                    <p class="order-id"><strong>Order #:</strong> &mvt:order:id;</p>
                                                                    <p class="order-date"><strong>Date:</strong> &mvt:order:date; &mvt:order:time;</p>
                                                                    <div><mvt:item name="messages" /></div>
                                                                    <div id="customer-fields" class="non-editable">
                                                                        <mvt:item name="order_customer" />
                                                                        <div class="clearfix"></div>
                                                                    </div>
                                                                    <div id="order-contents">
                                                                        <mvt:item name="view_order" />
                                                                    </div>
                                                                </div>
                                            <mvt:item name="hdft" param="footer" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    </body>
                    </html>
                    I believe the default items to assign are:

                    html_profile
                    head
                    store
                    messages
                    order
                    states
                    countries
                    order_customer
                    view_order
                    hdft
                    body
                    Ron Frigon
                    Jedi Webmaster Obi-Ron Kenobi

                    Comment


                      #11
                      Re: Print Order Confirmation

                      The Order_Invoice page is an admin only page, meaning it can only be seen from the admin. This is why you are seeing that error.

                      The ORDP page is not included in the bootstrap framework. If you need that page, you'll need to manually add it. It is just a modified version of the Order Status page what has some things stripped out.
                      Brennan Heyde
                      VP Product
                      Miva, Inc.
                      [email protected]
                      https://www.miva.com

                      Comment


                        #12
                        Re: Print Order Confirmation

                        Originally posted by Ron Frigon View Post
                        Page ORDP is the "Printable Order Confirmation" for use on INVC...
                        Excellent, excellent, excellent Ron! Thank you so much! Works like a charm!

                        Jamie
                        Jamie Donaldson
                        JSDVS Web Design / Development
                        Web Design | Web Development | E-commerce Design & Integration

                        Comment


                          #13
                          Re: Print Order Confirmation

                          Originally posted by Brennan View Post
                          The Order_Invoice page is an admin only page, meaning it can only be seen from the admin. This is why you are seeing that error.

                          The ORDP page is not included in the bootstrap framework. If you need that page, you'll need to manually add it. It is just a modified version of the Order Status page what has some things stripped out.
                          Yep Brennan! I was brain dead through this one. Ron set me straight.

                          Jamie
                          Jamie Donaldson
                          JSDVS Web Design / Development
                          Web Design | Web Development | E-commerce Design & Integration

                          Comment

                          Working...
                          X