Title: ozviewer's Replies | WordPress.org

---

# ozviewer

  [  ](https://wordpress.org/support/users/ozviewer/)

 *   [Profile](https://wordpress.org/support/users/ozviewer/)
 *   [Topics Started](https://wordpress.org/support/users/ozviewer/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ozviewer/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ozviewer/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ozviewer/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ozviewer/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ozviewer/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 45 total)

1 [2](https://wordpress.org/support/users/ozviewer/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ozviewer/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/ozviewer/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPC Product Bundles for WooCommerce] You cannot add this bundle to your cart – again](https://wordpress.org/support/topic/you-cannot-add-this-bundle-to-your-cart-again/)
 *  [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/you-cannot-add-this-bundle-to-your-cart-again/#post-18043180)
 * I would also like to know the answer to this as I have the same issue.
    -  This reply was modified 1 year, 7 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPC Fly Cart for WooCommerce] Cannot add bundle to the cart](https://wordpress.org/support/topic/cannot-add-bundle-to-the-cart/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-add-bundle-to-the-cart/#post-18043175)
 * I discovered that the problem is not caused by WPC Fly Cart, it is caused by 
   a common and repeated error in the WPC Bundle plugin. For example (and there 
   are many) see:
 * [https://wordpress.org/support/topic/you-cannot-add-this-bundle-to-your-cart-again/](https://wordpress.org/support/topic/you-cannot-add-this-bundle-to-your-cart-again/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPC Fly Cart for WooCommerce] Cannot add bundle to the cart](https://wordpress.org/support/topic/cannot-add-bundle-to-the-cart/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-add-bundle-to-the-cart/#post-18037520)
 *  The Ajax plugin didn’t solve the problem. Is there a link to earlier versions
   of Fly cart so I can roll back my version?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Store Toolkit – WooCommerce Extensions, Quick Enhancements & Handy Tools] How to Undo Sample Orders?](https://wordpress.org/support/topic/how-to-undo-sample-orders/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/how-to-undo-sample-orders/#post-17954122)
 * Hi, that’s the first thing I thought to do but the orders never appeared on the
   Orders page so I couldn’t cancel them. As I had a number of products (incorrectly)
   showing as out of stock, I had to manually count and update them to the correct
   stock level.
 * [Update]. I just noticed an order on hold. It contains all of the products from
   the sample orders. I have cancelled it and now have to adjust the stock levels
   again.
    -  This reply was modified 1 year, 9 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoices and Slips – no such file or directory](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/#post-17138309)
 * Hi Alex, I disabled html output, deleted the earlier snippet, added the new one
   and….the error is back.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoices and Slips – no such file or directory](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/#post-17138236)
 * Hey Alex, that worked! No error message. The image URL is:
 * [https://acme.com/wp-content/uploads/2019/10/Website-header-logo-128px-e1570250493950.png](https://acme.com/wp-content/uploads/2019/10/Website-header-logo-128px-e1570250493950.png)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoices and Slips – no such file or directory](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/#post-17138210)
 * Hi Alex, if I go to the WP media library and enter into the search bar: Website-
   header-logo-128px-e1570250493950.png the image is found.
 * If I ftp to the website and go to the directory list, the file is at:
 * /acme.com/wp-content/uploads/2019/10/Website-header-logo-128px-e1570250493950.
   png
 * As previously stated my site is not acme.com, I am using that as a generic name.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoices and Slips – no such file or directory](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/invoices-and-slips-no-such-file-or-directory/#post-17137649)
 * Darren, thanks for your prompt reply. I haven’t made any changes apart from the
   regular updates. I am on v3.70 of the plugin. Could that be the cause? BTW, I
   tried the snippet but it made no difference.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kikote - Location Picker at Checkout & Google Address AutoFill Plugin for WooCommerce] Address autocomplete not working](https://wordpress.org/support/topic/address-autocomplete-not-working/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/address-autocomplete-not-working/#post-17107838)
 * Found the problem. I needed to add a value to Allowed Places Autocomplete Fields
   which in my case was Billing Address 1.
    -  This reply was modified 2 years, 7 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Add static field for Bank details](https://wordpress.org/support/topic/add-static-field-for-bank-details/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/add-static-field-for-bank-details/#post-16891334)
 * [@dpeyou](https://wordpress.org/support/users/dpeyou/)
 * Bingo! Thanks so much for your patience and expertise. Everything works. I just
   got a short guide book to PHP so my next task is to try and improve my knowledge.
    -  This reply was modified 2 years, 10 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Add static field for Bank details](https://wordpress.org/support/topic/add-static-field-for-bank-details/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/add-static-field-for-bank-details/#post-16891167)
 * [@dpeyou](https://wordpress.org/support/users/dpeyou/)
 * Hi Darren, thanks for your prompt reply. What I am after is:
    - For the bank details to appear on the invoice if the order is to be paid for
      by bank deposit;
    - For the bank details not to appear on the Packing Slip at all.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Add static field for Bank details](https://wordpress.org/support/topic/add-static-field-for-bank-details/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/add-static-field-for-bank-details/#post-16890962)
 * Thanks Darren but your code is not working for the packing slip, it still shows
   the bank details and now omits the packing slip comments.
 *  I think I need the code for the invoice to include $document_type == ‘invoice’.
 * I have tried to add it myself but I keep getting an error that:
 *     ```wp-block-code
       Unclosed '(' on line 1 does not match '}'.
       ```
   
 * For example one of the many, many different ways I have tried is:
 *     ```wp-block-code
       add_action( 'wpo_wcpdf_after_order_details', function( $document_type, $order ) 
       	if ( $document_type == 'invoice' && ( $order->get_payment_method() == 'bacs' && class_exists( 'WC_Gateway_Bacs' ) ) ;
       		$gateway = new WC_Gateway_Bacs();
       		if ( $gateway ) {
       			echo $gateway->thankyou_page( $order->get_id() );
       		}
       	}
       }, 10, 2 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Add static field for Bank details](https://wordpress.org/support/topic/add-static-field-for-bank-details/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/add-static-field-for-bank-details/#post-16888057)
 * Thanks Darren, that works well but it would be ideal with a couple of tweaks.
 * Can I add a line or paragraph break before Bank Details? There is text above 
   that which I want to keep separate.
 * The Bank Details now also appear on the Packing Slip as well if payment is by
   Bank deposit. Can I stop that? The current Code Snippet for the Packing Slip 
   is:
 *     ```wp-block-code
       /**
        * WooCommerce PDF Invoices & Packing Slips:
        * Display the PS Comments after the customer notes on the packing slip
        */
       add_action( 'wpo_wcpdf_after_customer_notes', function( $document_type, $order ){
       	if( $document_type == 'packing-slip' && ( $ps_comments = $order->get_meta( 'ps_comments' ) ) ) {
       		echo "<div><h3>PS Comments:</h3><p>{$ps_comments}</p></div>";
       	}	
       }, 10, 2);
       ```
   
 * Thanks.
    -  This reply was modified 2 years, 10 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
    -  This reply was modified 2 years, 10 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
    -  This reply was modified 2 years, 10 months ago by [ozviewer](https://wordpress.org/support/users/ozviewer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Add static field for Bank details](https://wordpress.org/support/topic/add-static-field-for-bank-details/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/add-static-field-for-bank-details/#post-16884973)
 * Hi, thanks for the reply. The details are in the WooCommerce payments settings‘
   Direct Bank Transfer’ which appears on the checkout page if the customer has 
   selected that method of payment and confirms the order. However, the PDF invoice
   that follows does not have the bank details so to ensure the customer has the
   details handy I wanted to include a static text field with the bank number and
   a/c number.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] How to get rid of the feedback nag screen](https://wordpress.org/support/topic/how-to-get-rid-of-the-feedback-nag-screen/)
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/how-to-get-rid-of-the-feedback-nag-screen/#post-16484636)
 * I tried that many, many times. Clicking on the red cross has no effect. I cannot
   get rid of the nag screen.

Viewing 15 replies - 1 through 15 (of 45 total)

1 [2](https://wordpress.org/support/users/ozviewer/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ozviewer/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/ozviewer/replies/page/2/?output_format=md)