*

epoolroy

  • ****
  • 121 posts
How to create Single User Type Button
« on: May 08, 2018, 04:11:49 AM »
Hello, anyone please help me..
how can i do if my user when click a button and become as company from individual?
i found this code from user-profile.php

Code: [Select]

            <div class="row">
              <label for="b_company"><?php _e('User type''stela'); ?></label>
              <div class="input-box"><?php UserForm::is_company_select(osc_user()); ?></div>
            </div>

And this code i modified for that button UPGRADE MEMBER

Code: [Select]
<a class="card alerts round3 tr1" id="" href="" target="" onclick="">
          <div class="icon">
            <i class="fa fa-gear tr1"></i>
           
            </div>
            <div class="header"><?php _e('Upgrade Member''stela'); ?></div>
          <div class="description"><?php _e('Become our merchant, lets go now upgrade you membership''stela'); ?></div>
        </a>

See attach file below
Please help me modified this code...

*

Tawnyaz

  • *
  • 2 posts
Re: How to create Single User Type Button
« Reply #1 on: May 25, 2018, 10:53:41 AM »
I would like to know more about the knowledge in the forum.

*

epoolroy

  • ****
  • 121 posts
Re: How to create Single User Type Button
« Reply #2 on: May 31, 2018, 12:09:18 PM »
I would like to know more about the knowledge in the forum.

I still dont had any idea... how about you? can you help me?