# Shopify Developer & Theme Customization

Most Retail Cloud Connect storefronts configure filters, translations, autocomplete, product cards, and layouts directly inside the Retail Cloud Connect Shopify App without editing theme code. Use the guides in this section when a theme developer or agency needs custom styling, storefront JavaScript hooks, bespoke Web Components, or direct headless API calls.

<br/>

## Choose the Right Integration Layer

{.compact}
| Goal | Recommended approach |
| --- | --- |
| Brand colors, typography, spacing, and card radii | Override Studio or `.rcc-dynamic` CSS custom properties in [Styling App Blocks](./customizing-app-blocks.md) |
| Preview design changes before going live | Test in a named profile with [Storefront Settings Profiles](../theme-installation/storefront-settings-profiles.md) |
| Centralize small theme-specific Retail Cloud Connect scripts | Render one [`snippets/nimstrata.liquid`](./nimstrata-liquid.md) file from `layout/theme.liquid` |
| Configure `window.Nimstrata` startup properties or active store place | Set properties before App Block scripts run via [Window Nimstrata Properties](./window-nimstrata.md) |
| Apply hidden market/B2B gates, custom switches, or conditional facets | Configure JavaScript filter hooks in [Custom and Default Filters](./custom-and-default-filters.md) |
| Preserve URL parameters from a previous search provider | Map legacy query keys with [Keep Existing Links Working](./url-key-mappings.md) |
| React to result loads, autocomplete opens, or cart additions | Listen to public events and signals in [App Block Events](./app-block-events.md) |
| Insert promotions, editorial banners, or ad tiles inside product grids | Configure Liquid `<template>` or Web Component slots in [Search Grid Content](./search-grid-content.md) |
| Replace the empty search or collection state | Register a custom `rcc-search-no-results` element in [Custom No Results Page](./search-no-results-component.md) |
| Add bespoke badges, linked-product swatches, or third-party wishlists to cards | Register a Product Card Web Component in [Custom Components](./custom-components/index.md) (see [Swym Wishlist](./custom-components/swym-wishlist.md)) |
| Build a headless storefront on Hydrogen, Oxygen, or custom stack | Call Nimstrata endpoints directly with [Storefront API](./storefront-api.md) |

<br/>

## Implementation Best Practices

- Prefer built-in app settings in [Filters & Data](../filters-and-data/index.md), [Translations](../translations.md), [Autocomplete](../autocomplete.md), [Product Card Builder](../product-card-builder/index.md), and [Layout Settings](../theme-installation/layout-settings.md) whenever they cover the requirement.
- Keep custom JavaScript and Web Component includes in [`snippets/nimstrata.liquid`](./nimstrata-liquid.md) rather than scattering scripts across multiple templates.
- Scope custom CSS to `.rcc-search[data-theme='studio']` or `.rcc-dynamic` variables before writing deep component selectors.
- Escape shopper input and API values with `textContent` or Liquid escaping rather than interpolating raw strings into `innerHTML`.
