matteor182

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: maps in vendor store page #193921
    matteor182
    Participant

    ok it seems to work correctly, I’ll do a couple more tests, in the meantime, thank you very much

    in reply to: maps in vendor store page #193904
    matteor182
    Participant

    I found a hook mvx_additional_button_at_banner’ that I can use ,

    but at this point I would instead need to insert a custom field in the store information ,

    so that I can insert the iframe code of a map for each user

    how can I insert an ACF custom field in this point of the seller’s profile?

    Thank you very much

    in reply to: hoo or filter after vendor registration #193768
    matteor182
    Participant

    ok I solved it, the problem was the comfort with the lable, it was always false, I don’t know why, now I compare it with the value and it recognizes it.

    thank you very much

    in reply to: hoo or filter after vendor registration #193763
    matteor182
    Participant

    I solved the first problem, taking the data in POST $vendor_application_data = $_POST[‘mvx_vendor_fields’];

    this is the correct code, but unfortunately it seems that the custom field is not filled, i tried from another page and the instruction works and fills the custom field, but from the hook it seems not to work, if i look in the DB after the registration, it seems that the custom field is not in the user meta. how can i write in a userm meta from this hook ?

    this is the istruction : update_field( ‘vendita_immobiliare’, $question[‘value’], “user_”.$user_id );

    and hear my code correctly

    add_action(‘mvx_after_register_vendor’, ‘tdm_register_agenzia_immobiliare’);
    function tdm_register_agenzia_immobiliare($user_id) {
    $vendor = get_mvx_vendor($user_id);
    $vendor_application_data = $_POST[‘mvx_vendor_fields’];
    foreach($vendor_application_data as $question){
    if($question[‘label’] == ‘Che tipo di venditore sie ?’ && $question[‘value’] != null){
    update_field( ‘vendita_immobiliare’, $question[‘value’], “user_”.$user_id );
    }
    }
    }

    in reply to: hoo or filter after vendor registration #193760
    matteor182
    Participant

    i tried with this code,

    but it seems that the vendor form data is not yet written in this hook, or rather if i get them from any page the function returns me the registration form data, but from this hook this variable $vendor_application_data is empty.

    do you have any idea ?

    this is my code, thanks a lot

    add_action(‘mvx_after_register_vendor’, ‘tdm_register_agenzia_immobiliare’);
    function tdm_register_agenzia_immobiliare($user_id) {
    $vendor = get_mvx_vendor($user_id);
    $vendor_application_data = get_user_meta(absint($vendor->id), ‘mvx_vendor_fields’, true);
    error_log(print_r($vendor_application_data,true));
    foreach($vendor_application_data as $question){
    if($question[‘label’] == ‘Che tipo di venditore sie ?’ && $question[‘value’] != null){
    update_field( ‘vendita_immobiliare’, $question[‘value’], “user_”.$user_id );
    }
    }
    }

    in reply to: hoo or filter after vendor registration #193678
    matteor182
    Participant

    ok great, I’m just missing one piece of information, how do I recover the data from the submitted form? do I find it stored in the user profile , in the user meta data ?

    thanks a lot for the help

    in reply to: hoo or filter after vendor registration #193644
    matteor182
    Participant

    I found this filter : apply_filters(‘mvx_save_registration_fields’, $mvx_vendor_fields, $customer_id);

    I can use it to get the fields , but how can I write values in the custom fields I created without interrupting the seller ‘s registration ?
    is it possible from this filter ? can you write me a sample code? Or do I need only a hook?

    thank you very much

    in reply to: hoo or filter after vendor registration #193643
    matteor182
    Participant

    Hello Sangita,

    thanks for the answer,

    but when should I use these two functions? Isn’t there a hook that gets called when the user is created after the form is submitted?

    if I use the WordPress hook when a generic user is created, I risk calling these functions for non-seller users.

    I need a hook where I can hook for example this: do_action(‘mvx_after_register_vendor’, $user_id);

    but this only gives me the user_id and instead I need the sent fields of his registration form.

    Is there a hook that returns this information to me after the registration form has been submitted and after the user has been created?

    thank you very much

    in reply to: hoo or filter after vendor registration #193611
    matteor182
    Participant

    Hello,
    thanks for the answer,

    I need exactly the moment after sending the registration form immediately after the new user has been created, because I need the form data and the new user’s id.

    thank you very much

    in reply to: vendor registration form error #192780
    matteor182
    Participant

    now if I go to the registration form item, it becomes like this,

    to add the field I copied an existing field, I didn’t have time to change the quinid name now there will be two compis with the same name, maybe this is what creates the conflict ?

    matteor182
    Participant

    I solved this, it was the seller who selected the wrong visibility in his store. Solved thank you very much

    in reply to: Stripe fee not shown on order in Woocommerce #130952
    matteor182
    Participant

    ok the problem was with the communication of the other plugin, which did not correctly communicate the fee to woocommerce and therefore did not receive it neanceh wc marketplace. I sent the communication and the fix to them and they fixed it. A thousand thanks.

    in reply to: Stripe fee not shown on order in Woocommerce #130908
    matteor182
    Participant

    I understand what you are telling me, but the problem is another, the first screenshot I sent you shows the commission that stripe raised me within the stripe site in my account.

    but on my site there is no trace of this commission the payment was calculated as if the commission was not there.

    full order price on woocommerce : 95,40 €

    full order price on Stripe : 93,81 €

    woocommerce did not receive Stripe’s commission to take away.
    i don’t understand if the problem is with the plugin i am using as payment or if the problem is with wc markeplace.

    but this plugin if levo wc marketplace works

    the page that I am attaching is of lineage not of Woocommerce, in Woocommerce the Stripe fee is not there, this is the error

    is the problem clearer now?

    in reply to: Stripe fee not shown on order in Woocommerce #130879
    matteor182
    Participant

    Hallo,
    that’s the payment screen inside the Stripe account,
    and that’s the commission Stripe takes, not me.
    The problem is that this fee does not appear in the other screenshot I sent you ( Woocommerce Order).
    The second screenshot is the order in woocommerce and it must also appear there otherwise I have a wrong count.

    The question is why am I not getting Stripe’s commission? the plugin I use for payments works without WC marktplace.
    is it mandatory to use your stripe plugin for customer payments?

    thanks a lot

    in reply to: Stripe fee not shown on order in Woocommerce #130825
    matteor182
    Participant

    i can’t see your screenshot, the link you sent me is broken,
    can you pass me the screenshot otherwise please

    what field are you talking about?
    in any case I am not passing commissions manually, I have configured the commissions per administration fee

Viewing 15 posts - 1 through 15 (of 18 total)