Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

βœ… πŸ”€ 🐞 Bug report: Star Rating Widget Display Issue (PR #18170) - [ED-7362] #18169

Closed
5 tasks done
perks98 opened this issue Mar 16, 2022 · 1 comment
Closed
5 tasks done
Labels
bug Indicates a bug with one or multiple components. mod* solved Indicates that an Issue has been Solved, or a Feature Request has been Released. solved-by/loop-builder Indicates that an Issue or Feature Request will be solved by using Elementor Pro’s Loop Builder. status/merged Indicates when a Pull Request has been merged to a Release. type/layout Indicates when a topic is related to a component’s Layout. type/styles Indicates when a topic is related to the styles or design of a component. widget/star-rating* References the (legacy) Start Rating widget.
Milestone

Comments

@perks98
Copy link

perks98 commented Mar 16, 2022

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

When you input a rating value that has two decimal places it rounds it up, while if you use one decimal place it works as intended and doesn't round up. I noticed this when I did a customers website and did an average rating of 4.65 and it rounded to 5 in star value.

Steps to reproduce

Add star rating widget to a page. Add a value like '4.65' to the rating field then click the 'Style' tab and you will see it round up.

Video:

2022-03-16.10-01-00.mp4

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a Blank WordPress theme active (Hello theme).
  • I can reproduce this bug consistently using the steps above.

System Info

@perks98 perks98 added the bug Indicates a bug with one or multiple components. label Mar 16, 2022
@rami-elementor rami-elementor added the widget/star-rating* References the (legacy) Start Rating widget. label Jun 1, 2022
@nicholaszein nicholaszein added type/styles Indicates when a topic is related to the styles or design of a component. type/layout Indicates when a topic is related to a component’s Layout. solved_by_rating status/has-pr Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged. mod* labels Sep 17, 2023
@nicholaszein nicholaszein changed the title 🐞 Bug report: Star Rating Widget Display Issue πŸ”€ 🐞 Bug report: Star Rating Widget Display Issue (PR #18170) Sep 17, 2023
@nicholaszein nicholaszein changed the title πŸ”€ 🐞 Bug report: Star Rating Widget Display Issue (PR #18170) πŸ”€ 🐞 Bug report: Star Rating Widget Display Issue (PR #18170) - [ED-7362] Sep 17, 2023
@nicholaszein nicholaszein added this to the 3.17.0 milestone Sep 24, 2023
@nicholaszein nicholaszein changed the title πŸ”€ 🐞 Bug report: Star Rating Widget Display Issue (PR #18170) - [ED-7362] βœ… πŸ”€ 🐞 Bug report: Star Rating Widget Display Issue (PR #18170) - [ED-7362] Oct 26, 2023
@nicholaszein nicholaszein added status/merged Indicates when a Pull Request has been merged to a Release. solved Indicates that an Issue has been Solved, or a Feature Request has been Released. and removed status/has-pr Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged. labels Oct 26, 2023
@nicholaszein
Copy link
Contributor

Hello, @perks98!

Thank you so much for your patience! πŸ™

We have great news! πŸ™Œ

πŸ“’ We're happy to announce that the issue you raised was resolved with the release of the new Rating widget in Elementor v3.17! πŸ₯³

With this new widget, you have more options to choose the number of rating points, custom icons, and styling options, and it is fully compatible with Google Rich snippets (updated) and fully accessible. This also solves the issue with the decimal points raised here.

Your current Start Rating widgets will remain as they were before this update. But moving forward, only the new Rating widget will be available to add to your layouts.

If you are using the old Star Rating widget, we would recommend that you replace it with the new Rating widget.

βœ… Feel free to check it out and update your plugin to the new version!

Check the changelog for more information:
Changelog of Elementor and Elementor Pro

Cheers πŸ₯‚

@elementor elementor locked and limited conversation to collaborators Oct 26, 2023
@nicholaszein nicholaszein added the solved-by/loop-builder Indicates that an Issue or Feature Request will be solved by using Elementor Pro’s Loop Builder. label Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Indicates a bug with one or multiple components. mod* solved Indicates that an Issue has been Solved, or a Feature Request has been Released. solved-by/loop-builder Indicates that an Issue or Feature Request will be solved by using Elementor Pro’s Loop Builder. status/merged Indicates when a Pull Request has been merged to a Release. type/layout Indicates when a topic is related to a component’s Layout. type/styles Indicates when a topic is related to the styles or design of a component. widget/star-rating* References the (legacy) Start Rating widget.
Projects
None yet
Development

No branches or pull requests

3 participants