liborg
Forum Replies Created
-
Po aktualizaci pluginu se dá hmotnost upravit přímo v objednávkách, takže je můj problém vyřešen.
Forum: Themes and Templates
In reply to: [OceanWP] Cart icon not showingIt’s working. Thank you very much.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide weight and SKUFinally it is working. It had collision with another code.
Thank you very much.- This reply was modified 4 years, 9 months ago by liborg.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide weight and SKUI have similar code there, isn’t problem in it?
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 ); function wpo_wcpdf_custom_styles ( $document_type, $document ) { ?> .order-number, .order-date { display: none;} <?php }I tried to insert new code into my old code:
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 ); function wpo_wcpdf_custom_styles ( $document_type, $document ) { ?> .order-number, .order-date { display: none;} .weight, .sku { display: none; } <?php }Order number and order date are gone, but weight and sku still are there.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide weight and SKUThe same problem. I tried both.
Code Snippets state:“This snippet has been disabled due to an error on line 3:
Cannot declare wpo_wcpdf_custom_styles function.”
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide weight and SKUNo, I gave code over FTP. I will try it.
- This reply was modified 4 years, 9 months ago by liborg.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide weight and SKUIf I put entire code into functions.php (at the end of code, according to “How to use filters”), the webpage views “Fatal error: Cannot redeclare….”.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide order numberThank you very much. It works.
Hello,
It is standard payment method.
You can see: https://ibb.co/10W7CD9Thank you.