woocommerce/plugins/woocommerce-admin/client/marketplace
Sam Seay 2db29164f9
Update to pnpm 9.1 (#47385)
* Update to pnpm 9.1 and fix a mini css bug

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/ai, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* temporarily disable swallowing build output to diagnose issue with perf workflow

* Ignore some type issues that commonly resurface when deps slightly change

* Fix persistent type issues that have recurred many times

* Add more ignores

* Fix lint issue

* Revert change to swallow build error

* Improve access of the config that needs updated build dir.

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-13 10:57:39 -03:00
..
assets/images Marketplace: update no results screen for search 2023-11-22 13:37:37 +00:00
components Update to pnpm 9.1 (#47385) 2024-05-13 10:57:39 -03:00
contexts Marketplace: Fix the bug hiding connection warning (#44207) 2024-01-31 12:50:47 +03:00
stylesheets Stylelint: Update config to double quotes (#45607) 2024-03-26 10:41:34 -03:00
utils Freemium: update marketplace product card label (#45982) 2024-05-10 15:00:05 -05:00
README.md Update Woo.com references to WooCommerce.com (#46259) 2024-04-09 09:50:15 +01:00
index.tsx Marketplace: hide search input when viewing subscriptions page on mobile 2023-10-06 12:34:58 +01:00
marketplace.scss Stylelint: Update config to double quotes (#45607) 2024-03-26 10:41:34 -03:00

README.md

Marketplace

This folder contains the components used in the Marketplace page found in WooCommerce > Extensions.

The page contains two parts, the WooCommerce.com marketplace and a list of products the user purchased.

Marketplace Tabs

  • Discover: A curated list of extensions and themes.
  • Browse: All extensions.
  • Themes: All themes.
  • Search: Search results.

Marketplace API

The data for the Discover section is fetched from the /wc/v3/marketplace/featured endpoint. This behaves as a proxy to fetch and cache the content from the woocommerce.com/wp-json/wccom-extensions endpoint.

Themes, extensions, and search results are fetched directly from WooCommerce.com.

My Subscriptions

This tab contains the list of all the extensions and themes the WooCommerce merchant has purchased from the WooCommerce.com Marketplace.

The merchant needs to connect the site to their WooCommerce.com account to view this list and install, update, and enable the products.

If a subscription is expired, the merchant will be prompted to renew it.

My Subscriptions API

My Subscriptions data uses /wc/v3/marketplace/subscriptions API endpoints to list, install, connect, and update products.

You can find a full list of endpoints in the subscriptions API source code.

Project Structure

The project is structured as follows:

  • components: The React components used in the Marketplace page.
  • contexts: React contexts.
  • utils: Functions used to interact with APIs.
  • stylesheets: Shared stylesheets.
  • assets: Images.

Development

This feature is part of WooCommerce Admin and uses the same development environment.