WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Want to Print Just the Checkout Page in Woo

[Resolved] Want to Print Just the Checkout Page in Woo

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Baden
    Participant

    @baden03

    does the content element have an ID? Are you able to inspect the element?

    marinaprint
    Member

    @marinaprint

    It is a form with a ton of ID’s

    Begins with:
    <form name=”checkout” method=”post” class=”checkout” action=”http://blog5.scruffydogdesign.com/?page_id=571″>
    <div class=”col2-set” id=”customer_details”>

    then breaks down into each element id for country, first name, last name, address1 and so forth.

    Does that help?

    Plugin Author Baden
    Participant

    @baden03

    So the form you want to print has a class. This class is: checkout
    if you check out the documentation under the section titled: Target Attribute you will see an example:
    [print-me target=".element_class_to_print"]

    so in your case, it would be:
    [print-me target=".checkout"]

    can you dig it?

    jameswwolf
    Member

    @jameswwolf

    Hi Baden – thanks for a great plugin! I have the same issue, except I am trying to create a print button for a woocommerce product page. Can you please advise?

    Thanks!
    James

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Want to Print Just the Checkout Page in Woo’ is closed to new replies.