Skip to content

Conversation

@DianaSol
Copy link

Description

Store-Aware Newsletter Sync:

  • The methods subscribeEmailToKlaviyoList and unsubscribeEmailFromKlaviyoList in Data.php now accept an optional $storeId parameter.

  • The $storeId is used to fetch the correct Klaviyo list and opt-in settings, ensuring that newsletter subscriptions and unsubscriptions are performed in the context of the correct Magento store.

Manual Testing Steps

Create different lists for differences stores. Place an order from any store and check that subscriber goes into the appropriate list.

@DianaSol DianaSol requested a review from a team as a code owner May 21, 2025 08:25
@klaviyoit klaviyoit requested a review from zchenk May 21, 2025 08:25
@kamidzi-klaviyo-integrations
Copy link
Contributor

@DianaSol - could you please add some tests?

@kamidzi-klaviyo-integrations
Copy link
Contributor

Closing due to inactivity.

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.

2 participants