Classes of goods
Posted: Wed Feb 24, 2021 8:51 am
This is sort of an update, sort of a re-write of an old add-on, allowing storeowners to assign products to a class of goods. I've written it for two storeowners I help out occasionaly, with the intention of allowing shipping prices and free shipping to be defined by the classes of goods, and the intention of allowing a monthly and yearly sales-report to be shown for each class of goods.
It consist of a hook to assign the product to a class in the "product specifics"-tab, a new page to insert and edit classes of goods and a sql to create the new table in the database, as well as add a field on the products_table.
Please feel free to bring suggestions for improvements, or general comments - For now this is only the classes themselves. The shipping-part needs some cleaning up, and I haven't yet finished writing the report-part.
Also, please don't install on a live-store! I'm only doing this for fun, and am trying to learn along the way, so it might be very flawed.
//Daniel
It consist of a hook to assign the product to a class in the "product specifics"-tab, a new page to insert and edit classes of goods and a sql to create the new table in the database, as well as add a field on the products_table.
Please feel free to bring suggestions for improvements, or general comments - For now this is only the classes themselves. The shipping-part needs some cleaning up, and I haven't yet finished writing the report-part.
Also, please don't install on a live-store! I'm only doing this for fun, and am trying to learn along the way, so it might be very flawed.
//Daniel