I’m setting up my upgrade/downgrade buttons on a page called “change membership”, which will open the appropriate form on another page called ‘upgrade downgrade’. I found How would I display upgrade/downgrade options independently? on the forum, which has helped me to understand the concept. However, I am still lost on how to wrap the buttons with [s2if]. For example, the post uses this setup as an example to follow:
[_s2If current_user_can(access_s2member_package2)]
You are on a Level 2.
Upgrade:
buttonModifyToPackage3
buttonModifyToPackage4
Downgrade:
buttonModifyToPackage1
[/_s2If]
This seems to be the code that I need, but getting an actual button in there is proving extremely difficult. I’m using Stripe as my gateway and Beaver Builder to construct the site and BB generates the buttons through it’s button module. I know how to input the code so that the correct option is preselected in the form. Any ideas on how to accomplish this?
Thanks!