Contextual Save Bar implementation guide

Hello all,

I wrote a blog post about the best way I’ve found to implement the contextual save bar, I wanted to share it here: Shopify Contextual Save Bar: Proper Implementation - Beckett Oliphant

It would be great if the save bar doc showed in a prominent position rather than data-save-bar but hopefully this blog post can save some people the frustration of data-save-bar I suppose.

1 Like

Thanks for writing this up and sharing it here @Beckett_Oliphant

I’ll also bring this feedback to the product team who owns this space.

Appreciate your contributions to this community :slight_smile:

Hi again @Beckett_Oliphant

Can you share some specifics on the issues you had with data-save-bar so we could narrow down the edge cases and see how we can improve the experience using this?

Yes, a big one is that it only works for certain kinds of input fields. So like the polariscomponents knob thing just wouldn’t trigger it. When I was trying to troubleshoot it, it seemed like it was trying to detect certain inputs on the page instead of just checking to see if the variables changed which was weird. I was working with the data-save-bar like a month ago so the bugs aren’t super fresh but that one stuck out. Oh also the app bridge product select menu (which is awesome btw) causes trouble with it because you can have the json of the products saved in database but then it loads in and changes the json format a bit. That could just be a skill issue on my part but I’m not 100% sure.

Also I was wondering if there was anything else I could do to make the blog post more visible to people. I think a backlink would be helpful (especially so LLMs could know about it) but idk what else so I thought I’d ask.

Lifesaver! Thanks @Beckett_Oliphant

2 Likes