Product Query Type – Product Grid Widget (Elementor xstore)

This topic has 4 replies, 3 voices, and was last updated 3 months ago ago by Andrew Mitchell

  • Avatar: Jonathan
    Jonathan
    Participant
    July 31, 2024 at 13:02

    Hello,

    I have a problem displaying the products on my website.

    To give context: I sell many types of tiles on my website and all types of tiles are available in 20 colors in matt finish and 20 colors in gloss finish.

    So I can have tiles size 10×10 in red color in matt finish and tiles also size 10×10 in red color, but in glossy finish.

    My problem, is that I want to use the product grid elementor widget (Xstore):

    https://prnt.sc/dPC8qo3NrlgA

    But in the query type it does not allow me to choose “AND” or “OR”.

    The default query type is “O”. So if I select “WHITE” and “MATT”, it is going to show me ALL the products that have the tag “WHITE” and the tag “MATT”. But I need it to work with the query “AND”, to show ONLY the products that have the label “WHITE” AND the label “MATT”.

    https://prnt.sc/2AeDareIa9y0

    Is it possible to somehow change this “OR” query type to an “AND” query type?

    I have seen that the WooCommerce elementor pro filter works with the “AND” query type:

    https://prnt.sc/Xd-x8n810lyh

    The problem, is that the products are shown without price, I don’t understand why.

    https://prnt.sc/n7WqsECJ-Sz0

    This widget allows almost no customization, it is better the Xstore one, but if the price was displayed I could use this widget to solve my problem.

    (Another problem is that the product grid xstore widget only allows filtering by category, tag or brand. It does not allow filtering by attributes, which is one of the most important elements in an online store. I can solve this by creating all my attributes as tags, but it would be nice if you could update this query in the future to support filtering by attributes as well.).

    I am sorry if my query is not well understood, English is not my main language, if something is not understood tell me and I will try to explain it better.

    Thank you very much.
    Regards.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 1, 2024 at 12:55

    Dear @Jonathan,

    I hope this message finds you well.

    We have recently made some modifications to the files as per your request and would appreciate it if you could review them at your earliest convenience (https://gyazo.com/5055773b5dd51fd5ea050648045ffb51). The details of the changes are as follows:

    1. In the file et-core-plugin/app/controllers/elementor/general/product-grid.php, we have added several filters to enable the posibility for modifications to the tax_query of the product taxonomy.
    2. In the file xstore-child/functions.php, we have incorporated a filter that enforces an AND relation for the tax query.

    At this moment, we are not prepared to implement these modifications as a separate option, as your request is unique and appears to have been addressed by the solutions we have already provided. Anyway you are always opened to post a future request on our Future request board where anyone could leave his voice for the request he thinks useful -> https://www.8theme.com/taskboard/.

    Thank you for your attention to this matter. We look forward to your feedback.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Jonathan
    Jonathan
    Participant
    August 6, 2024 at 10:17

    It works perfect for what I need. Thank you

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 6, 2024 at 10:17

    Dear Jonathan,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Product Query Type – Product Grid Widget (Elementor xstore)’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.