What problem does it solve?
This skill helps you design osCommerce add-ons and modules correctly by mapping your goal (payment, shipping, order totals, content, or header tags) to osCommerce’s legacy module architecture and installation conventions.
Core Features & Use Cases
- Module architecture guidance: Covers where each module type lives and which required methods/properties it must implement (including payment module flow like selection → confirmation → process).
- Installation best practices: Explains how to package and install file-based add-ons (module PHP, language files, optional core/template edits) with safety-focused steps like backups and version checks.
- osCommerce 2.4 hook system support: Helps you choose hook-based extension points to reduce or avoid direct core file modification when building for osCommerce Online Merchant 2.4+.
- Security and compatibility guardrails: Emphasizes procedural PHP conventions, safe database access using tep_db_* and tep_db_input(), and avoiding anti-patterns like hardcoded language strings or unsafe SQL.
Quick Start
Use the oscommerce skill to create a hook-based shipping module for osCommerce 2.4, including the required configuration keys, installation steps, and the code entry points aligned to the checkout shipping flow.