All Collections
Post Purchase Offer
Post Purchase Widget Installation
Post Purchase Widget Installation
Learn how to build and customize a post purchase widget
Strauss Van Wagenen avatar
Written by Strauss Van Wagenen
Updated over a week ago

Rebuy offers Post-Purchase solutions that differ greatly from Shopify and Recharge's Thank You pages. These offers are presented right before the customer checks out, after they have already bought a product.

  • Setting up is simpler than Thank You Pages.

  • Data source functionality is comprehensive.

  • The option for free shipping is available.

  • Styles cannot be altered as with Thank You Pages.

This new Post-Purchase offer has certain limitations, which are in part due to it being new and will become more extensive in the future. Additionally, Shopify has imposed intentional limitations on checkout and Post-purchase pages. If you desire any of the above features on your post purchase page, please consider using our Thank You Page widgets.

In this article you will learn how to build a post purchase widget which is the first step in getting it live. You will also need to build a flow and enable Rebuy as your post purchase provider in Shopify.

First things first! Please read over the following documents to ensure you know all there is about port purchase and it's capabilities, definitions, best practices, and limitations.

One you understand what a post purchase widget is and all of it capabilities, it is time to get started!

Creating a Widget

Navigate to Rebuy Admin and go to Widgets, then select “Post Purchase Offer.”

Next, click "Post Purchase Widgets" and then "New Widget" to create a new Post Purchase Offer

Customizing the offer

Once the widget is created, you have the authority to customize the recommendation displayed in the Data Source, how long the customer has to accept the offer, the language of the widget discounts, and much more!

Configuring recommendations

In order to change what Products are recommended, click the "Data Source" text above the widget preview:

You can use the dropdown to select a different data source if you wish to modify the recommendation rules and decide which items should be recommended. If you need more insight to data sources checkout more articles here.

Post Purchase does NOT support the following data source rules:

  • Cart Based Rules

    • Exceptions: Cart Subtotal, Cart Line Count and Cart Item count will work

  • Recently Viewed Endpoint

  • Buy it Again Endpoint

  • Products Search Endpoint

  • URL Based Rules

Building a Post Purchase Flow

Head over to the "Building a Post Purchase Flow" article.

Enabling Post Purchase in Shopify

Head over to the "Enabling Rebuy Post Purchase Offers In Your Shopify Admin" article.

Once you have your widget built, the flow enabled, and Rebuy configured as your post purchase provider in Shopify, you are LIVE!!

While not necessary, you can visit the widget page and mark your widgets as "installed" so that you know which ones you are using. This is not required, as the widgets will be live once you have them set up, activated the flows and Shopify admin settings as outlined above.

Additional configurations:

Product Limits

If you would like, you can display up to two products for each offer. The widget is set to show a single product by default, however you can change this in the general settings within the widget under the "product limit" area.

If you have the product limit set to 2, then you will see two products on the offer such as the following example.


One option is to set your recommendation to only permit a single quantity by default. However, if you wish to grant customers the ability to increase their quantity, you may activate the quantity feature after purchase. Enabling this feature will automatically set the starting quantity to 2, but you have the flexibility to adjust both the starting quantity and the maximum quantity to your desired settings.

Show Variant Selectors

Rebuy's default setting is to show variant selectors for your recommended product(s). However, if you prefer to restrict customers to purchasing only one variant, you can deactivate the variant selector. This will prevent the customer from modifying the variant.

Customization Blocks

You can customize the existing elements of the widget, like the Callout Banner, in the Blocks tab of the widget settings. Additionally, you can add more elements like images, timers, and extra text blocks.


Using the Discount tab, you have the ability to offer a discount on your item by either selecting a percentage discount or a fixed amount discount. Additionally, the "Discounted from" dropdown enables you to choose whether the discount should apply to the original price of the item or the Compare at price that you have set up for the product in Shopify.


You can customize a shipping rate specifically for the item featured in the widget by using the "Shipping Fee for Onetime" section of the Discount tab. Remember, these settings will only affect the item in the widget, so choosing "Free" shipping here will not make the whole order free of shipping charges.

Enable updating partial order

There have been times where Shopify will release post purchase orders when the customer's payment information is not valid or updated thus leaving you with a partially paid order. This system we built will remove line item from partial order if the customer did not update to a new payment method after 30 minutes. You can enable it by navigating to widgets > post purchase widget > advanced.

View Post Purchase Analytics

To view your post purchase analytics, click the view analytics button within the widget or go to the reports section to customize your timeframe. The button defaults to a 30 day report.

Post Purchase Limitations and Considerations

  • Shopify does have some limitations on what the Post Purchase will do and when it will fire. You can review those limitations here.

  • For more considerations, view this help document on Post Purchase Offer Considerations

  • Post Purchase does NOT support the following data source rules:

    • Cart Based Rules

      • Exceptions: Cart Subtotal, Cart Line Count and Cart Item count will work

    • Recently Viewed Endpoint

    • Buy it Again Endpoint

    • Products Search Endpoint

    • URL Based Rules

If you have any questions about post purchase widgets, send us those questions through the messenger on this page with your details in hand!

Did this answer your question?