Skip to content

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

@JorgeMucientes

Description

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:

Metadata

Assignees

No one assigned

    Labels

    priority: mediumPlanned tasks usually belonging to ongoing projectstype: enhancementA request for an enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions