• Resolved loopforever

    (@loopforever)


    Hello,
    I’m trying to generate a link to the view order details page from a php file in Dokan. However, I couldn’t do this.
    The link is correct but the problem occurs after redirect (& to &)
    Where am I doing wrong? Can you show me the way ?

    if ( current_user_can( 'dokan_view_order' ) ):
    $redirect_link = wp_nonce_url( add_query_arg( array( 'order_id' => $request['order_id'] ), dokan_get_navigation_url( 'orders' ) ), 'dokan_view_order' );
    else:
    $redirect_link = esc_attr( $request['order_id']);
    endif;
    wp_redirect($redirect_link,301);
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Shafinoid

    (@shafinahmad01)

    Hi @loopforever

    Thank you for reaching us.

    I would like to help you but as per our support policy, we cannot review or provide any custom solutions. I believe you can understand.

    Moreover, the title you have written is appeared to be the problem is inside the plugin files but you have tried to make a custom solution. This might miss lead other users unless they click the topic and check the replies.

    Best Regards!

    Thread Starter loopforever

    (@loopforever)

    Previously, more or less the way was shown. Now you show no way.

    I think a lot of effort has been put into this plugin. Congratulations to your developer team on this. However, I would like to clarify a few points. Because I know there are many people reading this.

    Have you checked your plugin files? There are a few comments on what it does with the hundreds of lines of files. They are also incomplete explanations.

    Have you reviewed the content you have published under the name of Develepor document? Almost nothing useful.

    Have you checked the developer pages? I want to express this here. I hope you read.

    I use many plugins, I contact support from time to time. But I’m having a problem with you alone.
    You’re probably doing this to make money here: https://wedevs.com/welab/request-customization/

    Thinking that you are aiming for progress, I hope you also have bosses who are smart and have the ability to interpret the era, who are aware that the products that lead the market and that have achieved great things on a global scale are open source products that allow development in forums.

    By the way, I solved the problem myself ?? Thank you. Good work Ahmad.
    Best regards.

    • This reply was modified 3 years, 3 months ago by loopforever.

    Hi @loopforever,

    I am sorry to say that your last reply was inappropriate.

    This forum is helping those users who are experiencing problems with the default feature of the Dokan Lite plugin.

    We are unable to help with any modification.

    Apart from this, we did not ask you to get customization from us. If you need any customization/modification, you are free to hire any developer all across the world.

    Since your query was helping with the modification, according to our support policy, we are unable to with that case.

    However, as you resolve the issue by yourself, I am going to mark this ticket as resolved.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect Problem on Dokan File’ is closed to new replies.