Bagisto Forum

    Bagisto

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

    Admin Add Product page slow with large number of variants

    Bug Report
    3
    4
    403
    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 v1.5.1 with PHP 8.1.19 under Apache & nginx.
      If I create a configurable product with 2 attributes, 1 with 7 options and the other with 15 the resulting Variants section on the Edit Product page is incredibly slow.
      When I try to type anything into a Name field, it takes a very long time for any keystrokes to register. There are 105 variants in total, it will take forever to input all the required information with it running so slow.

      I am viewing the site in Firefox 111.0 but have the same issue in Chromium so I do not believe it is a browser issue.

      Any help to help figure this out would be appreciated. If you require any further information, please let me know

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

        Hi there,

        Can you please share ScreenShot or shot video to find the exact issue?

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

          Thank you for your reply Amitk.
          I have recorded a short video https://drive.google.com/file/d/1BMOwI1FkdDrrTDhTB1sdZf6cNALRq_E0/view?usp=share_link
          I think this illustrates the issue.

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by

            Hi @futurefool,

            Generally, when the DOM size becomes large this usually happens. When the DOM becomes too large, it can lead to slow rendering and unresponsive behavior. Currently, there is no such thing present in the core.

            To customize to some extent, I can suggest some changes which may be also put in the future,

            • First one is load more or paginated view, this can be achievable.

            • Second, we can make an import feature for the variant if possible. (Little Complicated)

            That depends on requirement whatever can be suited.

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