• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Star Rating in Admin Dashboard

Modules
3
4
1.0k
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 18 Nov 2020, 12:26

    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 19 Nov 2020, 14:24

      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 19 Nov 2020, 16:50

        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 20 Nov 2020, 14:32 20 Nov 2020, 14:32

          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
          4 out of 4
          • First post
            4/4
            Last post