Forum Replies Created

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • in reply to: Email Notification if Product online #77528
    Ilja Becker
    Participant

    if someone need too.

    /* WC Vendors Pro - Notify Vendor when Product is Approved */
    add_action( 'pending_to_publish', 'wcv_notify_vendor_on_publish' );
    function wcv_notify_vendor_on_publish( $post_id ) {
        global $post;
        if ( $post->post_author != get_current_user_id() ) {
        	$author = new WP_User( $post->post_author );
        	$email_data = array(
        		'to'      => $author->user_email,
        		'subject' => sprintf( __( 'Your post on %1$s has been published!', 'email_author_on_publish' ), get_bloginfo('name') ),
        		'message' => sprintf( __( 'Your post "%1$s" on %2$s has been published: %3$s', 'email_author_on_publish' ), $post->post_title, get_bloginfo( 'name' ), get_permalink( $post->ID ) ),
        	);
        	wp_mail( $email_data['to'], $email_data['subject'], $email_data['message'] );
        }
    }
    in reply to: Email Notification if Product online #77250
    Ilja Becker
    Participant

    Hey,
    Is the function implemented in the future?
    Or have someone another solution for this?

    in reply to: Double basket in 1.4.4 #70517
    Ilja Becker
    Participant

    I get a answer from BuddyBoss: Work fine

    Please try once placing following custom css code inside dashboard >> buddyboss >> onesocial theme >> custom codes >> css

    .woocommerce-cart .woocommerce .cart-empty:nth-child(2) {
    display: none;
    }

    in reply to: Double basket in 1.4.4 #70512
    Ilja Becker
    Participant

    Hey Anna,
    thank you for fast answer.

    in reply to: Double basket in 1.4.4 #70437
    Ilja Becker
    Participant

    Hey,
    i have the same issue.

    in reply to: All Gallery Images are Showing on Add Product Page #70305
    Ilja Becker
    Participant

    Hey Guy,
    look here:

    in reply to: Adjust permissions/Role #69962
    Ilja Becker
    Participant

    I have found it myself. If someone have interest:

    1. File: \plugins\wc-vendors\classes\admin\class-product-meta.php (Line: 101)

    2. Ad following Code in functions.php

    function portrait_show_curr_user_attachments( $query = array() ) {
        $user_id = get_current_user_id();
     
        if ( $user_id && ! current_user_can( 'edit_others_portraits' ) ) {
            $query['author'] = $user_id;
        }
     
        return $query;
    }
    add_filter( 'ajax_query_attachments_args', 'portrait_show_curr_user_attachments' );
    in reply to: custom signup #69671
    Ilja Becker
    Participant

    Hey together,
    I find the code snippet:

    \wc-vendors\classes\admin\class-admin-user.php

    Line: 341-370

    in reply to: custom signup #69584
    Ilja Becker
    Participant

    Hey Anna,
    is it possible to custimize the Value as Admin.

    Current, if the User set the custom value it will be shown in Backend but i can’t custom them?

    in reply to: Adjust permissions/Role #69228
    Ilja Becker
    Participant

    ?

    in reply to: Adjust permissions/Role #68570
    Ilja Becker
    Participant

    Has nobody a answer on this question?

    in reply to: Adjust permissions/Role #66122
    Ilja Becker
    Participant

    @FERVOUS
    i custom it and it Works great.
    But i see that i need to custom another 2 permissions.

    1. Backend Products i see only User with “Vendor” Role (screenshot “Vendor_assignment”)
    –> I need to customize the file that the new Role have Access too
    2. upload Product Pictures i see all Pictures in Media library (screenshot “Media library”)
    –> I need to customize the file that the new Role haven’t Access

    can you tell me the files 🙂

    in reply to: Adjust permissions/Role #65691
    Ilja Becker
    Participant

    thanks,
    that’s what i’m searching 🙂

    in reply to: custom signup #65500
    Ilja Becker
    Participant

    Has nobody an answer to this question?

    when i create a Custom Field like in the screenshot.
    I need them in the “vendor Signup Form”

    in reply to: Adjust permissions/Role #65499
    Ilja Becker
    Participant

    Has nobody a answer on this simple question?

    in reply to: Adjust permissions/Role #65083
    Ilja Becker
    Participant

    I find the Signup Form for the Vendor Application.

    Need only to know where are the php file, which controls the access to the dashboard
    Current only user with role “vendor” have access to Dashboard. I need to customize the file that the new Role have Access too.

    in reply to: product variation with diferent shipping #65009
    Ilja Becker
    Participant

    Hey Uwe,
    habe gesehen das du aus Lahr bist 🙂
    das sollte dir weiter helfen: https://docs.woocommerce.com/document/per-product-shipping/

    grüße aus Offenburg

    in reply to: Custom Vendor Pro Dashboard Link #64908
    Ilja Becker
    Participant

    Hey Mehmet,
    i had the same Problem.
    I wanted to hide content based on User Roles
    I created a new css Class witch is based on Role “Vendor”.

    add_action( 'wp_enqueue_scripts', 'cyb_enqueue_styles' );
    function cyb_enqueue_styles() {
    
        $user = wp_get_current_user();
        if ( in_array( 'vendor', (array) $user->roles ) ) {
            wp_enqueue_style( 'my-style-vendor', get_stylesheet_directory_uri().'/CSS/vendor.css' );
        }
    
    }

    Now create “vendor.css” in folder “your-child”/CSS in put your code in to hide or show the content

    in reply to: Sold By impossible to translate #64906
    Ilja Becker
    Participant

    Hey Rob,
    no …wp-content/languages/wc-vendors/

    look here: Link

    in reply to: Sold By impossible to translate #64876
    Ilja Becker
    Participant

    Hey Rob,
    you need only go to your Backend.

    Woocommerce/WC Vendors/general(Tab)

    see Screenshot

    in reply to: Adjust permissions/Role #64875
    Ilja Becker
    Participant

    Hey Anna,
    I have found a solution for me, which should work very well.
    i create on functions.php in oneSocial-Child a new function whitch grab a other css File based on the created Role “Exhibitor”. This works very good. Now I can Hide the Forms i don´t need for the Role Exhibitor.

    In need current only 2 things.

    1. Can you tell me where I find the php file, which controls the access to the dashboard
    Current only user with role “vendor” have access to Dashboard. I need to customize the file that the new Role have Access too.

    2. Which is the template for the Vendor Application?

    in reply to: can´t Download Pro #45420
    Ilja Becker
    Participant

    OMG. I´m Sorry.
    🙁

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