Use url as a variable for paypal button, possible?
- or -
Post a project like this1786
$40
- Posted:
- Proposals: 4
- Remote
- #2383701
- Awarded
Description
Experience Level: Entry
Hi,
I would like to use one (same) Paypal button on different product pages across my website, but I'd like the button to extract the url that it's on to be used as a variable.
For example:
https://www.bryanchi.com/product-page/limitless
https://www.bryanchi.com/product-page/search-for-clue-1
(please excuse the messy crap on the pages, as I'm still trying to put it together)
I'd like it to extract "limitless" and "search-for-clue-1" and use this variable to notify that this is the track they're purchasing on the checkout page, and after payment received, use this variable to generate a download link.
You may ask, why not use a different button on each product pages? Well... because you can't edit the wix product pages individually, things you add on one product page will appear on all other pages too.
Please let me know if this is possible or if you know any workarounds, many thanks!
I would like to use one (same) Paypal button on different product pages across my website, but I'd like the button to extract the url that it's on to be used as a variable.
For example:
https://www.bryanchi.com/product-page/limitless
https://www.bryanchi.com/product-page/search-for-clue-1
(please excuse the messy crap on the pages, as I'm still trying to put it together)
I'd like it to extract "limitless" and "search-for-clue-1" and use this variable to notify that this is the track they're purchasing on the checkout page, and after payment received, use this variable to generate a download link.
You may ask, why not use a different button on each product pages? Well... because you can't edit the wix product pages individually, things you add on one product page will appear on all other pages too.
Please let me know if this is possible or if you know any workarounds, many thanks!
Bryan C.
100% (4)Projects Completed
4
Freelancers worked with
3
Projects awarded
43%
Last project
24 May 2020
Canada
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies