Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Featured Configurable Product

    Bug Report
    4
    10
    420
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      futurefool last edited by

      I am running bagisto 1.5.1 with php 8.1.20

      I have quite a large number of configurable products. Toggling any of them to featured does not actually display them on the front end. Toggling a simple product to featured does work however.

      Is this expected behavior? If it is, any advice on how I could go about making this actually work?

      1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 last edited by

        @futurefool as per your concern related to the issue in configurable product, can you please share a screenshot or small video so that we can understand the concern.
        It would help to know exact issue.
        Thanks.

        1 Reply Last reply Reply Quote 0
        • F
          futurefool last edited by

          Thanks for getting back to me so quickly ashish
          Here is a screen capture showing the issue
          https://drive.google.com/file/d/1tZFIitQrDHLwqtW0vF8YAiE1Fsd2I9f1/view?usp=sharing

          1 Reply Last reply Reply Quote 0
          • A
            Amitk-Webkul last edited by

            Hi @futurefool,

            Which search mode are you using Flat table or Elastic Search?

            1 Reply Last reply Reply Quote 0
            • F
              futurefool last edited by

              Thank you for your reply. I am using Flat table

              1 Reply Last reply Reply Quote 0
              • A
                Amitk-Webkul last edited by

                Hi @futurefool,

                We are fixing the issue. Will update you once the issue is fixed.

                1 Reply Last reply Reply Quote 0
                • F
                  futurefool last edited by

                  Amazing! Thanks Amitk

                  1 Reply Last reply Reply Quote 0
                  • F
                    futurefool last edited by futurefool

                    Hi @Amitk-Webkul, I've had some time to look into this myself and was able to make some progress despite my basic Laravel skills. Not sure if this is of use to you but I was able to fix this issue by commenting out $qb->havingRaw('COUNT(*) = ' . count($attributes)); from line 341 in ProductRespository.php. I have no idea what this line is doing and suspect my modification is not an ideal solution but thought it might help you guys

                    1 Reply Last reply Reply Quote 0
                    • A
                      Amitk-Webkul last edited by

                      Hi there,

                      Meanwhile, you can use the Elastic search method.

                      1 Reply Last reply Reply Quote 0
                      • S
                        spenini last edited by

                        was this ever fixed? having the same thing and elastic search makes it worse.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post