Hello, I am usint Taskhive and trying to add 2 PHP function, but both don’t work. I suspect that I am doing something elementary wrong. Any addvice would be really appreciated.
I wrote Appearance>Thema file Editor>function.php of Taskfive and children Thema, but both don’t work.
-I add PHP via Plugin “Code Snippets”, but dose not work.
Regarding your second PHP snippet, unfortunately, we can’t help you as it is out of our scope. We recommend contacting WooCommerce support or checking their documentation.
Or you can use the following free (freemium) plugins:
-. Checkout Field Editor (Checkout Manager) for WooCommerce
-. Fluid Checkout for WooCommerce - Lite
Hi Andrii,
Thank you very much your kind replying! I tried the PHP on the page Modify listing manual approval - #8 , but it doesn’t work with both Code Snippet plugin and functions.php. I switch off all the third party plugin and clear the cash, but it doesn’t help.
Please provide more details regarding this issue (e.g., your actions step by step with screenshots, etc.). This will help us to reproduce and resolve the issue faster.
I attached the screenshot to add PHP on functions.php. I could approve it correctly. However, when I change listing-title as vendor, it requires to manually modify by admin.
Hello.
About “Remove ‘street address’ and ‘postal/zip’ options in the checkout page”, PHP works when I use a shortcode instead of block on the checkout page.
It seems like this problem will be solved next month on the Roadmap “Fix compatibility with the new WooCommerce checkout block”.
Please note that the checkout page is completely created by WooCommerce, so if you need more details, I recommend contacting their support or reviewing their documentation, as we cannot provide more details as it is not within the scope of our support.
As for the moderated snippet, it works correctly. Please provide more details on what kind of function you expect after adding it. Because this snippet simply moves the listing to pending status, but only if you change the title or description (and you must also have the moderation function enabled in the settings).