Royah Marie
Forum Replies Created
-
Awesome, thanks for the help!
Nothing, it was a new error I saw when I logged into it this morning. I went to the site last night to print packing slips for the orders of the day. That’s literally all I did. The error was not there last night.
Yes, that was already tried. I also tried switching to the twenty-one theme and the issue remains.
Forum: Everything else WordPress
In reply to: How to enable GutenbergOk, thank you.
Forum: Everything else WordPress
In reply to: How to enable GutenbergOnly for product pages.
Forum: Everything else WordPress
In reply to: How to enable GutenbergNope. Disabled all plugins. Enabled only WooCommerce (because I need to see if I can edit a product) and still on the classic editor. I am using Boutique, a child theme of Storefront.
I then disabled all plugins again. Enabled only WooCommerce. Applied Twenty-One. Went to edit a product and still, classic editor.
Forum: Everything else WordPress
In reply to: How to enable GutenbergThank you for your response. That did not work. I disabled and deleted the Classic Editor plugin and when I edit a product, it is still in the classic editor.
I am having the exact same issue. Should I start a new thread?
It’s perfect! Thanks!
I understand what you mean now. I went back in this morning and pasted it again. I’m not getting the error again so obviously it was me who did something wrong. I have an additional question:
Do I need to run this everywhere on my site or just the administration area? The administration area, right?
I pasted everything, just like this:
/** * PDF Invoices & Packing Slips for WooCommerce: * Display the product short description after the item meta (if not empty) */ add_action( 'wpo_wcpdf_after_item_meta', function( $document_type, $item, $order ) { if( ( $product = $item['product'] ) && method_exists( $product, 'get_short_description' ) && ( $description = $product->get_short_description() ) ) { echo "<div class=\"product-description\"><small>Description: {$description}</small></div>"; } }, 10, 3 );
@yordansoares I use the code snippet plugin to add snippets. Here is the error I received when I copy/pasted everything above as you have it:
Don't Panic The code snippet you are trying to save produced a fatal error on line 3: syntax error, unexpected '&' The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before. Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.
Yes, that would be great!
Forum: Themes and Templates
In reply to: [Storefront] Change color of number is paginationThat worked perfectly. THANK YOU!