Paypal

Hello,

How can i let the paypalbutton show up when a user selected a certain product?

Regards

Hi!

Just like most of the elements in the Wix Editor, the PayPal button has ‘Events’.
By using code and a certain logic to your choice you can pre-setup the button to be hidden on load and trigger it to show by another action in the page.


Use the element ID and the events to create the desired functionality.

Here’s an API reference for the event of .show() .
Here’s an article about general use of Paypal in Wix’s sites.

Hope it helps.
Doron.