elementor / elementor/elementor

🚀 Feature Request: Add a Dynamic Tag "WooCommerce Product Rating" for using with widgets like the Start Rating widget

Open
#12,661 0 comments 1 reaction 0 assignees View on GitHub
component/pro/dynamic-tag integration/woocommerce mod/r* product/pro request/enhancement widget/pro/wc/product/rating widget/star-rating*
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.