Okay
  Public Ticket #3724823
Plugin and Elementor Integration
Open

Comments

  •  1
    Ramadika started the conversation

    Hi, we are trying to create a new ticket that is public because there was no response yesterday, well, I'm having trouble setting up the store page using Elementor, it's because the default page doesn't display the layout properly, can you suggest a theme that is compatible with MarketKing?, that's when we decided to use Elementor. Especially on the store tabs widget, it seems that it doesn't work and doesn't display the vendor's products. then the second way, I tried to paste my product template into it, and set it up through the “Current Query” Query which should automatically display the vendor's products, but this method also doesn't work. I was even willing to use the product archive from WooCommerce and set it back to Current Query, but it still doesn't work.

    please give your best solution to handle this case. Thank you

  •  2,161
    WebWizards replied

    Hi again,

    Apologies for any delay in getting back to you. We respond to all tickets as soon as possible - our average response time is around 24 hours, but it depends on time, availability and ticket complexity.

    Please see my response in the other ticket as well.


    If you are having an issue where the products on the store page are not displaying correctly / layout issue, it is possible there is some kind of styling conflict.

    Is it possible to share a backend access to your site or a staging site with us ? I could check the issue directly. We may be able to provide some custom CSS / styling, to resolve that.


    Kind regards,

    Stefan

  •   Ramadika replied privately
  •  1
    Ramadika replied

    Hi there, This is what you said “We respond to all tickets as soon as possible - our average response time is around 24 hours, but it depends on time, availability and ticket complexity. ” what's wrong with you that you haven't replied to our message for 3 days? did you let me until 14 days after purchase to let me los on the money back guarantee?

    if you can't reply to us yet it's ok, we want my money back, because I haven't gotten a solution in our problem. I've even given you WP access for 3 days.

    Kind Regards

  •  2,161
    WebWizards replied

    Hi again,

    Apologies for any delay, we are doing our best but we are seeing an unusually high support ticket volume at the moment.

    I looked over your site now. I'm not completely sure if I understood what layout issue you're referring to. I see your store page looks like this so I'm assuming the problem you're referring to is the lack of margins:

    9480406404.png



    I added some custom CSS to the site in order to set margins on those stores list + store page pages and now I see the following:

    3869490101.png
    8311843810.png


    If that's not what you mean it would help if you can share some screenshots to clarify what areas you're looking at where you need adjustments.


    We can also provide a full refund at any time if you prefer that, just let us know and we will process that,


    Kind regards,

    Stefan

  •  1
    Ramadika replied

    Hi, thank you for the helpful response and treatment. 

    Yes, that's right, it's a margin problem too, but now I have adjusted it to my global layout on your css, but I will simplify it again, it seems that your product card layout cannot be changed using Elementor, therefore, can I ask you to equalize the product card on the store page like the page I attached to the link below? or I will give you a tip or service to provide CSS to the store page.

    supposedly, the appearance of the product card (distance between products, between featured image, title, font type and size, price size, and add to card) should be the same as the one on the site. do you understand this, this is very different. I'm sure you understand this. (at its core is a visual display)

    like this
    https://societshirt.com/sold-once/

    is not
    https://societshirt.com/stores-list/unvstck/products/?product-page=1

    note: this is why there are no settings in elementor to set on your store page, it can only be for logos, banners, follow, store name, and the like, but to set the layout with templates in elementor we can't. that's why we ask you to please equalize through css as you can.

    I just imagined, how could there be a page (product layout) that looks different on the website? That's where I have to design it myself, but not this time.

    And I keep saying that your plugin is very good.
    Thank you, and best wishes.

    Attached files:  Screenshot 2024-09-18 235738.jpg
      Screenshot 2024-09-18 235859.jpg

  •  1
    Ramadika replied

    Hi, I would like to request that the vendor email is not displayed in the vendor details. or not displayed in the profile submission form.

    can you help me with this, thanks

    Attached files:  Screenshot 2024-09-21 130858.jpg

  •  2,161
    WebWizards replied

    Hi again,

    (1) You can hide the vendor email and phone, by adding this PHP code snippet to the site:

    add_filter('marketking_show_email_phone_vendor_profile','__return_false');
    add_filter('marketking_vendor_details_show_phone','__return_false');
    add_filter('marketking_vendor_details_show_email','__return_false');
    

    (2) 

    "supposedly, the appearance of the product card (distance between products, between featured image, title, font type and size, price size, and add to card) should be the same as the one on the site."

    I think I understand what you mean. I believe we can add some CSS to give it the same design.

    Generally speaking, our plugin does not control this design directly. Instead we use the [products] shortcode. Usually the theme styles this shortcode the same way as the main site, but it seems here it does not.


    I need to open the 2 pages there so I can try to set the same design. I am having some issues with opening the site as it is in maintenance mode. I also tried the previous admin link but it does not work any more:

    https://www.loom.com/share/60615a0e64874ba6843d738050bf07ae?sid=6caa8f14-c8c9-4888-b2de-773c49d6f996

  •  1
    Ramadika replied

    Thank you for your advice and help, 

    1. code php is working fine,
    2. my website is under maintenance, but don't worry, I don't want to force about the product layout, currently I have overcome it with the Astra theme and it is the same as the shop page,

    and thanks again.

    Another question. I would like to ask you to give us a special coding php for drilling emails, or the word “@gmail” for support messages, between sellers and buyers,
    or you can login in my WP if you need.

    and the second, the support button is missing, how can the customer find, I plan to put it on the store front, or on the single product, but on the single product I use Elementor template, so here it can't be seen. 

  •   Ramadika replied privately
  •  1
    Ramadika replied

    Hi there, if you are available, please reply to my message, so that I can start my project soon. thanks

  •  2,161
    WebWizards replied

    Hi again,

     

    1.Here do you mean to display the badges like here https://ibb.co.com/BPV5wrB ?

    This is part of the plugin's Badges module: https://woocommerce-multivendor.com/docs/vendor-badges-achievements/ - it should be possible to achieve it with standard features.

     

    2. MarketKing works through the regular site "new order" email, by changing who receives that email and making the email be sent to the seller (instead of the site admin).

    If you do not see it, it is possible the email is sent technically, but spam / email filters stop it. 

    To check if that's the issue, you can install a mail log plugin: https://wordpress.org/plugins/wp-mail-logging/ - if the email exists in the log, then it means it is indeed sent, but not reaching the destination.

    This is a very common problem in WordPress, that can be fixed by plugins such as https://wordpress.org/plugins/wp-mail-smtp/

     

    3. To remove the email from the inquiry, please add this snippet to your site:

    add_filter('marketking_inquiry_user', function($usertext, $user){
    			return $user->first_name.' '.$user->last_name;
    }, 10, 2);

     

    Generally to filter / remove email addresses from messages, you can use this code snippet:

    <?php
    function mask_email_addresses($message) {
        return preg_replace(
            '/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,4})(?:\.[a-z]{2})?/i',
            '[This information was masked]',
            $message
        );
    }
    
    add_filter('marketking_filter_message_general', 'mask_email_addresses', 20);

    It will mask the address like here: https://www.loom.com/share/8c19e22161a047ea841d08580a839014?sid=062f8c35-658d-4533-a167-74b1b426fe74

     

    4. when I “add product” then the URL link will be written like the picture I attached, and the form on the add product page is not clean and leaves the rest of the previous upload. what's wrong with this, why the page doesn't freshen up when adding product?

    What happens when you click on 'save new product'? it is not clear from the video.

    It looks like a product was saved as a draft and is opened when creating a new product.

    Normally clicking "save new product" should clear that and restore things to normal.

    Please also check / make sure you have the latest versions MarketKing Core 1.9.80 and MarketKing Pro 1.9.80.

     

    5. I just uploaded a file of only 160 mb, it took about 5 minutes. this feels very slow, whereas before if I uploaded through Wordpress directly, it was very fast, whereas before it only took 1 minute if it was that size.

    MarketKing uses the standard WP media uploader via the wp.media() function. The uploader and upload process is not controlled by our plugin, it is the regular site upload.

    It is difficult to say why this would be slower. Possibly it is a security / firewalls issue and your site plugins or hosting security systems are checking / filtering the transfer because it is a frontend user upload rather than an admin one (so it is more dangerous from a security standpoint).

     

    6. In the tag form, you don't give us the flexibility like we enter tags in Wordpress, in your tags form, it requires selecting tags that are available, and cannot be directly pasted there.

    I think our thought process here was to prevent vendors from creating tags that are not accurate / e.g. to allow admin to prior approve all tags, so that vendors cannot abuse the system / create any tags they want, such as "best product", "featured seller", etc. 

    If you would like to allow vendors to add tags, you can add this PHP code snippet to the site: https://pastecode.io/s/xbaqkdkz

    It will add a "add tag" button:

    2455709686.png

     

     

    7. When the vendor uploads any media (digital file), so on the media, all products from other vendors are visible, even from our data. this is a leak. 

    Normally sellers should only see their own images. They should not see the images anyone else (administrators or other vendors) have uploaded.

    If this is not working like that on your site, please make sure that you are checking as a vendor who is not an admin / shop manager. Please check as a regular vendor with a role such as 'customer'.

    If the issue still happens, it is likely caused by a plugin conflict. I would suggest trying to deactivate all other site plugins.

     
     

    and the second, the support button is missing, how can the customer find, I plan to put it on the store front, or on the single product, but on the single product I use Elementor template, so here it can't be seen. 

    I would suggest then to use a shortcode for this.

    You can add the following snippet that creates a shortcode to the site:

    add_shortcode('support_button', function(){
    	ob_start();
    	global $post;
    	marketkingpro()->get_product_support_content($post->ID);
    	return ob_get_clean();
    });
    You can then use the shortcode [support_button] anywhere in your product template.
  •   Ramadika replied privately
  •  1
    Ramadika replied

    Hi if you are available, you can reply to my previous message, it's some important factors nowadays. especially on file media library.

    You can test it by giving us a tester email for me to register as a vendor, you can trial upload in the media library and can see all vendor and admin files visible there.

    Fully appreciate your reply.

    Kind Regards

  •   WebWizards replied privately
  •   Ramadika replied privately
  •  1
    Ramadika replied

    Hi, I'm sorry if I'm asking you a lot of questions, but it's our standard not to include customer emails anywhere on the site, including in order details, and support.

    Are you available today, we are still waiting for you.

    we've been asking questions from a few days ago. Thanks

  •  2,161
    WebWizards replied

    Hi again,

    4. I ask you to please disable “Grouped Product, External, and Variable Product”, or provide your php code so I can paste it into the website.

    To achieve this, please go to MarketKing -> Vendor Groups, and click on each group. Then you can select specific product types only here:

    2068342906.png

     

    (3) To change 'Contact' to Inquiry there, a quick way is by adding this PHP snippet to your site:

    add_filter('gettext', 'change_contact_to_inquiry', 10, 3);
    
    function change_contact_to_inquiry($translated_text, $untranslated_text, $domain) {
        if ($domain === 'marketking-multivendor-marketplace-for-woocommerce' && $untranslated_text === 'Contact') {
            return 'Inquiry';
        }
        return $translated_text;
    }

     

    I'm afraid though I don't really have a simple way to add a Subject field there, as changes in multiple places in the plugin would be needed.

     

    (3B) To mask the email in support requests as well:

    Please update to the attached version of MarketKing Core.

     

    I tested and then that works as follows:

    7057681976.png

     

    (2)

    2. We use this PHP code to remove buyer email in order details (vendor dashboard). It works!, but the complete order confirmation email to the customer is not delivered, 

    Looking over that code, I think you can solve it by changing it to the following:

    add_filter('woocommerce_order_get_billing_email', 'conditional_remove_billing_email', 10, 2);
    function conditional_remove_billing_email($value, $order) {
        if (doing_action('woocommerce_email') || doing_filter('woocommerce_email')) {
            // Get the current email
            $email = isset($GLOBALS['wc_email']) ? $GLOBALS['wc_email'] : null;
            
            if ($email && $email->id !== 'customer_processing_order' && $email->id !== 'customer_on_hold_order') {
                return '';
            }
        }
        
        return $value;
    }
    add_filter('woocommerce_email_order_meta', 'remove_email_from_order_meta', 10, 4);
    function remove_email_from_order_meta($order, $sent_to_admin, $plain_text, $email) {
    
        // Check if the email is not the customer processing order email
        if ($email->id !== 'customer_processing_order' || $email->id !== 'customer_on_hold_order') {
            // Remove email from the order meta
            if (isset($order->billing_email)) {
                unset($order->billing_email);
            }
        }
    }

     

    (1) Regarding tags, I'm afraid I can't make that work in the exact same way, as the functionality and interface is quite different.

    However, I have made a change to allow entering multiple tags at once, with commas:

    https://pastecode.io/s/vpyo87fa

    1794910875.png

    Attached files:  marketking-core-1994.zip

  •   Ramadika replied privately