Skip to content

WooCommerce Remote Sync Alta

Documentation for the Plug and Pay WooCommerce Remote Sync Alta plugin.

Requirements

Technical Requirements

  • PHP: 8.1, 8.2, or 8.3
  • ionCube Loader: Required. For version requirements and installation details, check the IonCube Loader documentation.
  • WooCommerce: 3.5 or higher
  • WP-CLI: Recommended for scheduled product sync and product imports.

Store Setup Prerequisites

  • Alta API Credentials: API Username and API Password provided by Alta. (API Host is pre-configured by default).

Integrations

Sync Products periodically pulls product data (price, stock) from Alta into WooCommerce. It supports simple and variable products, multiple price types, forced sync, and manual product mapping.

Import Products creates simple WooCommerce products from Alta's catalogue, assigns categories, and supports skip rules. On first run it drafts all products that don't yet exist in WooCommerce, optionally fetching attributes and images per product. Products imported this way are automatically registered in the sync table, so there is no need to map them manually.

Alta has a provider-specific Import attributes & images option. When enabled, the plugin fetches item features from Alta with one extra API call per product. This is slower, but it is required if you want Alta attributes and images to be available during import.

Technical Specification & Feature Support

FeatureSupported
HPOSYes
Product SyncYes
Product MappingYes
Product ImportYes
Order SyncNo
WP-CLI Product SyncYes
WP-CLI Product ImportYes

WP-CLI Commands

Sync Products

# Pull latest price and stock from Alta into WooCommerce
wp alta sync

# Download the remote product list into the local mapping table
wp alta download-list

Import Products

# Create WooCommerce products for all remote products not yet imported
wp alta create-wc-products

Cron Scheduling

Product sync is lightweight and can run frequently. Import is slower (especially with attributes & images enabled) and should run rarely. A typical setup runs sync every 15 minutes and import once at midnight:

# /etc/cron.d/remote-sync-alta

# Sync price & stock every 15 minutes
*/15 * * * * www-data cd /var/www/html && /usr/local/bin/wp alta sync

# Import new products once a day at midnight
0 0 * * * www-data cd /var/www/html && /usr/local/bin/wp alta create-wc-products