FrancoisD inquired about implementing checkoutpage.co’s overlay feature on Discourse, specifically wanting to embed a buy button in a topic using provided JavaScript and HTML code. pfaffman suggested creating a theme component to enable this functionality. In response, Johani developed a custom theme component available at GitHub and demonstrated its use via a Theme Creator demo. The component allows users to insert a button using a simple [wrap=checkout ...] shortcode in posts, which dynamically generates a modal-triggering button based on seller and checkout IDs. Johani requested FrancoisD to test actual purchases to confirm functionality before moving the component to the official theme category. FrancoisD later confirmed the solution worked perfectly and thanked Johani for the effort FrancoisD. He later followed up to ask if the component had been officially published as a theme FrancoisD.
Everything seems to be working on our side but I haven’t actually bought anything since I haven’t used checkout-page before. Can you try to actually use it @FrancoisD like to buy / sell things and report back?
Once we confirm everything is working, I’ll move this to the theme category.
I also left some comments in the code to explain how this was put together.