Skip to content

[Shopify] Pre-validate item before export in Add to Shopify action#7361

Open
onbuyuka wants to merge 2 commits intomainfrom
bugs/626637-add-item-to-shopify-prevalidation
Open

[Shopify] Pre-validate item before export in Add to Shopify action#7361
onbuyuka wants to merge 2 commits intomainfrom
bugs/626637-add-item-to-shopify-prevalidation

Conversation

@onbuyuka
Copy link
Contributor

@onbuyuka onbuyuka commented Mar 25, 2026

Summary

  • Add CheckItemCanBeExported and CheckItemVariantCount to ShpfyProductExport to validate items before export (blocked, empty description, >2048 variants)
  • Call pre-validation from the Item Card "Add to Shopify" action, preventing the misleading confirmation-then-silent-skip flow
  • Consolidate duplicate checks: the Add Item to Shopify report and CreateTempProduct now call the shared validation instead of maintaining their own copies
  • Add 3 TestPage-based tests covering blocked items, empty descriptions, and too-many-variants scenarios from the Item Card

Fixes AB#626637

🤖 Generated with Claude Code

Add CheckItemCanBeExported and CheckItemVariantCount to ShpfyProductExport
so the Item Card action and the Add Item to Shopify report catch blocked
items, empty descriptions, and too-many-variants before attempting export.
This prevents the misleading confirmation-then-silent-skip flow.

Consolidate duplicate checks: the report and CreateTempProduct now call
the shared validation instead of maintaining their own copies.

Fixes AB#626637

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@onbuyuka onbuyuka requested a review from a team as a code owner March 25, 2026 08:50
@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Mar 25, 2026
@github-actions github-actions bot added this to the Version 29.0 milestone Mar 25, 2026
@onbuyuka onbuyuka enabled auto-merge (squash) March 25, 2026 08:56
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AL Documentation Audit

Documentation gaps were detected in the following apps:

  • Shopify-Connector-Test: 0% documentation coverage
  • Shopify-Connector: 93% documentation coverage

To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.

Co-authored-by: Onat Buyukakkus <55088871+onbuyuka@users.noreply.github.com>
@onbuyuka onbuyuka requested a review from Groenbech96 March 26, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants