elementor / elementor/elementor
Missing Query ID Option in Loop Grid Widget When Template Type is Set to Product
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
### Description
When using the Loop Grid widget in Elementor Pro, the Query ID option is available in the Query tab only when the template type is set to "Post".
However, if the template type is changed to "Product", the Query ID option disappears. This inconsistency prevents users from assigning a custom query ID when building custom WooCommerce product loops using Elementor’s Loop Grid feature.
This issue started from Elementor Pro version 3.29.0 and is reproducible on a fresh installation with only WooCommerce and Elementor plugins active.
This limitation significantly impacts the ability to build advanced filtered or dynamic product loops using the elementor_pro/posts/query/ filter or dynamic query integrations.
### Steps to reproduce
1. Create or edit a page using Elementor Pro.
2. Add a Loop Grid widget to the page.
3. Under the Content tab, set the Template Type to Post.
4. Go to the Query tab – the Query ID field is visible.
5. Go back to the Content tab and change Template Type to Product.
6. Return to the Query tab – the Query ID field is now missing.
### Expected behavior
The Query ID field should be available in the Query tab regardless of whether the Template Type is Post or Product.
This allows consistent support for custom queries, filter hooks, and dynamic data for WooCommerce products – just like for regular posts.
### Elementor System Info
```txt
== WordPress Environment ==
Version: 6.8.1
Site Language: ar_AE
Permalink Structure: /%postname%/
Multisite: No
Debug Mode: Yes
== Theme ==
Name: Hello Elementor
Version: 3.4.3
Author: Elementor Team
== Active Plugins ==
- Elementor: 3.29.0
- Elementor Pro: 3.29.0
- WooCommerce: 9.8.5
== Server Environment ==
PHP Version: 8.3.21
PHP SAPI: fpm-fcgi
Memory Limit: 512M
Max Input Vars: 4000
Time Limit: 60
MySQL Version: 10.11.11-MariaDB
cURL Version: 8.5.0
Server: Apache/2.4.58 (Ubuntu)
== Image Editor ==
Imagick + GD both available
== Elementor Settings ==
Breakpoints: Default
Experimental Features: None enabled
Container: Enabled
Loop: Enabled
Theme Builder: Enabled
Custom Fonts/Icons: Not used
# Agreement
- [x] I confirm I have read and followed all the guidelines and instructions outlined in the Elementor Bug Report form.
- [x] I agree that my issue may be closed without further action if it doesn't meet all the requirements outlined in the Elementor Bug Report form.
Contributor guide
Assessment
This issue has not been assessed yet.