Home Forums Theme Support Dokan Dokan upgrade info

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Nayem 3 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69837

    MATTEO
    Member
    Post count: 2

    Hello there,
    we would like to have some information about the last Dokan upgrade.

    We have personalized the “Add product” page, using custom fields and coding on those files:

    new-product-single.php
    template-shortcodes.php
    wc-functions.php
    product-edit.php

    What we would like to know is if this upgrade is going to change our modifications and how can we act to avoid this situation.
    We have already tryed to use child theme but it didn't work and we have had to insert all the modification again.

    Last but not least, we are working on a full italian translation using .po and .mo files. Could we have some troubles with the new Dokan version?

    Thank you in advance and again compliment for the great job!

    #70024

    Nayem
    Moderator
    Post count: 6480

    Hello,

    If you have customized in the core file of Dokan plugin then you will lose your data. Your translation will work correctly. We have updated the pot file in our translation project. You can download the latest one and replace with the previous one.

    Thanks.

    #70158

    MATTEO
    Member
    Post count: 2

    We asked before how to add custom fields in adding new product page.
    We have followed your hints by adding the fields in new-product-single.php but to let them work properly we have had to modify also 2 core files.

    When we tryed to upgrade Dokan we have inserted again the modifications in the upgraded files, but the plugin stopped working.
    So we have restore the previous plugin version.

    Now, how can we make the new fields working properly on the upgraded new-product-single.php and avoid future upgrade problems (or minimizing them)?

    Thank you in advance.

    #70183

    Nayem
    Moderator
    Post count: 6480

    Hello,

    To override any template file you have to create a folder in your child theme. The folder name should be “dokan”. The file path should be same as Dokan plugin.

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

The topic ‘Dokan upgrade info’ is closed to new replies.