Skip to main content

What is the Everywhere Method and how do I use it?

Magical Fees

Written by Stephen Smith

The Everywhere Method is the newest way to create a fee in Magical Fees, and the simplest to set up. You choose a price and a few conditions, and the fee is added automatically wherever Shopify builds the cart. There is nothing to add to your theme and no app block to activate, so nothing breaks when you change themes.

Where Everywhere fees apply

One fee rule covers:

  • Your online store and cart

  • Checkout

  • Headless storefronts

  • Shopify POS

  • Draft orders

Conditions are checked live at the moment of purchase. If you update a product tag or change a collection, your fees follow automatically.

Note: fees are not added to carts that contain a subscription item.

Conditions you can use

  • Product tag

  • Product vendor

  • Collection

  • Specific products

  • Product type

  • Storefront country (the country your customer is shopping from)

  • Billing location (a country, or a state or province, from the billing address the customer enters at checkout)

  • Customer tags

  • POS location (the store location of a Shopify POS sale)

Billing location works a little differently from the other conditions. Shopify only shares the billing address partway through checkout, so a fee that uses it is added at the same point as tax rather than on the cart page. If your fee needs to follow the delivery address instead, such as a bottle deposit, use the Function Method.

POS location also works a little differently. "is one of" and "is not one of" let you pick from your store locations, and they only match a Shopify POS sale, because an online order has no POS location. Two more choices need no value: "is set (any POS sale)" matches every in-store sale, and "is not set (not a POS sale)" matches every sale that is not in store. Use them to charge a fee differently in store and online. For example, to charge a fee on every in-store sale, and online only when the billing address is in California, create two fees for the same collection. Give the first fee the conditions Billing location is one of California and POS location is not set (not a POS sale), and choose "When the cart meets all of the conditions below". Give the second fee the condition POS location is set (any POS sale). The two fees never apply to the same order.

Pricing options

  • A fixed amount, or a percentage of the matching product's price

  • Optional minimum and maximum caps on percentage fees

  • Works in every currency you sell in

  • A "Charge tax on this fee" setting that follows your store's tax settings

How to create an Everywhere fee

  1. In Magical Fees, go to Fee Rules and click Create fee rule.

  2. In the Select a Method popup, choose Everywhere Method.

  3. Give the fee a title. You can also add details and an image that customers will see.

  4. Set the price: a fixed amount or a percentage, with optional minimum and maximum caps.

  5. Add one or more conditions. The summary panel shows what your fee will match as you build it.

  6. Click Save.

Storage limit

All Everywhere fee rules share one storage limit, shown as a Capacity meter in the fee editor. Each condition list (like product tags or collections) can hold up to 100 entries. If you see a save error, split your rules into more than one fee or shorten the condition lists.

When to use the Function or Block Method instead

Choose the Function or Block Method when your fee needs something the Everywhere Method does not support:

  • Payment method conditions (like credit card or cash on delivery fees)

  • A percentage of the entire order total

  • Delivery (ship-to) state or province targeting. The Everywhere Method can target the state or province on the billing address, but not the one the order ships to

  • A customer consent pop-up

Did this answer your question?