I’m using the WooCommerce plugin “Points & Rewards” which displays two notices in my checkout. I found the code of the notice generation in the plugin: public function __construct() { …. …
Tag: wordpress
WordPress Your session has expired
In WordPress wp-admin popup appears with message on: “your session has expired. Please log in to continue where you left off.” Its happens when /wp-admin/admin-ajax.php trigger and response contains: {“wp-auth-check”:false,”server_time”:1519366070} After 15 to 30 seconds an…
Auto change order status from hold-on to processing in Woocommerce
I would like to change every order from woocommerce with the status ‘HOLD-ON’ to ‘PROCESSING’ with php. I already tried to write a function in the functions.php file but I failed. How can I auto …
Add a sortable custom column in Woocommerce Admin Orders list
I’ve added a custom column to the “Orders” section of WooCommerce for the shipping zip code. The column and its values appear correctly. What I cannot figure out is how to make the sorting of this …
Remove “estimated for {country}” text after tax amount in Woocommerce checkout page
I set up a 19% standard tax amount in my Woocommerce Online-Shop. Unfortunatley – now there is a text “estimated for Germany” behind the (includes 20,12 €… part below the total-amount in my checkout page (see image below). I guess it displays the text because the calculated tax amount …
WP-lightbox Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
My plugin wp-lightbox evolution is showing me an error Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead And when I replace that with preg_replace_callback I’m getting an error: Warning: preg_replace_callback(): Requires argument 2, ‘stripslashes(strstr(&…
Add custom checkout fields below the terms and conditions in Woocommerce
I have built an e-commerce site using Woocommerce. I would like to add two more check boxes below the terms and conditions. I have searched everywhere for a working solution and the only thing that I found is a commercial plugin. How to add custom checkout fields (2 checkboxes) below the terms and conditions …
Set back to product category in Woocommerce Product Page
I want to set a back button on my product page (to the product category). I cant manage to get the category and echo on the page. I have tried to use this code and it doesn’t work… The first problem I have whit this code is what I have no option to set the parent category for the product.
Set specific Products to be shipped only in specific countries in WooCommerce
How can I set certain products to be shippable to only certain countries in Woocommerce? For example, during checkout, if Country is not USA, I want to show the message “We cannot deliver to your country.” Answer This can be done mainly with a custom function hooked in woocommerce_package_rates fi…
Customizr Pro editing menu issue with some Woocommerce custom code
I attempted to ask Customizr support what my code was running into, but they basically said they do not support 3rd party plugins such as Woocommerce I needed to restrict the payment types based on what folk were buying on the site. For example, the Check payment type is only available for people buying lesso…