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

Bagisto

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

Configurable Product with Over 100 Variants Fails to Save, Reloads Page Without Changes

Bug Report
2
2
180
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.
  • tribhuvanabhi
    tribhuvanabhi last edited by 10 Nov 2024, 12:15

    When creating a configurable product in Bagisto with over 100 variants, attempting to save the product results in a page reload without any changes being saved. Initially, warnings about max_input_vars and max_multipart_body_parts exceeding limits appeared. After increasing these limits in php.ini (to 5000 for max_input_vars and 6500 for max_multipart_body_parts), the warnings stopped. However, the product still does not save, and the page simply reloads without providing any error message or indication of failure.

    Steps to Reproduce:

    1] Create a configurable product in Bagisto.
    2] Add more than 100 variants to the product.
    3] Attempt to save the product.

    Expected Behavior:
    The product should save successfully with all variants intact.

    Observed Behavior:
    The page reloads after hitting save, and none of the entered data is saved. No error message appears, and the issue persists even after adjusting PHP settings (input variables, multipart body parts, memory limit, execution time).

    Additional Info:

    PHP limits adjusted: max_input_vars = 5000, max_multipart_body_parts = 6500, memory_limit = 512M, max_execution_time = 300.
    No errors found in PHP or Laravel logs.
    Browser console shows no AJAX or JavaScript errors.

    Environment:

    Bagisto Version: [2.2]
    PHP Version: [8.2]
    Database: MySQL

    Workarounds Attempted:

    Increased PHP limits (max_input_vars, max_multipart_body_parts, memory_limit, max_execution_time).

    Tried saving variants in smaller batches

    ashish2409 1 Reply Last reply 12 Nov 2024, 09:44 Reply Quote 0
    • ashish2409
      ashish2409 @tribhuvanabhi last edited by 12 Nov 2024, 09:44

      Hello @tribhuvanabhi,

      Thank you for reaching out. We have logged an issue on GitHub to address your query. Our team will investigate, test, and, if confirmed, resolve the issue. You can follow the progress at the link below:

      Issue link: https://github.com/bagisto/bagisto/issues/10311

      Further updates will be posted on the issue page.

      Thank you!

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