Home Forums Makery Add new form field in "my shop" tab on the "my account" page

Add new form field in "my shop" tab on the "my account" page

  • BANKENHOF

    I want to add a new form field or edit existing fields in “my shop” tab on the “my account” page. I need to add a Input type radio (HTML forms). So that each seller can choose between 3 alternatives to set a minimum purchase order in their store (according to the business model of the website).

    How can I do this and what PHP file should I edit?

    https://fotos.subefotos.com/c8d8a1049e04530b3e92e41a78889662o.png

    Best Regards.

    ihor Staff

    Please sign in or register to view replies from the support staff.

    BANKENHOF

    Thank you Ihor.

    How can I use updateShop () function to save my new field ?

    This is my code:

    <div class=”profile-editor”>
    <h5><?php _e(‘Tiempo aproximado para atender el siguiente pedido’, ‘makery’); ?></h5>
    <input type=”radio” name=”time_att_pedido” value=”30min”> 30 minutos<br>
    <input type=”radio” name=”time_att_pedido” value=”1hora”> 30 minutos – 1 hora<br>
    <input type=”radio” name=”time_att_pedido” value=”mas_1hora”> Más de 1 hora<br>
    <input type=”radio” name=”time_att_pedido” value=”no_posible”> No puedo atender pedidos tengo mucho trabajo<br>
    </div>

    I had planned to use: get_user_meta (get_current_user_id (), $ key, true); to save the information as user metadata

    ihor Staff

    Please sign in or register to view replies from the support staff.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.