Skip to content

Add a global function to refresh the catalog#163

Merged
estevao90 merged 1 commit into
mainfrom
feat/add-catalog-refresh-global-function
May 21, 2026
Merged

Add a global function to refresh the catalog#163
estevao90 merged 1 commit into
mainfrom
feat/add-catalog-refresh-global-function

Conversation

@estevao90
Copy link
Copy Markdown
Collaborator

@estevao90 estevao90 commented May 21, 2026

This pull request introduces a new global function, lw_harbor_refresh_catalog(), which allows consumers to force a synchronous refresh of the product catalog from the Commerce Portal API.

It's required for LearnDash. LD has a page where you can download all the LD addons. Now that we are downloading it from Harbor, we need to update the "Refresh now" button to refresh the Harbor catalog. So users can see updates.

Demo: https://www.loom.com/share/6223fd8ebeb64e249c28ac2719beb6dd

@estevao90 estevao90 marked this pull request as ready for review May 21, 2026 14:41
@estevao90 estevao90 merged commit 698c541 into main May 21, 2026
24 of 34 checks passed
@estevao90 estevao90 deleted the feat/add-catalog-refresh-global-function branch May 21, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants