WooCommerce WordPress
May 25, 2020

WooCommerce Redirect to Custom Thank you Page

The below code allows you to redirect to a custom page after the user has successfully completed a purchase when using WooCommerce plugin. Simply add the below code to the active child theme function.php and replace the URL in the function wp_redirect() to the desired page.

Related Post


Redirect to Checkout after add to cart WooCommerce

Redirecting the user to the checkout page when they’ve added a product to their cart. This may come in handy if you only sell one product / one product per time. The filter woocommerce_add_to_cart_redirect makes it easy to redirect user to custom page. Code goes in function.php file of your active child theme (or active […]

Set a specific product price conditionally on Woocommerce single product page & cart

Update 3 (Only for a defined product ID) To make it work as you want to change the simple products prices only on single product pages (without altering archives product prices, related product prices, upsells and cross-sells) if any cart item doesn’t belong to a specific product category. Then you will need all this following […]

WordPress Login, Register, Change Password And Forgot Password Without Plugin

Are you need simple Login, Register, Change Password, Forgot Password form without plugin for your WordPress website? Yes, Then i have created shortcodes for all forms with simple code. So you can get any form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put shortcodes where you need form. So […]

Display Popular Tags in WordPress

you’ll need to add following code to your current themes functions.php file.

How To Create Meta Boxes in WordPress

A meta box is a draggable box displayed in the post editing screen in the backend of WordPress. Users can select or enter extra information in meta boxes addition to the content in the main post editing area. There are two types of data you can enter in meta boxes: metadata (i.e. custom fields), and […]

Enable Right Sidebar in WordPress all Post for Astra theme

Easy way to enable right sidebar in all wordpress post for astra theme add following code in your current themes function.php file.


Leave a Reply

Your email address will not be published. Required fields are marked *