Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

Question on the thread “Review to feedback from the vendor”

MultivendorX

Resolved
Viewing 4 reply threads
  • Author
    Posts
    • #220865
      l.gan
      Participant

      Hello.

      Please tell me about the “Reviews” stream:
      1. The customer left a comment about the product. (Product page)
      2. A comment about the product appeared on the product page in the “Reviews” tab. (Product page)
      3. A comment about the product appeared on the vendor’s store page in the “Reviews” tab. (Vendor store page)
      4. The comment appeared on the dashboard page. (Vendor Dashboard)
      5. The vendor clicks “Reply” to the review. Writes a response to the review. Message sent.
      6.The administrator approves the Vendor’s “Response” from his dashboard.
      7. The Vendor’s response is published on the vendor’s store page (Vendor Store Page).

      Question:

      8. -??- Should the product page also receive a response from the vendor from his dashboard? Currently the product page is not receiving a response from the Vendor’s store. It is visible only on the vendor’s store page.

    • #220874

      Hello @l.gan,Thank you for getting back to us. We have reviewed the product review flow for a vendor’s product and confirmed that, as you mentioned, the vendor’s reply is not appearing on the “Review” tab of the single product page.

      However, there’s no need to worry. We have logged this issue on our GitHub and hopefully in our next update we will add the modification accordingly.

      You can track the progress of this implementation here:https://github.com/multivendorx/MultiVendorX/issues/778.

      Let us know if you need any further assistance from our end.

    • #221089

      Hello there, As shared in the other thread you need to use the below code snippet for the vendor images –

      
      $vendor = get_mvx_vendor($taxonomy->term_id);
      $image = $vendor->get_image() ? $vendor->get_image('image', array(125, 125)) : $MVX->plugin_url . 'assets/images/WP-stdavatar.png'
      
      Copy

      You will have to use the above shared code snippet in your custom code to achieve your required flow.

      Let us know if you need any further assistance from our end.

      • #221105
        l.gan
        Participant
        function random_vendors_shortcode() {
             /*if ( is_tax( 'dc_vendor_shop' ) ) {*/
            $current_taxonomy = get_queried_object();
            $taxonomies = get_terms(array(
                'taxonomy' => 'dc_vendor_shop',
                'number' => 10,
                'orderby' => 'rand',
            ));
            $output = '<ul class="container random-vendors">';
            foreach ($taxonomies as $taxonomy) {
                if ($taxonomy->term_id == $current_taxonomy->term_id) {
                    continue; 
                }
                $vendor = get_mvx_vendor($taxonomy->term_id);
                $image = $vendor->get_image() ? $vendor->get_image('image', array(125, 125)) : $MVX->plugin_url . 'assets/images/WP-stdavatar.png';
                $rating_info = mvx_get_vendor_review_info($taxonomy->term_id);
                $rating = round($rating_info['avg_rating'], 2);
                $review_count = isset($rating_info['total_rating']) ? intval($rating_info['total_rating']) : 0;
                $output .= '<li>';
                $output .= '<div class="random-vendor">';
                $output .= '<a href="' . get_term_link($taxonomy) . '">' . $taxonomy->name . '</a>';
                $output .= '<div class="vendor-image">';
                $output .= '<img src="'. $image .'" alt="'. $taxonomy->name .'">';
                $output .= '</div>';
                $output .= '<div class="mvx_vendor_rating">';
                if ($rating > 0) {
                    $output .= '<div class="star-rating"><span style="width:'.(($rating / 5) * 100).'%"><strong itemprop="ratingValue" class="ratingvp">'.$rating.'</strong> из 5&nbsp;&nbsp;</span></div>';
                } else {
                    $output .= '<div itemprop="ratingValue" class="star-rating"></div>';
                }
                $output .= '</div>';
                $output .= '</div>';
                $output .= '</li>';
            }
            $output .= '</ul>';
            return $output;
        }
        /*}*/
        add_shortcode('random_vendors', 'random_vendors_shortcode');
        Copy

        Thanks for the answer, I follow your instructions, but any page that receives the shortcode [random_vendors] – breaks.

        if you comment out the line

        $image = $vendor->get_image() ? $vendor->get_image('image', array(125, 125)) : $MVX->plugin_url . 'assets/images/WP-stdavatar.png'
        Copy

        THEN there is no problem.

        This means there is some problem with the avatar itself.

    • #221123

      Hi @l.gan, We have already provided the code to fetch the vendor images, which you can integrate into your custom code to achieve your desired flow.
      Unfortunately, it is difficult for us to review and troubleshoot your custom code line by line, as this falls outside the scope of our free support.

      For assistance with custom work, please reach out to our service team at custom.dev@multivendorx.com with your requirements. They will assist you further there.

      Please let us know if you need any further assistance from our end.

    • #234910

      Hello, We hope this message finds you well.
      We’re pleased to inform you that the issue regarding vendors replying to reviews on single product pages has been resolved in our latest update. Please update the plugin to the most recent version and verify the functionality.
      Also we’re closing this thread at this time. If you have any further questions or require additional assistance, please open a new support ticket.

Viewing 4 reply threads

The topic ‘Question on the thread “Review to feedback from the vendor”’ is closed to new replies.