oscommerce

Guides osCommerce add-on and module development with PHP conventions and hook registration.

1|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/biggora/e-commerce-plugin-skills --skill oscommerce
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oscommerce
Source: https://github.com/biggora/e-commerce-plugin-skills/tree/main/skills/oscommerce
Command: npx skills add https://github.com/biggora/e-commerce-plugin-skills --skill oscommerce

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about oscommerce

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a custom payment module for osCommerce?▼

Build the payment module by mapping your goal to osCommerce's legacy module architecture, implementing the selection, confirmation, and process method flow while using tep_db_input for safe database access.

What's the best way to add a shipping rate calculator in osCommerce 2.4?▼

Add a shipping rate calculator by leveraging the osCommerce 2.4 hook-based extension system to inject into the checkout shipping flow, reducing the need for direct core file modification.

How does the osCommerce hook system work for extensions?▼

The osCommerce 2.4 hook system provides extension points to inject content and alter functionality, allowing developers to avoid direct core file modification when building extensions.

Do I need to use tep_db_input for database queries in osCommerce modules?▼

Yes, you must use tep_db_input and tep_db_* functions for database queries in osCommerce modules to satisfy security guardrails, prevent unsafe SQL, and follow procedural PHP conventions.

How do I package and install file-based add-ons in osCommerce?▼

Package file-based osCommerce add-ons by bundling module PHP, language files, and template edits, then apply safety-focused installation steps including backups and version checks.

Can I create order total calculators without modifying core files in osCommerce?▼

Yes, you can create order total calculators without modifying core files by using osCommerce 2.4 content injectors and header tags injectors to hook into the correct legacy module interfaces.