PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
templates
/
review
<?php /** * Vendor Review Comments Template * * Closing li is left out on purpose!. * * This template can be overridden by copying it to yourtheme/dc-product-vendor/review/review.php. * * HOWEVER, on occasion WC Marketplace will need to update template files and you (the theme developer). * will need to copy the new files to your theme to maintain compatibility. We try to do this. * as little as possible, but it does happen. When this occurs the version of the template file will. * be bumped and the readme will list any important changes. * * * @author WC Marketplace * @package dc-woocommerce-multi-vendor/Templates * @version 3.3.5 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $WCMp; $rating = round( $rating_val_array['avg_rating'],2 ); $count = intval( $rating_val_array['total_rating'] ); $shop_link = $rating_val_array['shop_link']; ?> <div style="width:100%; height:50px; margin-bottom:5px;"> <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating" class="star-rating" style="float:left;" title="<?php echo sprintf( __( 'Rated %s out of 5', 'dc-woocommerce-multi-vendor' ), $rating ) ?>"> <span style="width:<?php echo ( $rating_val_array['avg_rating'] / 5 ) * 100; ?>%"><strong itemprop="ratingValue"><?php echo $rating; ?></strong> <?php _e( 'out of 5', 'dc-woocommerce-multi-vendor' ); ?></span> </div> <div style="clear:both; height:5px; width:100%;"></div> <a href="<?php echo $shop_link; ?>#reviews" target="_blank"> <?php if($count > 0 ) {?> <?php echo sprintf( __(' %s Stars out of 5 based on %s Reviews','dc-woocommerce-multi-vendor'), $rating, $count); ?> <?php } else { ?> <span style="float:right"><?php echo __(' No Reviews Yet','dc-woocommerce-multi-vendor'); ?></span> <?php }?> </a> </div>
[+]
..
[-] rating.php
[edit]
[-] review.php
[edit]
[-] rating_vendor_lists.php
[edit]
[-] wcmp-vendor-review.php
[edit]
[-] review-link.php
[edit]
[-] rating-vendor-tab.php
[edit]