Here i am trying to add a pop-up once product added to cart using custom theme magento 2??

I tried this link

closed as primarily opinion-based by Manashvi Birla, Priyank, Sukumar Gorai, Murtuza Zabuawala, Piyush Nov 21 '18 at 12:45

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • not very related to your issue, but popups/modals are not good UI element for this matter. I mean there was a reason behind it that magento doesn't have popup when you add an item to your basket. May be you should rethink about this design element that you want to add. – Korbin Nov 21 '18 at 11:24
  • 1
    Possible duplicate of I want to add popup notify after adding products Magento 2 – LucScu Nov 21 '18 at 12:17