GM
Asked
Hello,
I encountered a big issues:
1) When i want to edit/delete an item in existing purchase, a majority of items that in that purchase became “0” Quantity in "Product list". For example, i uploaded a CSV file of 500 items purchased last week. Yesterday, i open that purchase, then deleted 1 product from that purchase. Result: The quantity of 393 items became “0”. This happens the second time with me. It is very frustrating when you work with production.
If I delete a item in a existing purchase that contains a lot of items, some quantity of that purchased items became randomly 0 in “Product list”. Products are not deleted but Quantity became 0 for some items. It is a MAJOR ISSUE of your script, not a question of php or server. I have the last version of XAMPP with a server of 8Go of RAM.
Please reproduce step by step my description and you will get the issue.
Thanks you for your great help
I encountered a big issues:
1) When i want to edit/delete an item in existing purchase, a majority of items that in that purchase became “0” Quantity in "Product list". For example, i uploaded a CSV file of 500 items purchased last week. Yesterday, i open that purchase, then deleted 1 product from that purchase. Result: The quantity of 393 items became “0”. This happens the second time with me. It is very frustrating when you work with production.
If I delete a item in a existing purchase that contains a lot of items, some quantity of that purchased items became randomly 0 in “Product list”. Products are not deleted but Quantity became 0 for some items. It is a MAJOR ISSUE of your script, not a question of php or server. I have the last version of XAMPP with a server of 8Go of RAM.
Please reproduce step by step my description and you will get the issue.
Thanks you for your great help
- MSAnsweredHello,
If you add purchase with csv you have the option to add bulk products. But once you edit it, your php will have post var limit.
You should check your purchase if all the products you add are there? I suspect some might have been removed.
You system RAM won't be allocated to php. You can check your php limit config to know more. What your value for `max_input_vars` & `memory_limit`? You should refer to the FAQ in docs. I am pasting it below
---
**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. You might need to increase `max_input_time` and `max_execution_time` too. - Login to Reply