• Resolved themefour

    (@themefour)


    Hi.
    1. The WebP format does not appear to be supported. On the frontend dashboard of the dokan plugin, when viewing the product list:

    https://ibb.co/1TsV09T

    2. There is another problem, I want the seller(vendor) to be able to upload the file when adding a new product. But file uploads only appear when editing the product, why?

    https://ibb.co/NsHQ1VS

    • This topic was modified 4 years, 1 month ago by themefour.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @themefour,

    1. I have checked and it seems like WordPress does not allow to upload webP format by default. Please let us know how you are uploading the webP format on the backend. Are you using the help of any filter upload_mimes to upload a certain type of image?

    2. There is no default way to include an upload file option on the product adding form. You will need to add custom code to achieve the goal. Let me help you with the file location :

    wp-content/plugins/dokan-lite/templates/products/tmpl-add-product-popup.php
    wp-content/plugins/dokan-lite/templates/products/new-product-single.php
    /wp-content/plugins/dokan-lite/templates/products/new-product.php

    I hope this helps 🙂

    Thread Starter themefour

    (@themefour)

    tnx.

    1. I’ve put support for webp in function codes (my theme). This problem exists only on the dokan dashboard.

    2. What codes have you put in the file upload selector? To use them. I found them but it doesn’t show up. Only displayed when editing a product. this is so bad

    Hello @themefour,

    We got some issues fixed on our Dokan plugin. Please implement the changes on your site and this should fix the issue you are having. Here are the changes you need to implement. Let us know if the issue is still there,

    Thanks 🙂

    Thread Starter themefour

    (@themefour)

    I was able to add the file upload form when adding a new product with the following snippet code.

    <?php get_template_part(‘/dokan/products/downloadable’);?>

    But when I click on the file selection, it scrolls to the top page!! I got tired. Your plugin has a lot of problems.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Some problems’ is closed to new replies.