Populating PayPal button's value on dynamic pages with code

Hi Guys

I have a dynamic page that displays products, and based on the options and add-ons available, the total price of the product may change.

Is there a way to set the price and discription with code instead of the UI?

Thank you

Hey tiaan,

How are you‽ (Do you realize that you’re the first person that I honored with the interrobang ?)

As far as I know there is no way to assign the price using code. The price is assigned to the button via UI. More flexibility and options are available with the Wix Stores under a premium eCommerce package.

Yisrael

Hi Yisrael

Thank you, I feel honored! I’m doing well, learning a lot with Wix! How are you?

I need some additions that the Wix store doesn’t support, so going at it creating a store from scratch!

Do you perhaps know of any other way to achieve this?..

Tiaan

Another option is the Third-Party App: Paypal Button (by POWr) . The premium version of this app provides additional payment configurations.

Awesome. I had a quick look at it but must have missed it.

Many thanks Yisrael

And if you’re feeling really creative, you might (I say might ) be able to use a Paypal button in a $w.HtmlComponent and send the updated price to that button via message.

You might want to ask the Editor support team if Wix Stores (or another Wix app) provides the features that you’re looking for.

And, I’m doing great! Thanks

Huh, that’s clever, might just work… I’ll give it a go and post any possible success here.