[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fNzhpzPkRoVnhYTSbFg_TY9QwKZLQbxijSEM2d6NOn9o":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"mcgregormedia","https:\u002F\u002Fprofiles.wordpress.org\u002Fmcgregormedia\u002F",2,5000,100,30,94,"2026-04-05T15:20:48.862Z",[13,33],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":19,"downloaded":20,"rating":21,"num_ratings":22,"last_updated":23,"tested_up_to":24,"requires_at_least":25,"requires_php":26,"tags":27,"homepage":28,"download_link":29,"security_score":8,"vuln_count":30,"unpatched_count":30,"last_vuln_date":31,"fetched_at":32},"mmwd-remove-add-to-cart-for-woocommerce","MMWD Remove Add To Cart for WooCommerce","1.4.24","\u003Cp>This plugin removes all Add to Cart buttons throughout a WooCommerce website by using the woocommerce_is_purchasable filter rather than the Add to Cart actions, thus not affecting anything else hooked into these actions. This plugin also offers the option to remove prices in product archive and single product pages. \u003Cem>Please note removing prices may not work with themes that do not use the standard WooCommerce hooks.\u003C\u002Fem>\u003C\u002Fp>\n\u003Ch4>How to use this plugin\u003C\u002Fh4>\n\u003Cp>Navigate to Admin > WooCommerce > Settings > Products and click the Remove Add to Cart settings tab. Use the checkboxes to enable the Remove Add to Cart and\u002For Remove Prices options. Removing prices may not work with themes that do not use the standard WooCommerce hooks.\u003C\u002Fp>\n\u003Ch4>WooCommerce compatibility\u003C\u002Fh4>\n\u003Cp>This plugin is compatible with WooCommerce 3.x, 4.x, 5.x, 6.x, 7.x, 8.x, 9.x and 10.x versions.\u003C\u002Fp>\n\u003Ch4>GDPR information\u003C\u002Fh4>\n\u003Cp>This plugin does not gather or store any personal data.\u003C\u002Fp>\n","Removes all Add to Cart buttons throughout a WooCommerce website without affecting anything else hooked into the Add to Cart actions.",4000,87247,98,13,"2025-11-08T16:25:00.000Z","6.8.5","4.7","7.4",[],"https:\u002F\u002Fmcgregormedia.co.uk","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fmmwd-remove-add-to-cart-for-woocommerce.1.4.24.zip",0,null,"2026-03-15T15:16:48.613Z",{"slug":34,"name":35,"version":36,"author":4,"author_profile":5,"description":37,"short_description":38,"active_installs":39,"downloaded":40,"rating":41,"num_ratings":42,"last_updated":43,"tested_up_to":24,"requires_at_least":44,"requires_php":26,"tags":45,"homepage":28,"download_link":49,"security_score":8,"vuln_count":30,"unpatched_count":30,"last_vuln_date":31,"fetched_at":32},"purchase-orders-for-woocommerce","Purchase Orders for WooCommerce","1.12.2","\u003Cp>Adds a Purchase Order payment method to WooCommerce.\u003C\u002Fp>\n\u003Cp>Select if the order is to be Pending, On Hold or Processing after checkout. The gateway will ask for the purchase order number – select whether to also display text boxes for name and address of the company to be invoiced, and whether any of those are required fields. Don’t forget to mark a field as not required if it’s not to be displayed or your customer will not be able to check out!\u003C\u002Fp>\n\u003Cp>The purchase order details will be displayed in the admin order screen, the customer order received screen and both admin and customer order emails.\u003C\u002Fp>\n\u003Ch4>WooCommerce compatibility\u003C\u002Fh4>\n\u003Cp>This plugin is compatible with WooCommerce 3.x, 4.x, 5.x, 6.x, 7.x, 8.x, 9.x and 10.x versions.\u003C\u002Fp>\n\u003Ch4>HPOS compatibility\u003C\u002Fh4>\n\u003Cp>This plugin is compatible with WooCommerce High Performance Order Storage (HPOS) and WordPress posts storage (legacy).\u003C\u002Fp>\n\u003Ch4>Checkout Blocks Compatibility\u003C\u002Fh4>\n\u003Cp>This plugin is not yet compatible with checkout blocks.\u003C\u002Fp>\n\u003Ch4>Compatibility with other plugins\u003C\u002Fh4>\n\u003Cp>Some invoicing plugins require the meta keys of purchase order data to display this data on invoices. The meta keys used in this plugin are listed below:\u003C\u002Fp>\n\u003Cp>_purchase_order_number\u003Cbr \u002F>\n_purchase_order_company_name\u003Cbr \u002F>\n_purchase_order_address1\u003Cbr \u002F>\n_purchase_order_address2\u003Cbr \u002F>\n_purchase_order_address3\u003Cbr \u002F>\n_purchase_order_town\u003Cbr \u002F>\n_purchase_order_county\u003Cbr \u002F>\n_purchase_order_postcode\u003Cbr \u002F>\n_purchase_order_email\u003C\u002Fp>\n\u003Ch4>Order status\u003C\u002Fh4>\n\u003Cp>Select the order status to apply to the order to when a customer checks out using a Purchase Order. All order statuses are available for selection including any custom statuses that may have been added. Be aware that if you set the status to Pending, neither you nor the customer will receive an order email after checkout – this is standard WooCommerce functionality. By default, order emails will be sent when a status is changed from Pending to On Hold or Processing.\u003C\u002Fp>\n\u003Ch4>Custom fields\u003C\u002Fh4>\n\u003Cp>You can add your own fields to the frontend checkout form by adding custom HTML to the action hook in the PO checkout form:\u003C\u002Fp>\n\u003Cp>pofwc_form_after_po_form\u003C\u002Fp>\n\u003Cp>To add a text input field after the PO number field, the code should look something like this:\u003C\u002Fp>\n\u003Cp>function custom_checkout_field_after_po_form() {\u003C\u002Fp>\n\u003Cpre>\u003Ccode>echo '\u003Cp class=\"form-row form-row-wide\">';\n    echo '\u003Clabel for=\"YOUR-FIELD-ID\">YOUR FIELD LABEL TEXT\u003C\u002Flabel>';\n    echo '\u003Cinput type=\"text\" id=\"YOUR-FIELD-ID\" name=\"YOUR_FIELD_NAME\" class=\"input-text\" placeholder=\"YOUR FIELD PLACEHOLDER\">';\necho '\u003C\u002Fp>';\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>}\u003Cbr \u002F>\nadd_action( ‘pofwc_form_after_po_form’, ‘custom_checkout_field_after_po_form’ );\u003C\u002Fp>\n\u003Cp>You can of course change the form HTML to output a different field type such as a \u003Ccode>select\u003C\u002Fcode> dropdown or \u003Ccode>textarea\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>To save your custom field, hook into the woocommerce_checkout_update_order_meta action as in the example below:\u003C\u002Fp>\n\u003Cp>function custom_checkout_field_update_order_meta( $order_id ) {\u003C\u002Fp>\n\u003Cpre>\u003Ccode>$order = wc_get_order( $order_id );\n\nif ( ! empty( $_POST['YOUR_FIELD_NAME'] ) ) {\n    $order->update_meta_data( 'YOUR_FIELD_NAME', sanitize_text_field( $_POST['YOUR_FIELD_NAME'] ) );\n}\n\n$order->save();\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>}\u003Cbr \u002F>\nadd_action( ‘woocommerce_checkout_update_order_meta’, ‘custom_checkout_field_update_order_meta’, 10, 1 );\u003C\u002Fp>\n\u003Cp>There are four places the PO data can be displayed: the order thank you page, the order emails, the customer order history, and the admin Edit Order screen. To display your custom field data, use one of the following action hooks to add your data in the required place:\u003C\u002Fp>\n\u003Cp>pofwc_thankyou_display_after_po_form\u003Cbr \u002F>\npofwc_email_display_after_po_form\u003Cbr \u002F>\npofwc_account_display_after_po_form\u003Cbr \u002F>\npofwc_admin_display_after_po_form\u003C\u002Fp>\n\u003Cp>To output your example text input from above in the checkout thank you page, the Edit Order screen and customer order history, the code should look something like this:\u003C\u002Fp>\n\u003Cp>function display_custom_order_data_after_po_form( $order ) {\u003C\u002Fp>\n\u003Cpre>\u003Ccode>echo ( $order->get_meta( 'YOUR_FIELD_NAME', true ) ) ? esc_html( $order->get_meta( 'YOUR_FIELD_NAME', true ) ) . '\u003Cbr>' : '';\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>}\u003Cbr \u002F>\nadd_action( ‘pofwc_thankyou_display_after_po_form’, ‘display_custom_order_data_after_po_form’, 10, 1 );\u003Cbr \u002F>\nadd_action( ‘pofwc_account_display_after_po_form’, ‘display_custom_order_data_after_po_form’, 10, 1 );\u003Cbr \u002F>\nadd_action( ‘pofwc_admin_display_after_po_form’, ‘display_custom_order_data_after_po_form’, 10, 1 );\u003C\u002Fp>\n\u003Cp>Displaying the data in the emails is slightly different as data escaping is done later in the output process:\u003C\u002Fp>\n\u003Cp>function display_email_custom_order_data_after_po_form( $order ) {\u003C\u002Fp>\n\u003Cpre>\u003Ccode>echo $order->get_meta( 'YOUR_FIELD_NAME', true ) ? $order->get_meta( 'YOUR_FIELD_NAME', true ) : '';\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>}\u003Cbr \u002F>\nadd_action( ‘pofwc_email_display_after_po_form’, ‘display_email_custom_order_data_after_po_form’, 10, 1 );\u003C\u002Fp>\n\u003Cp>This code all goes in your functions.php file in your child theme – don’t place this code in a parent theme (unless it’s one you maintain yourself) as it will be overwritten when the theme is updated.\u003C\u002Fp>\n\u003Ch4>GDPR information\u003C\u002Fh4>\n\u003Cp>This plugin will gather and store a company’s name, address and\u002For email address. This could also be construed as an individual’s personal data. However, as the user has opted to pay by this method, it is suggested that the lawful basis for processing this data is contractual necessity. Processing is necessary in order to send the invoice to the user or user’s representative. This data is stored as standard postmeta data and will be retained until the order is permanently deleted (not trashed).\u003C\u002Fp>\n\u003Ch4>Roadmap\u003C\u002Fh4>\n\u003Cp>The ability to add and edit purchase order data in the Add\u002FEdit Order screen was introduced in version 1.12.0 but due to it causing fatal errors on some users’ sites, it was removed in version 1.12.2. It is still in the roadmap to add, as is compatibility with the Gutemnberg checkout block. No timeline exists for this as yet however.\u003C\u002Fp>\n","Adds a Purchase Order payment method to WooCommerce.",1000,29673,84,5,"2025-11-11T23:15:00.000Z","4.8",[46,47,48],"payment-gateway","purchase-order","woocommerce","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fpurchase-orders-for-woocommerce.1.12.2.zip"]