When it comes to enhancing the user experience on Product Detail Pages (PDPs), establishing clear widget rules is essential. Widgets can significantly impact how users interact with PDPs. In this article, we will explore the importance of clear widget rules and provide guidance on how to establish them effectively to maintain a positive user experience.
Here's how to do it:
Setting the widget rule to include the URL handle. The handle is like a user-friendly ID for each product and it's always the last part of a Shopify PDP URL. By using the handle, we can easily identify and set rules for the widget to show up on all product pages, regardless of the collection or other factors. This way, the widget will be consistently displayed across all product pages.
URL Includes:
{handle}
Example - URL includes:
fairy-floss-pink-hemp-shibari-rope
Structure of a Shopify URL -
https://${appUrl}/products/${handle}
This is how your rules page should look if you want to include your widget in all "fairy-floss-pink-hemp-shibari-rope" PDPs:
This is how your rules page should look if you want to display your widget on just the base PDP (without collection):
This is how your rules page should look if you want to display your widget on a PDP through a specific collection:
That's all for now! If you have any questions, feel free to reach out to our support team at support@gotolstoy.com. We're here to help and provide assistance whenever you need it.