Commerce components
Product cards and details, the cart, home-page blocks, and store-level widgets.
The components that sell: the product card you see in every grid, the product page blocks, the cart, and the blocks a merchant arranges on the home page. They talk to the Salla SDK for you, so "Add to cart" really adds to the cart.
Entries
The product tile of every grid: image, badge, name, price, rating, wishlist heart and a real Add to cart button, in five layouts.
ProductsSliderA carousel block that loads products from a source you name (latest, offers, a category…) and draws a ProductCard for each.
FixedProductsA home block that fetches products from a source and shows up to four ProductCards in a fixed grid, with an optional title.
AddToCartFormThe product page buy box: options, notes and files, live price, quantity and the Add to cart button, submitted through Salla's SDK.
ProductGalleryA product page's image slider with thumbnails, an in-page zoom popup, video and 3D slides, replaceable through the registry.
ProductDetailsThe information half of a product page: brand, name, rating, price, description, tags, share and wishlist, SKU and stock counters.
CartItemOne line of the cart page: picture, name, prices, offers, a quantity input and a delete button that change the shopper's real cart.
CartSummaryThe cart page sidebar: free-shipping bar, loyalty and gift widgets, totals, a coupon box and the Complete Order button.
SeoCartWidgetDraws nothing: on the cart page it pushes Google Tag Manager checkout events for each step and sets the browser tab title.
registerHomeComponentsTells the engine which component draws each home page block, by the block path the Salla API sends. Call it once at startup.
DefaultHomeComponentsThe engine's 13 built-in home blocks, keyed by block path, ready to spread into registerHomeComponents.
HomeComponentRendererDraws one home page block from its API data: finds its registered component, wraps it in an error boundary, and defers it until visible.
registerHomeComponentConfigSets the placeholder, reserved height, class and id HomeComponentRenderer uses around your own home blocks before they load.
ComponentErrorBoundaryCatches an error thrown while a home block renders, logs it, and shows nothing in production so the rest of the page survives.
FixedBannerA single linked banner image, with a smaller image for phones and an eager-loading option for a banner at the top.
FeaturedProductsStyle1, 2 and 3Three featured-products home blocks: tabs with a main product, tabs that load their own products, and a large card beside small ones.
StoreFeaturesA grid of the store's selling points, each an icon, a title and a line of text, such as fast shipping or secure payment.
TestimonialsShows the store's customer reviews, fetched by Salla's reviews web component, with type, sort, limit and privacy options.
PhotosSliderAn autoplaying, centered carousel of linked images in wide 1200×300 frames, with pagination dots.
SquarePhotosSquare picture tiles that link somewhere, with optional text over each: one row up to three tiles, a three-column grid beyond.
ParallaxBackgroundA full-width picture behind a centered title and an optional call-to-action link, with an optional dark overlay.
YoutubeEmbeds a YouTube video with a lightweight player that loads YouTube's own player only when the shopper presses play.
BundleComponentHosts a home block that comes from an installed Twilight bundle (a component built outside the theme), rendered in the browser only.
StoreClosedNotificationA red, dismissible bar on product pages saying the store is closed for orders and when it opens; the engine shows it automatically.
GoogleTagBodyLoads a Google Tag Manager container on the page and filters sensitive fields out of dataLayer pushes; the engine mounts the store's automatically.
SiftSnippetLoads Sift's fraud-detection script with the store's beacon key and the customer id; the engine mounts it when the store has a key.
TwilightBundlesWatches the page for Twilight bundle elements and loads Salla's bundles runtime the first time one appears; mounted on every page.