Superhero Technologies

Website elementsOffers & conversion

Cart

A shopping cart for website, built into your site with no plugin and no library. A cart button with its count and a drawer (a native <dialog>) listing the lines, for a shop on the Superhero Shop Worker. Kept in the browser per shop (20 lines, 1 to 20 of each), it re-checks stock on open and before checkout, asks ship or pickup, then sends ids and quantities, never a price, to the Worker and the buyer on to Square’s checkout page.

Neutral Goods

Your cart

Your cart is empty.

    • Enamel mug

    • Field notebook

    • Beeswax candle

    • Canvas tote

    What the shop answers at checkout

    You'll need to give us

    • Your Square account, connected to your site’s shopNeeded to startWe send you a link; you approve it on Square. Products, prices, photos and stock are edited in Square from then on.
    • How you ship: one flat rate, and the order total that ships freeLeave it out if buyers only pick up.
    • Where buyers can pick up their order, if they canFor example: the Saturday market, stall 14, 8 am to noon.

    Send these with your request and we can start straight away. Everything else is ours to do.

    Let visitors fill a cart on your own site and pay on Square’s secure checkout, with the stock checked before they get there.

    Also called

    WooCommerce cartShopify Buy Button cartEcwid cartSquare Online cartside cartcart drawermini cartadd to cart buttonslide-out cartshopping cart

    What it replaces

    • WooCommerce’s cart and mini cart
    • the Shopify Buy Button’s cart
    • Ecwid’s cart widget
    • Square Online’s cart
    • side-cart and cart-drawer plugins

    Good for

    A seller with a handful to a few dozen products who already sells in person with Square: candles, prints, coffee, merch, a maker’s stock. Shipping at one flat rate (free over an amount) or pickup at a market or the shop.

    Not for

    A catalog of hundreds of products, products with several option sets (size and color), live carrier rates, subscriptions or digital downloads. Those are a store platform’s job, and Shopify is the honest answer. Not without the Superhero Shop Worker: the cart has no checkout of its own.

    Accessibility

    Written so the page works for every visitor, whether they browse with a mouse, a keyboard or a screen reader, and whether or not they have asked for less motion.

    • The cart button is a real <button> with aria-haspopup="dialog", aria-controls and aria-expanded, named with its count (“Cart, 2 items”); the count badge is decoration.
    • The drawer is a native <dialog> opened with showModal(): the page behind is inert, focus stays in the drawer, and it lands on the drawer’s heading. Escape, the 44px close button and a click on the backdrop close it; focus returns to the cart button.
    • One polite live region per cart, for the count (“3 items in your cart”) and a refused add. Nothing in the drawer is live: after a checkout problem focus moves to the message, which is read on arrival.
    • Every line control names its line: “One more Enamel mug, Slate”, “Quantity of Enamel mug, Slate”, “Remove Enamel mug, Slate”. A short line’s message describes its quantity field. After a removal, focus goes to the next line’s Remove.
    • Ship or pickup and the pickup point are real radios in fieldsets with legends. The busy Check out button stays focusable (aria-disabled), so focus is never dropped.
    • Without JavaScript the cart cannot work, so its button and every add button stay hidden and a <noscript> line says so. prefers-reduced-motion: no slide.

    Where it's live

    • superherotech.ai: /elements/cart/ (demo)

    How to ask for it

    “The cart on our home page, with …”

    Name it, say which page and which part of the page it goes on, and say what goes in it: your photos, your words, your colors. That is a complete request. We build it, you approve it, and it goes live. If you know it by another name, from WordPress or from another site, that works too.

    More elements you can ask for: Before / After, Particle field, Mega menu, Video background, Parallax band, Scroll reveal, Business hours, News ticker, Flip box, Instagram feed, Accordion / FAQ, Card slider, Tabs, Info list, Video player, Testimonial carousel, Icon library, Animated text, Cookie consent, Animated background, Modal box, Announcement bar, Image hotspots, Info circle, Slide box, Countdown, Content toggle, Off-canvas panel, Video gallery, Map and directions, Link effects, Tabcordion, Tooltip, Responsive table, Notice, Toast, Loading, Menu button, Radio group, Stepper, Tags, Scrollbox, Sticker, Product list, Product page, Counter, Logo grid, Photo gallery, Separator, Call to action, Image effects. Or see all of them working.

    More in Offers & conversion

    See them all working
    • Product list

      Show everything you sell on one page, straight from your Square catalog, updated every time you change a product.

    • Product page

      Give each product its own page, with its photos, options and price straight from Square, and a button that adds it to the cart.

    • Call to action

      End each page with one clear next step, so visitors who are ready know exactly what to do.

    • News ticker

      Keep your latest news, offers and events turning over in one slim strip, so visitors see what is new without a banner shouting at them.

    Want the cart on your site?

    Tell us about the business. We build the site with it, launch it, and change it whenever you ask.

    Your favorites

    Nothing saved yet. Press the heart on any element, feature, style, flavor, palette or typeface pairing and it waits here for you.

    Your favorites go with you to checkout, so we know what you want on your site.

    Get Started

    Your $150 SEO audit, free

    We'll read up to ten pages of your site, see what your customers search for and who shows up instead. You'll see your score here in a minute or two, and the full plain-English report comes by email, so use an address you check.

    So we can check the searches people make near you. Leave it empty and we'll look for it on your site.

    We'll email your report either way.

    How we use these: our privacy policy.

    Any finding in this report that goes into a build with us does not add to the cost of the build. A person follows up after the report. More about the audit

    Message us