Question: Purchase Does Not Allow Me To Add

Purchase Does Not Allow Me To Add

hello I have a problem when I add a purchase by adding more than 62 products in the purchase invoice when saving it only saves me 62 lines the other is not saved please help me. Thanks and

AP

Abdullah Patel

Asked
hello
I have a problem when I add a purchase by adding more than 62 products in the purchase invoice when saving it only saves me 62 lines the other is not saved please help me.

Thanks and regards
  • MS

    Mian Saleem

    Answered
    Hello,

    SMA don't impose any limit but your php server do. Please increase the value of `max_input_vars` in your php config. I am pasting FAQ from docs

    ---

    **Why some products are missing from order when I add 100+ products?**

    There is no restriction in SMA code on the number of order items. If you are having such issue, please check your php configuration file (php.ini) for `max_input_vars` and set it to higher number i.e, 10000 or 20000. You might need to increase `max_input_time` and `max_execution_time` too.

    ---

    Thank you
  • Login to Reply