The active tab is set in woocommerce/assets/js/frontend/single-product.js. Starting at line 11 this file looks for the words “comments” “reviews” or “tab-reviews” in the page url, and if found, it uses jQuery to click on the review tab. Since there is no review tab anymore, nothing gets clicked.
To solve this issue I overrode WooCommerce’s single-product.js file by enqueue-ing a new js file under/after WC’s single-product-min.js in the footer. I just copied the whole file into my theme and replaced “li.reviews_tab a” with “li.description_tab a” on lines 19 and 21. Not the most eloquent solution, but it worked for me.
Related Posts:
- WooCommerce: How to edit the get_price_html
- Get woocommerce product price by id [closed]
- Woocommerce: How to remove page-title at the home/shop page but not category pages
- Hidden woocommerce products still showing up in search results [closed]
- Preventing WooCommerce email sending only on particular conditions
- Woocommerce view order link in customer emails
- Filter on a custom product attribute in WooCommerce using meta_query or tax_query [closed]
- Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]
- Is is safe to edit language files from wp-content/languages/plugins/woocommerce-ro_RO?
- Does the woocommerce_order_status_changed hook fire when WooCommerce updates an order status automatically? [closed]
- Display WooCommerce only in stock sizes product attribute on shop page
- Remove “Choose An Option” on Product Variation & Auto Select Instead
- check if current url/page equals checkout page [closed]
- Mini cart in header using divi is not getting updated on changing the cart items count:
- Woocommerce Product Price Inserted programmatically doesn’t get displayed In Single Product Page
- How to Order by random on a SQL query
- Move add to cart in Woocommerce
- Separate Categories from WC Product loop when display type is set to both on the category
- Remove Order List Row Link in WooCommerce Admin?
- How do I hide out of stock products from homepage but not from catalog?
- Woocommerce order processing email subject not changing
- Different translations for the same plugin inside a multisite
- Woocommerce multiple taxes with same rates adds as different values.
- function to add note on single Woo Commerce product page for downloadable variations
- Apply Additional Discount after coupon
- Is it possible to add a sidebar to Storefront’s Welcome page
- Woocommerce Porto Theme Hide Selected Categroy for Breadcrumbs
- Set specific number of columns for top level term on product category archives
- invalid menu item when upgrading to WordPress 5.5
- Register a new user on wooCommerce using Rest API
- Woocommerce custom search
- How to be able to edit custom address fields in WooCommerce admin?
- Make a Read More toggle in the_content on single-product in Woocoomerce
- WooCommerce Base Page Featured Image Custom Theme
- Adding extra email address who receives email like admin – woocommerce
- Is it possible to merge Woocommerce attributes? [closed]
- How can i create a custom product search?
- *Woocommerce* Past Orders Disappeared after changing Stripe Account [closed]
- Need help in handling woocommerce api timeout issue [closed]
- create custom layout product list woocommerce [closed]
- How to display the percentage of the applied tax in woocommerce [closed]
- Remove link from product attributes in tab “additional information” [closed]
- Merging updated dev site with live site while keeping orders correct
- Dynamic Product Variation in WooCommerce
- Get decimal from product price with Mysql
- Woocommerce – Shop page repeat the products with filters
- Allow only 1 quantity of particular product in cart WooCommerce
- Hide price and add to cart button on product page only
- How to make a custom button that redirects to a “user specified link while entering product details” woocommerce
- Can’t Change WooCommerce Default Language to Spanish (Mexico)
- Adding of custom cart item data via Ajax Add to Cart
- Woocommerce – Display stock quantity per variation
- Order woocommerce products alphabetically by second word in title?
- Apply a custom WooCommerce order status based on user role
- Woocommerce product name [closed]
- How to Remove Active css from woocommerce variation?
- How do I make the product image smaller on a WooCommerce product page?
- How do i make this snippet work for order history page woocomerce
- Set QTY to 0 With WP All Import from CSV
- “Products” Title changed
- Password protected selling / selling one product at the time
- SOLVED – add_action() for $product->get_date_created
- Search doesn’t return anything
- How to override WooCommerce template files
- Mirror Website Content Across Multiple Subdomains
- Archive Meta on Product Post Type
- I’m getting error Ultimate WooCommerce Filters
- No Results in WooCommerce Product Search
- How to display 2 products per row for Mobile using WooCommerce?
- Loading different header and footer in woocommerce templates (AMP)
- Can’t add Select2 to select in variable product (admin)
- set up existent product blocked in woocommerce
- How to get WordPress to respond to a GET request at the end of a Woo product page
- WooCommerce – If shipping class hide field
- Why isn’t working WooCommerce session inside shortcode?
- Url parameter going to 404 not found
- Working with a json feed & trying to figure out how best to import
- Customize categroy catalog page
- Create post when new woocommerce order is created [closed]
- Clickable product image with hover effect
- Updating WooCommerce product field when product author updates profile field
- WooCommerce custom checkbox $_POST issue on checkout
- WooCommerce Order page
- How to hook in to WooCommerce Related Products
- woocommerce – undelete posts
- Custom excerpt length WooCommerce product
- Woocommerce hidding pages
- how to get woocommerce product id by acf field in wordpress and display product
- WordPress Woocommerce – Checkout – Error 405: Unable to create order. Please try again [closed]
- WooCommerce and Theme templates
- WooCommerce Hook after Billing form completed, but before payment Gateway
- How to show woocommerce login / registration form in modal
- Notice: Trying to get property of non-object in bodycenter [closed]
- WooCommerce remove billing detail completly
- unable to get product by category only getting product added lastly
- Adding a column to woocomerce admin order page that can be sorted
- Auto generating API keys using the Application Authentication Endpoint [closed]
- Critical error on woocommerce checkout page
- Can’t add variable products since update WooCommerce [closed]
- Add custom ID to WooCommerce product tab