elementor / elementor/elementor
🚀 Feature Request: Add a Dynamic Tag "WooCommerce Product Rating" for using with widgets like the Start Rating widget
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
I was working on a eCommerce project using Elementor + PRO and Dynamic Content.
I've noticed that isn't possible to use **Product Rating Tags** into **Star Rating widget**, even if Product Rating tag is already provided by Pro.
So I decided to add just 4 code lines to **product-rating.php** ( ElementorPro\Modules\Woocommerce\Tags ) and extend the default tag categories.
`
public function get_categories() {
return [ \Elementor\Modules\DynamicTags\Module::NUMBER_CATEGORY,
\Elementor\Modules\DynamicTags\Module::TEXT_CATEGORY ];
}`
I think it could be an useful solution for webmaster that need more custom features and want to display Product Rating into Star Rating Widget.
Contributor guide
Assessment
This issue has not been assessed yet.