Improve: Added Listing Importer and Mailchimp extension descriptions#2866
Open
RabbiIslamRony wants to merge 1 commit into
Open
Improve: Added Listing Importer and Mailchimp extension descriptions#2866RabbiIslamRony wants to merge 1 commit into
RabbiIslamRony wants to merge 1 commit into
Conversation
eeea4cb to
205771e
Compare
205771e to
6cc9cc7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
What kind of change does this PR introduce?
Description
How to reproduce the issue or how to test the changes
This fixes the missing Mailchimp Integration description on the Directorist Themes & Extensions subscription list.
The subscription/available-extension flow builds item keys from product permalinks. The current Mailchimp product URL resolves to
directorist-mailchimp, while the local extension metadata is stored underdirectorist-mailchimp-integration. Because there was no alias between those keys, the available subscription row could render the Mailchimp title from subscription data but fail to find the local description from the extension list.This change adds Mailchimp key aliases so both
directorist-mailchimpanddirectorist-mailchimp-integrationresolve to the same extension metadata. It also updates the local Mailchimp product URL/thumbnail reference.This also adds Directorist Listing Importer to the local fallback extension list with its thumbnail asset, so the extension can be displayed when the remote products API is unavailable or falls back to bundled metadata. The admin plugins list script now normalizes a Listing Importer row from
data-slug=listing-importertodata-slug=directorist-listing-importer, so it is grouped with Directorist extensions.Directorist > Themes & Extensions.Mailchimp Integrationin the available subscription extensions list.directorist-mailchimp.Directorist Listing Importerappears with its description and thumbnail.data-slug=listing-importeris normalized/grouped asdirectorist-listing-importerwith the Directorist extensions list.Any linked issues
Fixes # N/A
Screenshot
Checklist