Learn how to conditionally display retailer headings and buttons, optimizing your author website for better user experience and increased book sales.
In this lesson, you’ll discover how to conditionally display an “Other Retailers” heading and purchase options on your author website using Breakdance. By leveraging dynamic fields and custom conditions, you’ll ensure that only relevant retailer buttons appear, streamlining your site’s design and enhancing the user experience. This approach not only keeps your layout clutter-free but also boosts SEO, ultimately helping you attract more readers and increase book sales.
Before we add the other other retailers div for the buttons we need to add the Other Retailers heading with a condition to only show if we have said there are other retailers for this Book Post
If I edit the Adventure Danger Book Post and scroll down to the Other Retailers selection field I can see that Adventure Danger is set to yes.
I’ll view that post and right there is the heading.
But when I look at Murder at theParsonage, the first book in Dirk’s Amazon exclusive cozy series, the Other Retailers Heading is not there. That’s because Other Retailers is Set to no.
Next we will add the Div to hold the other retailers buttons using a Grid layout. We want this Div to use the same conditions as the heading and only display when there are other retailers.
We’re going to repeat that process for Other Retailer Button 2.
And I’ll repeat this process for all four buttons and save the template.
When I check the live Adventure Danger book post I see that I have the heading and all the buttons as expected. When I look at any of the Cosy Mystery series I only see the Kindle Unlimited Button.
You’ve now learned how to add conditional headings and retailer buttons to your author website, ensuring that visitors only see relevant buying options. By leveraging Breakdance’s conditional logic, you’ve refined the user experience, streamlined your layout, and improved site discoverability. With these skills, you can offer a tailored browsing journey that boosts engagement, enhances SEO, and encourages more book sales.