Home โ€บ Modules โ€บ phyto_source_badge

phyto_source_badge

Create and assign sourcing-origin badges to products โ€” Tissue Culture, Wild Collected, Nursery Grown, Conservation Propagation โ€” displayed on listing cards and product pages.

Customer & Community v1.0 PrestaShop 8 Browse Source on GitHub โ†—
modules/phyto_source_badge/
Direct path in the repo โ†’ all PHP, SQL, templates, and assets
Open on GitHub โ†—

Overview

Lets you create and assign badges to products that tell buyers where the plant came from and how it was produced. Badges appear on product listing cards and the product page, helping buyers make informed choices and building trust around your sourcing practices.

Example Badge Types

  • Tissue Culture
  • Wild Collected (with CITES note)
  • Nursery Grown
  • Certified Organic
  • Conservation Propagation
  • Seed Grown

Hooks Registered

HookPurpose
displayProductListFunctionalButtonsBadge on listing card
displayProductAdditionalInfoBadge on product page
displayAdminProductsExtraAdmin badge selector

Source Layout

PathPurpose
phyto_source_badge.phpModule entry + hooks
classes/PhytoSourceBadge.phpORM for badge definitions
classes/PhytoProductBadge.phpORM for product-to-badge mapping
controllers/admin/AdminPhytoSourceBadgeController.phpBadge management
sql/install.sqlCreates badge tables
views/templates/hook/badge.tplBadge display template
View Full Source โ†— โ† Back to All Modules