The $w("Button") function don’t return a reference to buttons on the standard Store pages. For example, on the standard Product Page, running $w("Button") don’t return a reference to the “Add to Cart” button.
That’s what I found out. Still, I would rather change the standard Product Page behavior since I want to keep using all the other widgets available that all point to the standard Product Page.
Is there a way to redirect calls from the standard Product Page to my custom Product Page?