Tell us what you are trying to do?
I want to create material management system for construction sites.
I should be able to create new site with all relevant fields that can be added from frontend form as well
Each site will have work orders divided into work items
There will be materials that are used on the site.
I need a functionality where inventory of these materials should be updated on daily basis by the supervisor of the site
Admin should be able to view all these in presentable format in the frontend
Is this possible entirely using toolset or do
I need additional dashboard plugins
Hello and thank you for contacting Toolset support.
I believe this will need some custom code too. For example, let's say we have 5 hammers, and one work item uses 1 hammer, the custom code will be needed to subtract that 1 hammer from the 5 in inventory to have an updated count of hammers(4).
Except for that, I believe that the system can be built entirely with Toolset.
I hope this makes sense. Let me know if you have any questions.
Awesome! Thanks for the quick response.
This inventory will be from woo commerce or normal post type ?
Like I am creating item -cpt which will have field group total item which initially will be fed manually; it will have frond end form that supervisors will be accessing to feed in the current item inventory on site
My doubt: should I make item as cpt or woo commerce product so as to get advantages of woo commerce inventory and pos
Well, my suggestion is about creating your own custom post types, without needing any additional plugins. And, as I said, it may require some custom code to keep the inventory correctly calculated.
You can also use WooCommerce and its "product" post type. WooCommerce has built-in inventory management. But, it is more suited for e-commerce(orders, payments, etc.). It does not have a built-in POS feature, but there are 3rd party plugins for that.
So, I can't really tell if you should use WooCommerce or not. It is up to you and the set of features you want to offer. Just keep in mind that Toolset will not help you create WooCommerce order-items because they are saved in separate WooCommerce tables instead of the default WordPress tables(posts, postmeta).
Thanks,
Where will I write custom code exactly within the plugin or directly in code ?
Hello and my apologies for the late reply, but I do not work on Wednesdays and Thursdays as you may check on my profile page https://toolset.com/es/forums/users/jamal-b/
You can add custom code on a separate plugin. But do not touch the Toolset plugins' source code.
You can add custom code in multiple places:
- A child theme.
- A separate plugin.
- The Toolset custom code section at Toolset->Settings->Custom Code.
Check the following articles:
- https://toolset.com/documentation/programmer-reference/adding-custom-code/using-toolset-to-add-custom-code/
- https://toolset.com/documentation/programmer-reference/adding-custom-code/
Great!
Thanks for the help.
I’ll try adding the code will let you know if I need assistance.
Awesome! I'll set this ticket as waiting for your feedback. This should keep it open for 2 weeks. Let me know if you have any further quesitons.