Web.Based.Army

Anvil documentation

Everything you need to set up and customize the Anvil Shopify theme. Version 1.0.0.

Getting started

  1. Add the theme. In your Shopify admin, go to Online Store > Themes. Add Anvil from the Theme Store, or select Add theme > Upload zip file if you received a zip file from us.
  2. Customize. Select Customize on the theme. Start with Theme settings (the paint brush icon) to set your logo, colors and fonts, then edit the sections on each page.
  3. Set up menus. Go to Online Store > Navigation. The header uses your Main menu and the footer uses your Footer menu. Nest menu items to create dropdowns.
  4. Publish. When you’re happy with the preview, select Publish.

Tip: before you make big changes to a live theme, select Duplicate in the theme’s menu so you have a backup.

Theme settings

Open Customize, then select Theme settings. Settings here apply to the whole store.

Logo
Upload a logo of any shape and set its width. Without a logo, the store name is shown with an optional anvil emblem. Add a 32 x 32px favicon here too.
Colors
Edit the four color schemes: Black, Charcoal, Red and Light. Every section has a Color scheme setting, so you can mix them down the page. Sale badge colors are set separately.
Typography
Choose heading and body fonts from the Shopify font library, turn italic and uppercase headings on or off, and scale heading sizes.
Layout
Set the page width, the size of the angled corners on buttons, cards and images (0 gives square corners), and the strength of the grain texture.
Animations
Turn reveal animations, 3D product card tilt, magnetic buttons, scroll-reactive scrolling text and the scroll progress bar on or off. Animations are always reduced for visitors who prefer reduced motion.
Product cards
Set the image ratio and fit, the second image on hover, ratings, vendor, the option count (for example, "6 flavor options") and quick add.
Cart
Choose a cart drawer or cart page, set a free shipping threshold for the progress bar, and enable order notes.
Search
Enable search suggestions and list popular searches, separated by commas.
Social media
Add your profile links and a default social sharing image.

Sections

Add sections to any page with Add section in the theme editor. Every section has its own Color scheme setting.

Hero
Full-screen image or video with a heading, two buttons, badges and an animated anvil emblem. Italicize words in the heading to highlight them in the accent color.
Scrolling text
Large outlined or solid words that scroll across the page and speed up while customers scroll.
Featured collection
Products from up to five collections, shown as tabs, in a carousel or grid.
Featured product
A single product with media, variant picker and buy buttons.
Collection cards
Image cards that link to collections, ideal for shopping by goal.
Image with bars
An image beside animated bars, for example ingredient amounts.
Stats
Up to four numbers that count up when they scroll into view.
Image banner
A promotional banner with an optional rotating discount code badge.
Testimonials
Customer quotes with star ratings in a swipeable carousel.
Icons with text
Up to four icons with short trust messages.
Email signup
Collects emails into your customer list with marketing consent.
Rich text, Contact form, Custom Liquid
General content, a contact form for your contact page, and a section for app snippets or custom code.

Product pages

Every part of the product information section is a block that you can reorder, remove or duplicate.

  • Variant picker: options show as buttons. Connect an option to a swatch metafield to show color or image swatches.
  • Purchase options: appears only on products with selling plans, such as subscriptions.
  • Buy buttons: add to cart, quantity, dynamic checkout buttons, Shop Pay Installments, an optional low stock message (10 or fewer in stock) and pickup availability for locations with local pickup turned on.
  • Collapsible row: use for ingredients, nutrition labels or directions. Connect the content to a product metafield to show different content on each product.
  • Complementary products: shows products you choose in the Search and Discovery app.
  • Media: images, videos, YouTube and Vimeo links, and 3D models with view in your space on supported phones. Selecting a variant shows its image.
  • Gift cards: customers can send a gift card to a recipient with a message and delivery date.
  • Unit prices: set a unit price on a variant and it shows on product, collection and cart pages.

Cart

The cart drawer slides in when a product is added. It shows the free shipping progress bar, line item and order discounts, subscription details and unit prices. Choose Page in Theme settings > Cart to send customers to the cart page instead.

FAQ

Why don’t star ratings show on my products?

Ratings read the standard reviews.rating metafield. Install a product reviews app that fills this metafield, such as Judge.me or the Shopify Product Reviews app, and make sure Show product rating is on in Theme settings > Product cards.

How do I add a "Best seller" badge to a product?

Add a product tag that starts with badge:, for example badge:Best seller. The text after the colon appears on the product card.

Why doesn’t the free shipping bar appear?

Set a threshold above 0 in Theme settings > Cart. The bar only appears when the customer shops in your store’s default currency, because the threshold is set in that currency.

Where do I set up subscriptions?

Install a subscriptions app, such as Shopify Subscriptions, and add a selling plan to the product. The Purchase options block then appears automatically on the product page.

Why don’t complementary products show?

Complementary products are set per product in the Shopify Search and Discovery app. Add them there, then add the Complementary products block to your product template.

How do I show color or flavor swatches?

Connect your product option to a category metafield that has swatches, such as Color or Flavor, in the product editor. Swatches then show on the product page and in collection filters.

Can I turn off the animations?

Yes. Each animation can be turned off in Theme settings > Animations.

The country or language selector isn’t showing.

Selectors appear only when you sell in more than one country or language. Add markets in Settings > Markets and languages in Settings > Languages.

Will updating the theme remove my changes?

Theme editor settings carry over when you update through the Shopify admin. Code edits do not, so keep a record of any code changes before updating.

Support

We answer questions about Anvil’s features and settings, and fix bugs in the theme. We reply within two business days.

Theme support doesn’t include custom code changes, app setup, or design work. These services are available separately through our ecommerce services.

Editing theme code isn’t supported. If you change code, duplicate your theme first, and consider hiring a Shopify Partner for the work.

Contact support