Comments (3)
I believe you can delete bearded's version of the file and woocommerce will use it's own version. Make a backup first of course!
from bearded.
How to update outdated templates
We need to determine what templates to update, make a backup of old templates and then restore any customizations.
Go to WooCommerce > 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. For example, the template cart-shipping.php is outdated:
outdated-template
To fix it, copy the default template from wp-content/plugins/woocommerce/templates/[path-to-the-template] and paste it in your theme folder.
Save a backup of the outdated template.
Open the template you pasted into the theme folder with a text editor of choice, such as Notepad++, and replicate changes that you had to the previous template.
We recognize that it can be time consuming. This is why we try to avoid changing WooCommerce templates, but sometimes it is wise to break backwards compatibility.
Source:
https://docs.woothemes.com/document/fix-outdated-templates-woocommerce/
from bearded.
I had the same problem and to save you from destroying your view and redoing any customizations you did, you can use this:
Replace Line #115 and #117 with these:
$comment_form['comment_field'] .= '<p class="comment-form-comment"><label for="comment">' . esc_html__( 'Your review', 'woocommerce' ) . ' <span class="required">*</span></label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" required></textarea></p>';
comment_form( apply_filters( 'woocommerce_product_review_comment_form_args', $comment_form ) );
from bearded.
Related Issues (20)
- Broken in 3.8 with Debug set to True (PHP 5.4.x-5.5.x) HOT 2
- Sidebar missing since the last update HOT 1
- How can I change blog avatar? HOT 4
- Menu
- Font Awesome HOT 1
- Icon class icons not working... HOT 1
- Navigation Menu showing all pages
- Doesn't work in Chrome on a Mac
- Issue about translation
- "Add to cart" button missing HOT 3
- Added a line on Shipping and Handling HOT 1
- Issue with Coupons and Cart
- Throwing Search, Pages, Archives and Categories HOT 2
- Weird button positions when adding variations to product. HOT 1
- Activate Animate Slider on smartphones
- Various issues with Woocommerce upgrade
- Feature : Image Dimension HOT 1
- How Change Logo ???
- Add your review is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bearded.