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€
Được trao cho:
Hello I can do your project as much as you want. I am full stack wordpress/woocommerce developer with 8 years of experience. I can start right now. I hope to work with you. Thanks
6 freelancer đang chào giá trung bình €83 cho công việc này
Hi, I have understood Your requirement. you can visits my site see My Woo commerce Work[login to view URL] .come over in chat and discus further .