I need a new shortcode that generates a link to upgrade the current subscription (logged-in user) to a better one I choose for that client.
The link should point the clients straight to the checkout page with the plan upgrade I chose for them.
I think the link should be similar to the one on the “Upgrade” button (“my-account” page):
[login to view URL]
Shortcode sample: [upgradesub variationID=“3181” userID=“999”]
The shortcode should include an attribute that allows me to specify the product variation of the new subscription I want for the client.
You can always consider a user already logged-in when I use this shortcode.
Usage I expect: <a href=“[upgradesub variationID=‘3181’ userID=‘999’]”>Upgrade your plan</a>
This snippet should work on my [login to view URL] child theme file.
- If something is not clear please ask in advance. No payment will be issued if your code doesn’t do exactly what I need;
- Please always comment your code. I need to understand it;
- I will provide a staging environment with all the plugins.
- Budget: 70€
12 freelancers are bidding on average €164 for this job
ok i am ok with your budget and no need of payemnt until u check all work, and i bid 78 euros so i can get 70, hope its ok for u and max 1 to 2 days i need to get this job done
Hello. I can fix it. Could you send me more information about your requirement? I just read through your job description. If you keep in touch with me, I'll never disappoint you. Thank you.