Arbana Sale Tracker

Plugin Banner

Arbana Sale Tracker

by shark121

Download
Description

The Arbana Sale Tracker is the official connector plugin for the Arbana mobile marketplace. It allows WooCommerce store owners to seamlessly sync their on-sale inventory with the Arbana app, ensuring mobile users always see the most up-to-date deals and promotions.

This plugin runs quietly in the background, listening for product updates. When you put a product on sale in WooCommerce, this plugin automatically formats the data to the strict Arbana JSON schema and pushes it to the cloud.

Key Features:

  • Real-time Sync: Instantly updates the Arbana app when you create, update, or delete sale products.
  • Automatic Formatting: Converts WooCommerce product data into optimized JSON payloads, including generated promotion IDs.
  • Manual Batch Sync: Includes a one-click tool to sync your existing inventory of on-sale items.
  • Secure Connection: Uses OAuth-style authentication to securely link your store to your Arbana account without sharing admin passwords.
  • Lightweight: Designed to minimize database load by only tracking products that are actively on sale.

External Services

This plugin relies on the Arbana platform (a 3rd party service) to process data and display your products in our mobile application.

Arbana Service
This service is used to sync your WooCommerce inventory with the Arbana marketplace and authenticate your store connection.

Data Transmission Details:
To function correctly, this plugin communicates with the following endpoints associated with the Arbana infrastructure:

  1. Product Synchronization (salestore.io)

    • URL: https://salestore.io/api/shopify/actions/
    • Data Sent: Product titles, descriptions, regular prices, sale prices, and image URLs.
    • Purpose: This endpoint receives product updates to display them on the Arbana mobile app.
  2. Authentication (Cloud Functions & Run App)

    • URLs:
      • https://serveauthpage-leny7ytvaq-uc.a.run.app
      • https://us-central1-chatapp-8aa4a.cloudfunctions.net/exchangeCodeForApiKey
    • Data Sent: OAuth tokens and API keys.
    • Purpose: These endpoints are used to initiate the secure user login and exchange authorization codes for API keys during the setup process.

A distinct Arbana account is required to use this plugin. While this connector plugin is free to download, using the Arbana platform to list products may require a paid subscription.

  1. Upload the plugin files to the /wp-content/plugins/arbana-sale-tracker directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to Products > Sale Tracker in your sidebar.
  4. Click “Connect Account” to link your store to Arbana.
  5. Once connected, click “Sync All” to import your current on-sale products.
Do I need an Arbana account to use this plugin?

Yes. This plugin acts as a bridge between your WooCommerce store and the Arbana platform. You will be prompted to create or sign in to your Arbana account during the setup process.

Does this sync all my products?

No. To keep the mobile app focused on deals, this plugin currently only syncs products that have a “Sale Price” set in WooCommerce.

What happens if I delete a product?

The plugin listens for deletion events and will automatically send a request to remove the item from the Arbana app, keeping your inventory in sync.

I have thousands of products. Will the sync crash my site?

The “Sync All” feature is currently limited to batches of 100 products to prevent server timeouts. If you have a very large catalog, you may need to run the sync a few times or contact support for a bulk-import solution.

1.0

  • Initial release.
  • Added real-time hooks for product creation, updates, and deletions.
  • Added OAuth connection flow.
  • Added manual sync tool.
Back to top