Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Star Rating in Admin Dashboard

    Modules
    3
    4
    612
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Aymun Dar last edited by

      Hey, I want to use Star rating in my admin dashboard review tab, I mean to update reviews from the admin dashboard,

      This is the code from product review, website
      <div :class="${errors.has('rating') ? 'has-error' : ''}">
      <label for="title" class="required">
      {{ __('admin::app.customers.reviews.rating') }}
      <star-ratings ratings="5" size="24" editable="true"></star-ratings>
      </label>
      <span :class="control-error ${errors.has('rating') ? '' : 'hide'}" v-if="errors.has('rating')">
      @{{ errors.first('rating') }}
      </span>
      </div>
      but this code is not displaying stars in admin dashboard,
      as the <star-rating> component is not working.

      Could you please guide me on how to display stars in the admin dashboard?
      Regards

      1 Reply Last reply Reply Quote 0
      • D
        deepak227 last edited by

        Hi @Aymun-Dar if you want to update the reviews from the admin panel please check admin/reviews but this is not editable only you can approve or disapporved.

        For this you have to make changes in this.

        Thank you

        1 Reply Last reply Reply Quote 0
        • A
          Aymun Dar last edited by

          Actually, the function that I want to implement is a bit different, That's why I want star rating at admin side.

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by devansh-webkul

            Hi @Aymun-Dar,

            The code which you are checking is the code from the velocity package and that component lives inside the Velocity package scope. That's why your start component is not working.

            You need to check this file packages/Webkul/Admin/src/Resources/views/customers/reviews/edit.blade.php. You need to make your changes here.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post