Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default values for Blaze ad preview when fetching suggestions fail #13075

Open
JorgeMucientes opened this issue Dec 5, 2024 · 1 comment
Labels
priority: medium Planned tasks usually belonging to ongoing projects type: enhancement A request for an enhancement.

Comments

@JorgeMucientes
Copy link
Contributor

JorgeMucientes commented Dec 5, 2024

iOS counterpart: woocommerce/woocommerce-ios#14616

When Blaze API fails to load the suggestion we should avoid showing the ad preview empty and instead set some default values using the selected product data.

  • Use product name for ad title
  • Use product short description if available or Description for ad description.

The idea is to avoid this empty preview:

@JorgeMucientes JorgeMucientes added the type: enhancement A request for an enhancement. label Dec 5, 2024
@dangermattic
Copy link
Collaborator

dangermattic commented Dec 5, 2024

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Planned tasks usually belonging to ongoing projects type: enhancement A request for an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants