hiramvillarreal / iotpos

IotPOS, an open source Point of Sale software.
GNU General Public License v2.0
146 stars 77 forks source link

Categories + Subcategories #27

Open TheDukeTV opened 5 years ago

TheDukeTV commented 5 years ago

Hey there, For starters, I am 100% new to Github, Raspberry Pi, and iotpos. I've got iotpos up and running. The install was a breeze!

I intend to use iotpos for my employees. We have a wide range of products such as frozen foods, beverages, electronics, and clothing they can pay for with currency they earn while working.

I have my categories and subcategories created, but noticed when adding products, you can only assign a category to them and not subcategory. Is it possible to add subcategory to the 'Product Editor'?

If I need to create a separate issue for this, by all means let me know, but I am also curious as to how I access the mysql database for iotpos? I did not see a guide anywhere for this.

Thank you very much for your time and work into this awesome program!

Shaggs commented 5 years ago

@TheDukeTV

have my categories and subcategories created, but noticed when adding products, you can only assign a category to them and not subcategory. Is it possible to add subcategory to the 'Product Editor'?

I'll have a look at this tonight. I'm yet to use this feature but will investigate.

To find the data kept on MySQL.

Open terminal

mysql -u USERNAME -p

Enter your password, Once logged in you will see

mysql>

Then enter

use iotpos;

You now have access to all the tables. Please not any changes made may stop IOTPOS from working. It's best not to make any changes and any changes to do make are best made using the iotstock or iotps programs.

Shaggs

TheDukeTV commented 5 years ago

Thank you very much for the quick reply! Looking forward to hearing back on the subcategories.

TheDukeTV

hiramvillarreal commented 5 years ago

Hi The

TheDukeTV

Hi Actually there is a subcategory code and database field for them but I decide to hide them for a moment since I what to find a better way to deploy the subcategory filter, for some user it was confusing the subcategory field, And another reason it I what to keep as simple as is possible the app, letme find how to put it back again I will let you Know.