A user wants to replace “Sold Out” buttons with “Notify Me” buttons on their collection page’s quick buy feature, integrating Klaviyo’s Back in Stock (BIS) functionality.
Initial Problem:
The user attempted to add a Klaviyo BIS button to the quick-order-list but it didn’t work when replacing the sold-out code.
Solution Provided:
Replace the <span class="variant-item__sold-out"> element with a button containing Klaviyo BIS trigger attributes (klaviyo-bis-trigger, data-product-id, data-variant-id).
Ensure the Klaviyo BIS script is installed on collection pages.
The code should check if variant is unavailable (variant.available == false) and display the “Notify Me” button accordingly.
Current Status:
A complete code snippet was provided showing proper placement within the existing conditional logic.
Another user requested similar help but couldn’t follow the instructions, with an offer of assistance extended.
Summarized with AI on October 23.
AI used: claude-sonnet-4-5-20250929.
I’ve just added a back in stock button to my product and I would like it to show on the collection page too. The collection page uses a quick buy feature, and instead of the buttons saying “sold out”, I would like them to say “NOTIFY ME”
In the quick-order-list row, I tried to replace the sold out code with the below, but that didn’t work.