shopify-admin-compare-at-price-cleanup

Clear stale Shopify compareAtPrice values using GraphQL bulk updates.

174|18|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/40RTY-ai/shopify-admin-skills --skill shopify-admin-compare-at-price-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shopify-admin-compare-at-price-cleanup
Source: https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/merchandising/shopify-admin-compare-at-price-cleanup
Command: npx skills add https://github.com/40RTY-ai/shopify-admin-skills --skill shopify-admin-compare-at-price-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stale or incorrect compare-at prices leave outdated strikethroughs on your Shopify storefront, creating the impression of discounts that are no longer valid or violating advertising expectations in some regions.

Core Features & Use Cases

  • Removes no-discount strikethroughs: Clears compareAtPrice when the current price is greater than or equal to compareAtPrice, so “on sale” visuals reflect reality.
  • Removes stale compare-at pricing: Clears compareAtPrice when it has been set longer than a configurable age threshold, preventing “always on sale” optics from lingering.
  • Auditable and safe by default: Runs as a CSV-producing dry run first, then performs bulk updates only when you explicitly switch to live execution.

Quick Start

Run shopify-admin-compare-at-price-cleanup with dry_run enabled for mystore.myshopify.com, then review the generated compare_at_cleanup CSV before running again with dry_run set to false.

Frequently Asked Questions about shopify-admin-compare-at-price-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bulk remove stale compare-at prices in Shopify?

Shopify compare-at price cleanup clears compareAtPrice values when the current price is greater than or equal to the compare-at price, or when the value has been set longer than a configurable age threshold. This ensures your storefront discount visuals reflect reality.

How do I safely audit and clean misleading Shopify storefront strikethroughs?

You can safely audit Shopify strikethroughs by running a dry-run cleanup that queries productVariants and outputs a CSV audit file. Review the generated compare_at_cleanup CSV to verify which stale compare-at prices will be cleared before executing live updates.

Can I filter Shopify variant bulk updates to only clear compare-at prices for specific catalog sections?

Yes, Shopify variant bulk updates support scoped filtering to target specific catalog sections. This allows you to limit the compare-at price cleanup to certain products or collections before running the GraphQL productVariantsBulkUpdate mutation.

Do I need authenticated Shopify Admin access to fix legacy product pricing?

Yes, you need authenticated Shopify Admin access to fix legacy product pricing. The cleanup process uses GraphQL productVariants queries and productVariantsBulkUpdate mutations, which require secure administrative permissions to read and modify catalog data.

Why does my Shopify product still show an on sale strikethrough after a price increase?

Your Shopify product shows an on sale strikethrough because the compare-at price was not cleared after the price increase, leaving a stale or invalid discount reference. Clearing the compareAtPrice value removes the misleading strikethrough visual.