- Extensions
- Drupal Commerce
Drupal Commerce module to sell on Exantrix
The Exantrix module for Drupal Commerce sends the active variations of your published products to the Exantrix marketplace, updates stock on every save and notifies every paid order by email, with the details in your seller area.
Download the Drupal Commerce module (version 1.0.0, free)
GitHub: github.com/tony-dev-web/exantrix-marketplace-drupal
What the module does
- Sends the whole catalogue from the settings form (active variations with a SKU of published products), then on every variation create or update (hook_entity_insert / update).
- Variation price, stock read from field_stock when it exists, images from field_images or field_image of the variation or the product.
- Exantrix orders received on /exantrix/commande (HMAC-SHA256 signed JSON), logged and emailed to the site email address.
- Settings in Commerce > Configuration > Marketplace Exantrix, token revocable from your seller area.
Installation
- Download the archive below and copy the exantrix folder into modules/custom/.
- Enable the module: drush en exantrix (or Extend > Install).
- In Commerce > Configuration > Marketplace Exantrix, paste the API token generated in your seller area and choose the Exantrix category of your products.
- Enter the notification URL shown (https://your-site/exantrix/commande) in your seller area.
- Click Send the whole catalogue. Exantrix reviews new products before they go live.
Requirements
Drupal 10 or 11 with Drupal Commerce 2 or 3 (commerce_product, commerce_price), PHP 8.1 or later, a validated Exantrix seller account with an active Stripe payment account.
Not a seller yet? Signing up is free, with no subscription and a 15% commission on sales only. Other platforms: WooCommerce · PrestaShop · Shopify · Magento · all extensions.
Frequently asked questions
Which price is sent?
The variation price as entered. If your prices exclude tax, add VAT before sending or enter tax-included prices.
My site has no field_stock field
The stock sent is then 1: the product stays on sale until you remove it. You can also update stock through the API.
Do Exantrix orders create a Drupal Commerce order?
Not in this version: you receive each order by email and in your seller area, where you enter the shipping.