Erik Molenaar's Projects
Admin Columns - Template for GPF
Shows fields from Advanced Custom Pro at WooCommerce Product Variations. Code snippet from https://support.advancedcustomfields.com/forums/topic/custom-fields-on-woocommerce-product-variations/.
WordPress plugin: Autofill comment form fields by URL parameters.
:house_with_garden: Open source home automation that puts local control and privacy first.
This plugin checks all <a href> hyperlinks within the content of posts. It ignores external links and only proceeds with internal links to other posts. It checks if the linked posts are in the same taxonomy (Category or Tag) as detected in the current URL path. If yes, it will modifiy the wrong link to match the same URL path. This is to make sure the user stays in the same taxonomy (category or tag) URL path for navigation purposes.
This plugin creates breadcrumbs where its items are based on the current URL structure (and NOT based on permalinks, e.g. like Yoast SEO does). It does two things: 1) Adds schema.org breadcrumbs to the <head> for search engines, and 2) Creates the function emnl_breadcrumbs() which you can use in your theme templates to output visual breadcrumbs to the user.
This plugin redirects users to the Woocommerce register/login page if they try to access the checkout while not logged in. After logging in succesfully, it redirects to the checkout. Please note: only works if Guest Checkout is disabled in the Woocommerce Settings!
This plugin makes a public Woocommerce store suitable for placing orders in an instore environment with an dedicated instore payment method. You can set a IP address and user agent to identify the instore environment.
This plugin adds an the order total gross profit value to the DataLayer as a discrete event name. Cost price will be retrieved from a custom field of each product.
This plugin never logs out Woocommerce customers, which is WAY more customer-friendly. It hides the 'remember me' option and removes its functionality. The plugin does its magic by regularly replacing the native WP session cookies to a date far in the future. A custom cookie 'wordpress_logged_in_forever' is placed, which expires every 24 hours. The plugin renews the native WP session cookie as soon as this custom cookie has expired. This method works as a great fix to improve performance and prevent re-setting the native WP sessions cookies at EVERY page load, leading to strange results like: users who can't log out anymore (because the native WP cookie is set again during logout).
This plugin will remove payment methods by country code(s). You can choose wheteter do remove it for the specified country code(s) or show it only to other countries. Please note: rules are hardcoded in this plugin.
Registers a sorting option in WooCommerce to sort products by the number of times sold, based on the ACF 'emnl_aantal_verkocht' field.
A simple WordPress plugin that attempts to detect server configurations that may limit the number of menu items a user can save.
Plugin voor het aanmaken/voormelden van verzendingen bij Packs.
WordPress Plugin that adds a shortcode to only show phone number by clicking on the text link
PHP script which can be added to crontab and imports CSV to ACF fields. Provides functions which can be used in conjunction with script to show recent stock information on WooCommerce front-end single product pages.
Hides the Woocommerce review form until user selects a rating
Adds an option to checkout to ask if order delivery (or pickup) should be later on demand and after which expected date.
This plugin places the value of WooCommerce Products into a DataLayer variable named "ProductLeadValue" for Google Tag Manager to process.
Make the WooCommerce SKU field required
WordPress WooCommerce: Sort products by number of views
Custom functions for the WP Discourse plugins to reformat the way replies are shown.
This plugin adds JS to hide the comment form until user selects a rating