EulandaXtools — Funktionsreferenz
Prüft ob die OrderDocumentDownload-Installation im Shopify-Theme vorhanden ist.
Test-ShopifyOrderDocumentDownload [-Shop] <string> [-Token] <string> [-ApiVersion] <string>
[[-ThemeId] <long>] [[-TimeoutSec] <int>] [<CommonParameters>]Prüft ob das Liquid-Snippet und der Render-Tag für Bestelldokument-Downloads im aktiven Shopify-Theme installiert sind. Nutzt Get-ShopifyThemeList und Get-ShopifyThemeAsset zur Prüfung.
-Shop
Type: stringShopify-Shop-Domain, z.B. 'mein-shop.myshopify.com'.
-Token
Type: stringAdmin API Access Token (shpat_...) der Custom App.
-ApiVersion
Type: stringAPI-Version, z.B. '2025-01'.
-ThemeId
Type: longOptionale Theme-ID. Wenn nicht angegeben, wird das aktive Theme verwendet.
-TimeoutSec
Type: int
Default: 60HTTP Timeout in Sekunden.
pscustomobject -- Objekt mit Installed, SnippetExists, RenderTagExists, ThemeId, ThemeName.Test-ShopifyOrderDocumentDownload -Shop 'mein-shop.myshopify.com' `
-Token 'shpat_abc123' -ApiVersion '2025-01'