How does the Exclude By URL work in the Buy Me App?
List of Excluded Widget on URLs: If you don’t want to show any widgets like Sticky Buy Me Widget, Sticky Buy Me Cart, Sticky Cart Preview, and/or Quick Buy Me Widget then add the page URL here and select the appropriate widget from the dropdown menu. Later you want to show widgets, then press the delete icon on the right side.
Below are some example conditions where you can use the Exclude By URL feature to hide the widget.
If you don’t want to show Sticky Buy Me Widget, Sticky Buy Me Cart, Sticky Cart Preview, and/or Quick Buy Me Widget on certain URLs.
If you are selling subscription-based products and you don’t want to show the Sticky Buy Me Widget on certain URLs.
If you have pre-order products where you don’t want to show the Sticky Buy Me Widget.
If you don’t want to show the Sticky Buy Me Cart on your store’s cart page.
Also, you can exclude the widget(s) for a page or collection(s) of pages by using the wild-card character{*}. For example, if you want to exclude the widget for all the products of a specific collection then you can exclude the widget by example.com/collections/collection_name/*
Valid URL Examples:
example.com/*
example.com/collections/*
example.com/products/*
example.com/blogs/*
example.com/pages/*
example.com/accounts/*
Invalid URL Examples:
example.com*
example.com/collections*
example.com/*collections
example.com/*products*
example.com/*products/*
example.com/*/products*
NOTE: Shopify allows two ways to reach the product page:
1) example.com/products/product_name
2) example.com/collections/collection_name/product/product_name
Here, the app will exclude the widget for the URL that you have specified. For example, if you exclude through the first URL, the app will not display the widget on the product page when a customer visits the product page by the first URL.
If the customer visits the product page by the second URL, then the customer will be able to see the widget on the product page.
Updated on: 09/02/2024
Thank you!