Customize the woocommerce audit page

The audit page (also known as the purchase confirmation page) is a part that many e-commerce websites often ignore. The main function is to inform customers that the purchase has been successfully completed, so store owners often pay little attention to some success message. However, taking the time to optimize the audit page can provide more value to you and your customers. Why customize the woocommerce audit page? Although the audit page looks like a small part of the site, all locations in the customer’s journey are opportunities to provide shoppers with more value and improve store revenue. Research shows that it is much cheaper to retain existing customers than to find new ones. When someone arrives at the audit page, it means they have purchased it. And they are more likely to create another, which is a good opportunity to guide them in that direction. The cost is just a little effort in advance. This new improvement to the store will work for you every day.
In addition, the audit page is a safe place to display suggestions to customers, rather than sending suggestions to customers through transaction email, which can limit the amount of promotional content. Here are some ways to improve the store using a custom audit page: Contains important information related to the order. Add the estimated delivery time so that the customer knows when to receive the order. Alternatively, include links to product guides, instant videos, FAQs, or other supporting documents. This helps manage expectations, provide the necessary information and reduce support tickets. Share special proposals. Include coupons that customers can use for their next order, and suggest related products or cooperative products. Remind customers of patent points, rewards or subscription status. With woocommerce points and reward, customers can accumulate points in terms of purchase, account registration and comments. The thank you page is a good place to tell you the accumulated points, use the remaining time and accumulate more methods. When selling subscriptions or memberships, the audit page provides a good opportunity to suggest a plan upgrade or remind customers when their duplicate payment method is about to expire. There are several different ways to customize the audit page. Manual methods include custom page template coding and theme functions. Using woocommerce hook through PHP file, the style sheet of sub theme contains custom style addition. If you are not familiar with coding, you can use the plug-in to customize the audit page.
The default woocommerce audit page. The style of the audit page may vary depending on the theme installed. You can also use a custom audit page. However, the following shows the default content contained in the styles applied in the Sinatra theme. As you can see, the content is basic. By default, it includes order number, date, customer email, total, payment method, purchased goods and expense information. To improve the audit page, let’s take a look at adding several default customization methods. If the process of manually customizing the woocommerce audit page using the extension is boring or inconvenient to delve into the code, you can use the extension to perform the heavy task of creating a custom audit page.
The custom audit page extension enables you to create multiple audit pages that can be displayed conditionally according to the purchased products. These custom audit pages can display unique titles and descriptions, billing and delivery information, cross selling, up selling, and any items that can be added. They are actual pages and will not be generated dynamically, so wooc
You can add e-commerce or theme shortcuts, including videos, and add custom text. You simply create an audit page, specify its format, and select the page to display in the product data section of each product.
You can also display multiple audit pages for a single product, or select a single audit page to display according to priority. If a customer purchases multiple products with an order assigned to their unique audit page, the page with the lowest priority number is displayed. Another option for creating a custom audit page is custom audit and success page extension. It has the function similar to the extension of custom audit page, but it also has the function of displaying audit page and displaying built-in social sharing button based on user role or category. Manually generate a custom woocomer audit page. This section introduces three methods to manually customize the woocomer audit page.
Before you begin, make sure you are using a sub theme instead of a parent theme. Do not directly overwrite files in woocommerce or parent themes. These files will be overwritten in future updates. Note: if you are not familiar with the code and resolve potential conflicts, please choose wooexpert or developer for help. Custom support cannot be provided according to the support policy. Step 1 of coding the woocommerce audit page template: Thank you. the PHP page template file, use cPanel on the SFTP Client or host to access the site file, and navigate to WP content \/ plugins \/ woocommerce \/ templates \/ checkout. Thankyou. the PHP file to your local computer.
The second stage: custom code thankyou. PHP file editing thankyou in the selected text editing software. Open PHP. You can use Notepad (Windows) or TextEdit (MAC), but make sure to edit in plain text mode. A better way is atom. Use free text editing software specially designed for encoding such as io. Atom. IO is a cross platform text editor running on windows, Mac OS and Linux operating systems. In this example, \
Source code: This is the default code we edit in the sub topic template. Male replacement code:
This is the code to be used for the new custom audit page. Please note that delivery times are currently estimated at 7-10 business days for US delivery. Orders outside the United States may take two weeks to 30 days to be delivered and may experience delays due to customs or other current policies that are out of our control. If you have any questions about your order, please contact us at [email   Protected] after making these changes, the file has the same name thankyou. Save as PHP. Navigate from the SFTP application or cPanel to WP content \/ themes \/ your child theme. Create two new folders in the subtopics folder. First, create a folder called woocommerce. Folder named checkout in woocomerce folder

Thank you now Upload the PHP file to the woocomerce \/ checkout of the subtopic. folder. Customize CSS. Added a new p class named thankyou note. In the theme of my children. In the CSS file, we will add some customizations to the existing p.woocomer-note class and add styles to the new p.thankyou-note class, as shown below: woocommerce-checkout p.woocommerce-notice { font-size: 20px; font-weight: 800; color: #3857F1; } . woocommerce-checkout p.thankyou-note { margin-bottom: 40px; padding: 0 0 5px 20px; border-left: solid 5px #c4401c; } Save the style sheet and use these customizations to upload it back to the subtopics folder.
The following audit page is displayed: The customization of hucrowcommerce audit page template is also a function of the sub topic. You can add or remove content from the audit page using the woocommerce hook in your PHP file. If you are not familiar with woocommerce hookup, check the woocommerce documentation. Please check the woocommerce action and filter hook reference pages for a complete list. In this example, use hook up to add a special coupon for the more than $100 order shown below the billing address section. Functions of sub topics. Add the following code to the PHP file: add_action( ‘woocommerce_thankyou’, ‘coupon_thankyou’, 10, 2 ); function coupon_thankyou( $order_id ) { $order = wc_get_order( $order_id ); $total=0; foreach ( $order->get_items() as $item_key => $item ) { $item_data = $item->get_data(); $item_total = intval( $item_data[‘total’] ); $total += $item_total; } if ( $total>100 ) { echo \
0) 0%, rgba(253,214,45,0.30) 100%); } . woocommerce . woocommerce-thankyou-coupon { margin-bottom: 2em; } code. tycoupon { font-size: 18px; font-weight: 800; } Re upload the sub theme style sheet containing these customizations to the sub theme folder. The result should now be: On the woocomerce audit page, no matter what method you decide to use, you must develop a strategy to free up time and provide the best return for your efforts. Depending on the type of business you operate, you can focus on rewards, patent points, coupons or detailed online information. The custom audit page is only part of the larger puzzle of business growth, but it is a unique opportunity to provide useful information and targeted marketing information to help you reduce costs and generate revenue. Learn more about how to customize the woocommerce store.

Author:

Leave a Reply

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