WP Manifestindependent plugin directory
manifest / ecommerce / publishpress-cart

PublishPress Cart

PublishPress Cart

by PublishPress · github.com/publishpress/publishpress-cart · website

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/publishpress/publishpress-cart/archive/refs/heads/development.zip

PublishPress Cart provides checkout, product, order, and payment features for WordPress. This repository contains the Free plugin and the shared code that Pro bundles as its base package.

WordPress.org ships this Free plugin only. StudioCart leftover names, Compatibility Mode, and merchant Data migration live in the sibling publishpress-cart-compat plugin.

Requirements

  • WordPress 6.7+ with PHP 7.4+.
  • Composer for PHP dependencies.
  • npm for Playwright browser tests.
  • Gateway sandbox credentials for checkout regression tests that use external providers.

Prefixes

First-party symbols use PPCART_, ppcart_, and PPCart_. Leftover sc_* / studiocart_* / NCS_* / ncs_* names belong only in Compat.

Layout

Path What lives here
publishpress-cart.php Bootstrap, constants, activation
includes/class-ppcart.php Hook registration; requires admin/public/models
includes/functions.php + includes/functions/ Global helpers (checkout, pricing, orders)
public/class-ppcart-public.php + public/controllers/ Storefront checkout, shortcodes, coordinators
public/webhooks/ stripe.php, paypal.php — keep thin
admin/ Settings, product/order metaboxes, reports
models/ Order and subscription objects
docs/dev/architecture.md Full runtime map

Documentation

Tests

composer test:up
composer dev:shell
composer test:regression:setup
composer test:unit
composer test:integration
composer test:regression
composer test:admin
composer test:all
composer metrics

See tests/README.md for single-test examples and environment setup.