WordPress.org

Ready to get started?Download WordPress

Forums

Print-O-Matic
[resolved] Want to Print Just the Checkout Page in Woo (5 posts)

  1. marinaprint
    Member
    Posted 1 year ago #

    Not a coder, but need to print the content from a checkout page in WooCommerce.

    http://blog5.scruffydogdesign.com/

    Theme: Shopville

    http://wordpress.org/extend/plugins/print-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. marinaprint
    Member
    Posted 1 year ago #

    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?

  4. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  5. jameswwolf
    Member
    Posted 5 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic