• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Featured Configurable Product

Bug Report
4
10
411
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 26 Jun 2023, 11:01

    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 26 Jun 2023, 13:11

      @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 26 Jun 2023, 13:56

        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 29 Jun 2023, 05:02

          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 4 Jul 2023, 14:50

            Thank you for your reply. I am using Flat table

            1 Reply Last reply Reply Quote 0
            • A
              Amitk-Webkul last edited by 5 Jul 2023, 04:24

              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 5 Jul 2023, 05:08

                Amazing! Thanks Amitk

                1 Reply Last reply Reply Quote 0
                • F
                  futurefool last edited by futurefool 10 Jul 2023, 17:10 10 Jul 2023, 16:37

                  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 11 Jul 2023, 11:53

                    Hi there,

                    Meanwhile, you can use the Elastic search method.

                    1 Reply Last reply Reply Quote 0
                    • 3 months later
                    • S
                      spenini last edited by 24 Sept 2023, 15:19

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

                      1 Reply Last reply Reply Quote 0
                      3 out of 10
                      • First post
                        3/10
                        Last post