Search by

pronamic / wp-orbis-products

remcotolsma

The Orbis Products plugin extends your Orbis environment with the option to add products.

Package info

github.com/pronamic/wp-orbis-products

Homepage

Type:wordpress-plugin

pkg:composer/pronamic/wp-orbis-products

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

dev-main 2026-11-23 10:18 UTC

This package is auto-updated.

Last update: 2026-11-23 10:18:15 UTC


README

The Orbis Products plugin extends your Orbis environment with the option to add products.

Requirements

  • PHP 8.3+
  • WordPress 7.1+
  • Composer
  • Node.js / npm

Installation

composer install
npm install

Development

This plugin follows the SolveBeam WordPress Plugin Boilerplate conventions.

Local environment (wp-env)

npx wp-env start
npx wp-env stop

The .wp-env.json maps the plugin twice into the WordPress environment:

Mount path Source Purpose
wp-content/plugins/orbis-products-dev ./ Live development (including dev files)
wp-content/plugins/orbis-products ./build/orbis-products/ Built distribution version

Build

composer run build

Deploy

composer run deploy

The hosts are defined in a shared Deployer file, imported through the DEPLOYER_IMPORT environment variable (default ~/deployer.php).

Translations

composer run make-pot

Linting & analysis

composer run phpcs
composer run phpstan
composer run rector
composer run qa

Data model

Type Key
Post types orbis_product, orbis_product_change
Table {$wpdb->prefix}orbis_products, available as $wpdb->orbis_products
Post meta _orbis_product_id, _orbis_product_price, _orbis_product_cost_price, _orbis_product_auto_renew, _orbis_product_deprecated, _orbis_product_interval, _orbis_product_description, _orbis_product_link, _orbis_product_cancel_note

Saving a product syncs the name, price, cost price, auto renew, deprecated and interval to the orbis_products table, which is used by Orbis Subscriptions.

Templates

templates/product-details.php shows the price, cost price and auto renew on a single product, through the orbis_before_side_content action of the Orbis theme.

License

GPL-2.0-or-later