add the image back in

This commit is contained in:
Leif Singer 2023-11-21 10:27:45 +01:00
parent 42f862c630
commit 009779c462
2 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ Alternatively, you can select and use a different theme that already uses curren
You need to determine what templates to update, make a backup of the old templates, and then restore any customizations. You need to determine what templates to update, make a backup of the old templates, and then restore any customizations.
1. Go to WooCommerce > Status > System Status. Scroll to the end of the page where there is a list of templates overridden by your theme/child theme and a warning message that they need to be updated. In the example below, the templates `form-pay.php` and `form-login.php` are outdated: 1. Go to WooCommerce > Status > System Status. Scroll to the end of the page where there is a list of templates overridden by your theme/child theme and a warning message that they need to be updated. In the example below, the templates `form-pay.php` and `form-login.php` are outdated:
![An example for outdated templates.](_media/fix_outdated_theme_templates.png)
2. Save a backup of the outdated template. 2. Save a backup of the outdated template.
3. Copy the default template from `wp-content/plugins/woocommerce/templates/[path-to-the-template]` and paste it in your theme folder found at `wp-content/themes/[path-to-theme]`. 3. Copy the default template from `wp-content/plugins/woocommerce/templates/[path-to-the-template]` and paste it in your theme folder found at `wp-content/themes/[path-to-theme]`.
4. Open the template you pasted into the theme folder with a text editor, such as Sublime, Visual Code, BBEdit, Notepad++, and replicate any changes that you had to the previous template in your new, updated template file. 4. Open the template you pasted into the theme folder with a text editor, such as Sublime, Visual Code, BBEdit, Notepad++, and replicate any changes that you had to the previous template in your new, updated template file.

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB