The products in the Shop grid & Category grids are not displaying the Star Rating, Title and Price. The Add To Cart icon, Yith Compare & Wishlist icons and the Quick Search icons are showing when I hover, but the Rating, Title and price don't show at all.
I see in the Shop demo page, between the class "woocommerce columns-3" and class "products owl-carousel grid" there is a div with class "yit-wcan-container". This is missing from the code on my site.
I am running the old version 1.1.8 of the theme, and after installing it, these Woocommerce templates were outdated.
karo-child/woocommerce/content-product.php version 3.4.0 is out of date. The core version is 3.6.0, karo-child/woocommerce/global/quantity-input.php version 3.4.0 is out of date. The core version is 3.6.0, karo-child/woocommerce/loop/orderby.php version 3.3.0 is out of date. The core version is 3.6.0, karo-child/woocommerce/single-product/rating.php version 3.1.0 is out of date. The core version is 3.6.0, karo-child/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0,
I updated the templates to the latest versions, but this only made the problem worst, as instead of having the individual product information contained in divs with a class of "ftc-product product", the product information was contained in an un-ordered list within li tags.
I was able to get it working at one point by going back and re-importing the theme options, which put the old, outdated Woocommerce templates back into the theme, but when I created new products, the Rating, Titles and Price all disappeared.
I'm not sure if the problem is in the Woocommerce files or the Yith files.
I have been able to get the Ratings, Title and Price to show on the products listings on category pages & shop page by going to each relevant individual Woocommerce template file ( single-product/ratings.php, single-product/title.php & single-product/price.php) and taking the code that displays these fields out and pasting directly into the "woocommerce/content-product.php" file.
There are action hooks that are supposed to retrieve and display this information in the "woocommerce/content-product.php" file, but they aren't working.
For the Ratings, I had to change the line of code ( if ( $rating_count > 0 ) : ?>) to ( if ( $rating_count >= 0 ) : ?>) in order to get the star ratings to show for products with no rating, as the original code only displayed the ratings for products that had a greater than 0 rating.
I know this is just a hack, but it is working. I only hope that someone can provide the proper fix for this problem, ie., the properly functioning action hooks.
Outdated files are the woocommerce files that are in the theme we inherited and overwritten to design the theme. If you manually update it will cause an error because it is outside our shortcode # The rating section can be selected to turn on and off without changing, although it has no rating yet # if you have already updated these files please complete # If it is not possible, please provide your wp-admin account, I will adjust it to work correctly.
The products in the Shop grid & Category grids are not displaying the Star Rating, Title and Price. The Add To Cart icon, Yith Compare & Wishlist icons and the Quick Search icons are showing when I hover, but the Rating, Title and price don't show at all.
I see in the Shop demo page, between the class "woocommerce columns-3" and class "products owl-carousel grid" there is a div with class "yit-wcan-container". This is missing from the code on my site.
I am running the old version 1.1.8 of the theme, and after installing it, these Woocommerce templates were outdated.
karo-child/woocommerce/content-product.php version 3.4.0 is out of date. The core version is 3.6.0,
karo-child/woocommerce/global/quantity-input.php version 3.4.0 is out of date. The core version is 3.6.0,
karo-child/woocommerce/loop/orderby.php version 3.3.0 is out of date. The core version is 3.6.0,
karo-child/woocommerce/single-product/rating.php version 3.1.0 is out of date. The core version is 3.6.0,
karo-child/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0,
I updated the templates to the latest versions, but this only made the problem worst, as instead of having the individual product information contained in divs with a class of "ftc-product product", the product information was contained in an un-ordered list within li tags.
I was able to get it working at one point by going back and re-importing the theme options, which put the old, outdated Woocommerce templates back into the theme, but when I created new products, the Rating, Titles and Price all disappeared.
I'm not sure if the problem is in the Woocommerce files or the Yith files.
I have been able to get the Ratings, Title and Price to show on the products listings on category pages & shop page by going to each relevant individual Woocommerce template file ( single-product/ratings.php, single-product/title.php & single-product/price.php) and taking the code that displays these fields out and pasting directly into the "woocommerce/content-product.php" file.
There are action hooks that are supposed to retrieve and display this information in the "woocommerce/content-product.php" file, but they aren't working.
For the Ratings, I had to change the line of code ( if ( $rating_count > 0 ) : ?>) to ( if ( $rating_count >= 0 ) : ?>) in order to get the star ratings to show for products with no rating, as the original code only displayed the ratings for products that had a greater than 0 rating.
I know this is just a hack, but it is working. I only hope that someone can provide the proper fix for this problem, ie., the properly functioning action hooks.
Hi Tony Brown !
Outdated files are the woocommerce files that are in the theme we inherited and overwritten to design the theme.
If you manually update it will cause an error because it is outside our shortcode
# The rating section can be selected to turn on and off without changing, although it has no rating yet
# if you have already updated these files please complete
# If it is not possible, please provide your wp-admin account, I will adjust it to work correctly.
thank you