Beispiele für die Migration von Shopify Scripts
Jede Form von Shopify Script, die wir katalogisiert haben, mit dem ursprünglichen Ruby, dem, was daraus wird, dem genauen Warenkorb als Beleg und den Absagen im vollen Wortlaut.
- Script-Formen
- 42
- Heute nachgebaut
- 38
- Abgelehnt, mit Grund
- 21
Warum die Absagen auf dieser Seite stehen
Kein Migrationswerkzeug veröffentlicht, was es nicht kann, deshalb findet ein Händler, der nach einer bestimmten Script-Form sucht, nur Marketing und sonst nichts. Jede Absage hier steht mit dem Grund da, mit dem genauen Wortlaut, den die App zeigt, und mit einem Link zu Shopifys eigener Dokumentation, wann immer der Grund bei Shopify liegt und nicht bei uns.
13 der 21 Absagen in dieser Bibliothek sind unsere eigene Lücke, und wir sagen das auch. 2 sind Grenzen in Shopify, die keine Rabatt-App umgehen kann, und 4 sind gar keine Rabatte: Sie brauchen eine andere Art von Shopify-App, die auf der Seite genannt wird.
Wie Ihr Script geschrieben wurde
Die zwei Dialekte, in denen das meiste eingefügte Ruby geschrieben ist, und was jeder davon sofort verrät.
- Help Center script templateNachgebaut
The dialect Shopify’s own documentation taught, with its settings block above a do-not-edit banner.
- Script Creator outputNachgebaut
Generator output, with a CAMPAIGNS array at the bottom that states the merchant’s intent as data.
Preise und Prozente
Einen Preis setzen, einen Betrag abziehen, und das Paar, das sich nur durch ein Minuszeichen unterscheidet.
- Fixed price per itemNachgebaut
Everything in the clearance line repriced to one round number per unit.
- Amount off each itemNachgebaut
A flat sum taken off every unit, however many the shopper bought.
- Amount off the orderNachgebaut
One lump sum off the whole cart, spread across the lines.
- Sitewide percentage offNachgebaut
One percentage off the whole catalogue, with no condition attached.
- Capped percentage discountNachgebaut
A percentage with a ceiling on it, so a large cart never gave away more than a set maximum.
- Remove VAT outside the EUNachgebaut
Tax-inclusive prices reduced for shoppers outside the VAT area.
Mengen, BOGO und Gratisartikel
Kauf-und-erhalte-Angebote und die Zählweisen, die verändern, wie viel Sie verschenken.
- Buy one get one freeNachgebaut
A set of paid units earns an extra unit at no charge.
- Buy X get Y, inclusiveNachgebaut
The same buy-and-get offer, counted so the reward sits inside each set rather than beside it.
- Limit the discounted unitsNachgebaut
The discount applied to the first few units only, with the rest at full price.
- Percentage off the cheapest itemNachgebaut
The least expensive thing in the cart discounted, once.
- BOGO across the cartNachgebaut
Buy-and-get applied to the whole eligible selection rather than within one line.
Ausgabenschwellen
Vorteile, die freigeschaltet werden, sobald der Warenkorb genug wert ist.
- Spend threshold, percentageNachgebaut
A percentage that unlocks once the cart is worth enough.
- Spend threshold, amount offNachgebaut
A flat sum off the order once the cart crosses a value.
- Discounted cart subtotalShopify-Grenze
A threshold read from what was left after a code had already come off.
Versand
Rabatt auf die Lieferung, und die Versand-Scripts, die sich als gar keine Rabatte entpuppen.
- Percentage off shippingNachgebaut
A share taken off every delivery rate at checkout.
- Amount off shippingNachgebaut
A flat sum off the delivery charge, floored at free.
- Flat rate shippingNoch nicht möglich
Every delivery rate rewritten to one price rather than reduced by an amount.
- Free shipping over a thresholdNachgebaut
Delivery drops to free once the cart is worth enough.
- Free shipping for tagged customersNachgebaut
Free delivery for one group of customers and nobody else.
- Discount one named rateNoch nicht möglich
One delivery option discounted while the others stayed at full price.
- Free shipping on certain productsNoch nicht möglich
Delivery went free because of what was in the cart, not what it was worth.
- Hide shipping ratesAndere Shopify-API
A delivery option removed from checkout under a condition.
Wen der Rabatt erreicht hat
Kunden-Tags, Bestellhistorie und Gesamtausgaben.
- First order discountNoch nicht möglich
A discount for shoppers with no order history, or with enough of it.
- First time customer, cheapest itemNoch nicht möglich
A new-customer gate wrapped around a cheapest-item reward.
- Lifetime spend discountNoch nicht möglich
A reward for customers who had spent enough over their lifetime.
- Customer tag discountNachgebaut
A discount only tagged customers ever saw.
Rabattcodes
Scripts, die auf einen Code geachtet, eine ganze Familie davon erkannt oder einen abgewiesen haben.
- Reject a discount codeNoch nicht möglich
A code the shopper typed, turned away at checkout with a message.
- Discount code drivenNachgebaut
Script logic that only ran when the shopper had typed a particular code.
- Discount code patternNoch nicht möglich
A whole family of codes driving one rule through a prefix match.
Geltungsbereich und Ausschlüsse
Was ein Rabatt betreffen durfte und was er unangetastet lassen musste.
- Scoped to a tag or vendorNachgebaut
A discount limited to products carrying one tag, vendor or type.
- Exclude sale itemsNachgebaut
Already-marked-down products protected from a second discount.
- Exclude gift cardsNachgebaut
Gift cards left out of a discount that would otherwise have hit them.
- Line item propertyNoch nicht möglich
A discount keyed on a property attached to one cart line.
- Exclude subscription itemsNoch nicht möglich
Subscription lines held apart from the discount that hit everything else.
- Skip already discounted itemsShopify-Grenze
Lines another discount had already touched, held back from a second one.
Überhaupt kein Rabatt
Scripts, die den Warenkorb oder den Checkout verändert haben statt den Preis.
- Purchase quantity limitAndere Shopify-API
A cap on how many units a shopper could buy, enforced by trimming the cart.
- Remove products by countryAndere Shopify-API
Products that could not ship to the shopper’s country, quietly deleted.
- Hide a payment methodAndere Shopify-API
A payment option taken off checkout under a condition.
Probleme mit der Datei selbst
Zwei Arten, wie ein eingefügter Text unlesbar ist, bevor daraus etwas nachgebaut werden kann.
- Several campaigns in one fileNoch nicht möglich
One file holding several separate rules that ran one after another.
- Copied from a forum threadEinfügen prüfen
A paste that lost its instance variables on the way through a forum post.
Fügen Sie Ihr totes Script ein und sehen Sie, was daraus wird
Der Nachbau wird mit dem Betrag abgeglichen, den Ihr altes Script berechnet hat, bevor irgendetwas veröffentlicht werden kann.