Download the PHP package pickhero/craft-commerce without Composer

On this page you can find all versions of the php package pickhero/craft-commerce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-commerce

Commerce PickHero

Connect your Craft Commerce store to PickHero WMS (Warehouse Management System) for streamlined order fulfillment and inventory management.

Features

Requirements

Installation

  1. Add the plugin to your project's composer requirements
  2. Run composer install
  3. Install the plugin via ./craft plugin/install commerce-pickhero

Configuration

API Connection

Configure the plugin in your Craft admin panel under PickHero → Settings, or add a config file at config/commerce-pickhero.php:

Environment Variables

Add these to your .env file:

Usage

Automatic Order Sync

Configure which order statuses should trigger synchronization:

Manual Order Actions

Users with the "Manually submit orders to PickHero" permission can:

Product Export (Craft → PickHero)

Export your Craft Commerce products to PickHero:

Options:

Examples:

Stock Import (PickHero → Craft)

Import stock levels from PickHero to update your Craft Commerce inventory:

Options:

Webhook Setup

  1. Enable "Sync Order Status" in the plugin settings
  2. Click "Register" next to the webhook status
  3. Configure status mapping to update Craft order status when shipments are created

Events

The plugin provides several events to customize data before it's sent to PickHero. Register these in your module's init() method or in a custom plugin.

Modify Order Payload

Modify the complete order payload before submission, including adding custom fields:

Modify Order Line Items

Filter or modify which line items are sent to PickHero:

Transform Address

Modify address data before sending to PickHero (useful for custom address fields):

Available address types: AddressEvent::TYPE_DELIVERY, AddressEvent::TYPE_INVOICE, AddressEvent::TYPE_CUSTOMER

Configuration Reference

All available settings for config/commerce-pickhero.php:

Troubleshooting

Orders not syncing

  1. Verify pushOrders is enabled in settings
  2. Check that the order status matches one in orderStatusToPush
  3. Review the PickHero log in Utilities → Logs → PickHero

Products not found

Enable createMissingProducts to automatically create products, or export products first:

Webhook not receiving updates

  1. Ensure your site is publicly accessible (webhooks won't work on localhost)
  2. Check webhook registration status in plugin settings
  3. Verify the webhook secret matches in PickHero dashboard

Permissions

The plugin adds the following permissions:

Documentation

For full documentation, visit pickhero.nl/docs/craft-commerce.

Support

For support, please contact PickHero.


All versions of craft-commerce with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
craftcms/cms Version ^5.0.0
craftcms/commerce Version ^5.0.0
guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pickhero/craft-commerce contains the following files

Loading the files please wait ...