How to edit the add to cart banner in Pipeline?

Hi all, does anyone knows how to edit the banner that pops on top of the page when a product is added to cart? Mine is showing the product name + “default tittle” which is the part I would like to remove. Thank you!

@Agatha222
Hii,
Can You Please Share your site url

I had the same issue and here is how I removed the popdown cart :

  1. go find this code on theme.js file :
    “renderPopdown(event) { const variant = event.detail.variant; const url = ${window.theme.routes.root_url}variants/${variant.id}/?section_id=api-product-popdown; const instance = this; axios.get(url).then(function(response) { // handle success const fresh = document.createElement(‘div’); fresh.innerHTML = response.data; instance.drawer.innerHTML = fresh.querySelector(selectors$O.apiContent).innerHTML; instance.connectCartButton(); instance.connectCloseButton(); }).catch(function(error) { console.warn(error); }); }”

replace it by :
“renderPopdown(event) { const variant = event.detail.variant; const url = ${window.theme.routes.root_url}variants/${variant.id}/?section_id=api-product-popdown; // Instead of showing the popdown drawer, redirect to the cart page window.location.href = ‘/cart’; }”

  1. go on theme setting > cart > and select “page” so the redirection when you click on a add to cart button will be the cart page directly.

Then it works perfectly.

let me know if it works for you.