• Resolved Lori Boone

    (@pleazo)


    Hello,

    When a user clicks on “product inquiry” on my site, the vendor gets an email which includes the user’s email address, IP address, device and browser version used. Example: https://snipboard.io/JKm7p0.jpg. Due to EU data and privacy laws, this information cannot be shown to the vendor.

    I am using the dokan module which allows users to send product inquiries to vendors. Their response was:
    “You are unable to hide the details from default. You will need mofication on the coding end. Here s the file location that will need to modify

    File : wp-content/plugins/dokan-pro/modules/product-enquiry/module.php
    Funtion:
    function get_from_name() {
    function get_from_address()”

    When I look in the php file, I see this: https://snipboard.io/58zytC.jpg

    I am not sure what modifications need to be done. Do I just delete these codes from the file?

    Hope someone can help.
    Best,
    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @pleazo ,

    According to the response you have got, the approach is right. You have to either remove/comment out those two functions so that the customer details are not sent to the vendors.

    Make sure to keep backups before you perform any code changes. Also, seek help from experts doing customization if you are not sure about the process.

    Thank you 🙂

    Thread Starter Lori Boone

    (@pleazo)

    Hi Rashed,

    Unfortunately, that does not fix the problem. When I comment out these 2 functions, then the “product enquiry” button disappears: https://snipboard.io/vQ9YD0.jpg

    I need the “product enquiry” button on the page BUT I just cannot have the following info emailed to the vendor (after user sends a product enquiry request):
    -IP
    -User agent

    https://snipboard.io/JKm7p0.jpg

    Which part of this code can still show the “product enquiry” button but just hide the user’s IP & User agent info in the email?

    Best,
    Chris

    Hello @pleazo ,

    I am afraid this will be out of the scope from our side because this part of your code is developed by the Dokan team. Dokan Pro is a paid plugin and we are unable to access that code to suggest the exact instruction that you need for this customization.

    I will recommend you to contact their support team to get the desired solution.

    We can discuss WooCommerce’s core features in this forum only.

    Thank you 🙂

    Hi there,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Thank you 🙂

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

The topic ‘Help modifying code to make automatic email GDPR compliant’ is closed to new replies.