Skip to content

Product Fields Auto-Generation does not populate meta tags on products added via API #37503

Open
@lytesaber

Description

@lytesaber

Preconditions and environment

  • Magento Open Source 2.4.5-p2
  • PHP 8.1

Steps to reproduce

  1. Log into Magento admin
  2. Browse to Stores > Settings > Configuration > Catalog > Product Fields Auto-Generation
  3. Configure Mask for Meta Title (Default Config): {{name}} | Test Store
  4. Configure Mask for Meta Descripton (Default Config): {{name}} at Test Store. Free delivery on orders over $75.
  5. Save configuration
  6. Create/post a new product record via Magento's REST API (Name: Example Product)

Expected result

New product is created with both Meta Title and Meta Description fields based on the Product Fields Auto-Generation mask configuration.

Expected Meta Title Value:
Example Product | Test Store

Expected Meta Description Value:
Example Product at Test Store. Free delivery on orders over $75.

Actual result

Both Meta Title and Meta Description fields on the newly created product are blank.

Additional information

Product Fields Auto-Generation feature works for the product created manually in the Magento admin panel however not for products created programmatically via the API. Using the product fields auto-generation feature is still required even when syncing in new products from external POS or ERP systems which don't usually store website specific meta data.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SEOArea: SearchComponent: SearchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.5-p2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions