Product Inventory Problems
| Author | Posts | 
|---|---|
August 25, 2015 at 10:55 am 68947  | |
| Hello, When someone adds a product we need to set the inventory to 1 automatically. Then when someone purchases an item we need to make sure that no one is able to order the same item again. | |
August 25, 2015 at 11:09 am 68951  | |
So we will need to automatically enable a stock quantity of 1 by default  | |
August 26, 2015 at 1:38 pm 69103  | |
| This reply has been marked as private. | |
August 26, 2015 at 1:49 pm 69104  | |
Hello Donovan, I am really sorry for being late. If you want to enable inventory by default with the value 1 then you have to customize the plugin code. I can provide you the file name. Please open dokan/templates/products/new-product-single.php file. In this file you will get those codes in line number 381. Thanks.  | |
August 26, 2015 at 2:05 pm 69111  | |
Thanks for the reply. I don’t believe that’s the answer to this puzzle. line 381 reads 
maybe im missing something  | |
August 26, 2015 at 7:37 pm 69202  | |
Hello, I have to discuss with my developer team. Please allow me some time to provide you the right solution.  | |
August 27, 2015 at 2:45 pm 69319  | |
| This reply has been marked as private. | |
August 27, 2015 at 2:50 pm 69320  | |
Hello Donovan, If we set default 1 then it will create issue in another place. It will require few changes in others file. So, you have to customize the plugin code for that. Thanks.  | |
August 27, 2015 at 8:29 pm 69414  | |
Ok, that’s acceptable, please just point me in the right places as I’m familiar with PHP, but not a master so I may need some examples and explanations.  | |
August 28, 2015 at 3:00 pm 69446  | |
Anything new, any suggestions as we are moving into weekend i will need to close this. also, i need to add to all emails sent out Seller/Buyer Email, Phone Number and Name so the I really need to add these to all transaction on the site. Any suggestions.  | |
August 29, 2015 at 12:40 pm 69506  | |
Hello Donovan, I am sorry for being late. This is weekend here. Our developer will be available from tomorrow. Hope I can provide you the instruction tomorrow after discussing with the developer. Please keep patience. Thanks.  | |
September 3, 2015 at 3:02 am 70239  | |
| This reply has been marked as private. | |
September 3, 2015 at 5:05 pm 70316  | |
Add those codes in inventory.php line number 8 after this line-  
Then replace this line-   Thanks.  | |