Tagged: Update Problem
-
AuthorPosts
-
June 29, 2016 at 9:34 am #654673
Products made before the update are all broken. Customer cannot select color to purchase. Description and Review contents are missing. Footer is missing.
Products that are created AFTER the updates are working just fine….
Help please!!
-
This topic was modified 9 years, 4 months ago by
tomazws.
June 29, 2016 at 8:15 pm #654981To further explain, for the “broken” product page, the page does not fully load, it stops loading after the 3rd “related product”. Stops at <li…… and that’s the end of the page.
I dug around the source code and so far I’ve found out the issue. Not sure how to fix it yet.
In, wp-content/themes/enfold/config-woocommerce/config.php, line 972 to line 994 inside that “avia_woocommerce_output_related_products” function, I commented out the content, removing the related products from the page, and now all my product pages are loading fine.
function avia_woocommerce_output_related_products($items = false, $columns = false) { global $avia_config; $output = ""; /* if(!$items) $items = $avia_config['shop_single_column_items']; if(!$columns) $columns = $avia_config['shop_single_column']; ob_start(); woocommerce_related_products(array('posts_per_page'=>$items, 'columns'=>$columns)); // X products, X columns $content = ob_get_clean(); if($content) { $output .= "<div class='product_column product_column_".$columns."'>"; //$output .= "<h3>".(__('Related Products', 'avia_framework'))."</h3>"; $output .= $content; $output .= "</div>"; } */ $avia_config['woo_related'] = $output; return $output; }June 29, 2016 at 8:35 pm #654986Hey!
That seems to be an issue with Version update of WooCommerce.
Kriesi will have an update coming out really soon, so we do appreciate the time and patience.Cheers!
Basilis -
This topic was modified 9 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
