Revy UpSell Advanced Theme Settings

The theme settings were created to deal with specific settings of the app related to the theme, our staff can apply those settings or you, if you know what are you doing. 

Please ask for help from our support if you have any questions about this settings and we will answer you as soon as possible.

These settings need to be placed in some HTML file of your template, we do recommend putting this at the top of the revy-upsell-script.liquid file to keep all the code related to the app in just one place. 

Important: These settings need to be placed before our app script tag.

Below are an example of the revyUpsellConfig javascript global object with all possible options filled with examples of values:

		window.revyUpsellConfig = {
		disableApp: false,
		productFormSelector: "#add-to-cart-form",
		addToCartSelector: ".add-to-cart-button",
		disableInterceptor: true,
		disableFormTriggers: true


This setting is used to map your product form selector, by default our app tries to detect your add-to-cart form, but sometimes if your form tag is not usual you can use this setting to map your product form. Accepts any HTML selector.


Similar to productFormSelector but it maps your add-to-cart button, if you have used the setting above you don't need to use this one.


Our app by default sets up a request interceptor when the page loads, use this setting to disable this request interceptor.


If for some reason you don't want your add-to-cart forms triggering the Upsell app you can use this option.


Disable app in the current page.

These options are advanced and not required to set up the app, they are used in specific situations, please be careful when using these options, we do recommend you contact our support and describe your issue to us, this way we can help you better and avoid problems. If you have any questions or need any help please let us know at [email protected] and we will be happy to help.

Still need help? Contact Us Contact Us