modules/phyto_grex_registry/
Direct path in the repo โ all PHP, SQL, templates, and assets
Overview
Lets you attach proper scientific information to each product: genus, species, hybrid/grex name, the registration authority that named it, and its conservation status. Shows up as a neat “Scientific Profile” tab on the product page. Ideal for rare plant buyers who need botanical provenance.
Data Fields
| Field | Example |
|---|---|
| Genus | Nepenthes |
| Species | rajah |
| Hybrid / Grex name | N. ร veitchii |
| Registration authority | RHS, ICPS |
| Conservation status | CITES Appendix I |
| Common name | Giant Pitcher Plant |
Hooks Registered
| Hook | Purpose |
|---|---|
displayProductTabContent | Renders “Scientific Profile” tab |
displayAdminProductsExtra | Admin tab for entering taxonomy data |
Source Layout
| Path | Purpose |
|---|---|
phyto_grex_registry.php | Module entry + hook handlers |
classes/PhytoGrexEntry.php | ORM model for taxonomy records |
sql/install.sql | Creates phyto_grex_registry table |
views/templates/hook/product_tab.tpl | Front-end “Scientific Profile” card |
views/templates/hook/admin_product_tab.tpl | Admin entry form |