RVI Recently Viewed Products

Set up same-size alternatives

With RVI Basic, a shopper who returns to a sold-out saved size can find an orderable alternative in that size. Test the flow in a theme preview before enabling it for buyers.

Try same-size alternatives

Sample catalog. Switch the saved size to see what RVI offers.

Saved size

Trail Sneaker · Size · EU 42 Sold out

RVI offers
  • City Sneaker · EU 42
City Sneaker
Orderable sizes · Größe · EU 42
Weekend Sneaker
Orderable sizes · Taille · EU 41
  1. Add the embed and block

    In Shopify’s theme editor, turn on the RVI product history app embed. Add the Recently viewed products block to a supported product, home or cart template and save.

  2. Match a variant option

    In Variant option to preserve, enter the option names your products use, separated by commas, for example Size, Größe. Each product must have exactly one of those names. Use the same value on both products, such as EU 42.

  3. Choose which products to consider

    Select up to six products under Alternative products. Leave the field blank to use Shopify’s related products. RVI considers products of the same vendor and type, or products that share an approved rvi-alternatives: tag.

  4. Run the test as a shopper

    Open a link to an unavailable variant in the theme preview. Allow preferences if Shopify asks. Visit another page with the block, find the original product in the history and open Find alternatives. Choose a matching option only after checking its availability.

Keep your stock alert and test a same-size alternative

  1. In Online Store → Themes, duplicate your theme and open the draft editor. Leave your existing Notify me control in its usual place near the size picker or buy buttons.

  2. In the draft, turn on the RVI product history embed. Add the RVI wishlist as a separate Apps section below the product details. In Variant option to preserve, enter your size option name. Under Alternative products, select a comparable product with the exact size in stock, then save the draft.

  3. In the draft preview for the same market, open a sold-out size, such as EU 42. Open and close your existing alert form to check it still works. Allow preferences if Shopify asks, choose Save selected variant and open Wishlist. Select Find alternatives and open the result. Verify the product page selects EU 42 and lets you add that exact variant to the cart.

When the block offers no alternative

  • Check that Basic is active, the embed and block are enabled, and the option is filled in on the block you are viewing.
  • Check that the exact selected variant appears in the history and is unavailable to order. A variant with continue selling enabled may still be orderable.
  • Check that each product has exactly one configured size option with the same value. Check stock in the same market. If several variants tie, review the other option values or choose a product with an unambiguous match.

Frequently asked questions

Can I try it before changing my live store?

Yes. Set up the embed and block on an unpublished theme and follow the shopper test above. The sample footwear audit includes a Theme Editor shortlist with the option names and products to select.

Open the sample footwear audit
Why does stock differ between fulfillment locations?

Compare two groups of Shopify locations for the same variant. The All states export shows whether units on hand are available, committed, or unavailable. Incoming stock appears separately. Verify which locations can ship to the buyer’s market in Shopify.

Try the location comparison
Can I match sizes across brands?

Yes, when you have checked that the sizes are comparable. Give both products the same rvi-alternatives: tag and use the same option value. RVI compares the configured value, such as EU 42, and checks whether the alternative is orderable.

When does a replacement enter the cart?

The shopper opens the alternatives and chooses an exact variant. Eligible variants have an Add to cart button. The shopper can also open the product page to confirm the details.

Where is browsing history stored?

Shopify’s preferences setting controls whether RVI remembers products in the shopper’s browser. The shopper can clear the history directly from the block.

How do I add the guest wishlist?

With Basic, add the RVI wishlist app block to a product template in the theme editor. Turn on the RVI product history app embed so shared selections open on product pages. Set the variant option to match if you also want same-size alternatives in the wishlist.

Try the guest wishlist with sample shoes
What should I save before switching wishlist apps?

Keep the current app installed while you save the wishlist data you need. The export check shows whether each saved item has a shopper, list, product and variant reference.

Try the wishlist export check
Where can I get my current Swym wishlist data?

Swym’s activity report lists additions in a selected period. Ask Swym support for an export of the items currently saved, with the exact variant on each row.

See what a Swym activity file contains
Why does my Shopify shoe-size filter show sold-out sizes?

The storefront filter checks the selected option. Add Shopify’s Availability filter to also check stock at the selected variant.

Compare the Shopify filters on your store