• Resolved topgsmir

    (@topgsmir)


    Sellers who have a very large number of products
    For example, 5 thousand products and above
    The product page does not load!
    I solved this problem by commenting the code:
    // do_action( ‘dokan_product_list_table_after_row’, $product, $post );
    I solve this code is located in the following path:
    plugins/dokan-lite/templates/products/products-listing.php
    Please check the shop team and fix this problem
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @topgsmir,

    The hook that you are referring to is defined on Dokan Lite but is used to add some extra options while using the Dokan Pro. If you are facing an issue with that hook, it appears you are using the Dokan Pro plugin.

    According to the forum guidelines,?commercial products are not supported?in these forums. I hope this explains the scenario.

    Thanks!

    Thread Starter topgsmir

    (@topgsmir)

    You can’t solve the problem!!!
    This problem exists in dokan Lite
    I gave you a code from dokan Lite
    If so
    Connect all Lite codes to Pro
    And don’t answer people anymore!!! You will be comfortable too
    Everyone asked a question
    Tell him it’s connected to the Pro dokan and:
    We do not solve the problem and we do not give an answer to anyone

    Plugin Support Yeasin Arafat

    (@yeasinarafathridoy)

    Hi topgsmir,

    We tried to see if having 5000 products would cause any problems on the product page. Turns out, everything ran smoothly without any issues. Would you mind checking if there is any theme and plugin conflict on your site according to the guidance provided here?

    All the best,

    Plugin Support Yeasin Arafat

    (@yeasinarafathridoy)

    Hi topgsmir,

    We’ll consider this topic resolved since we haven’t heard back from you for a while. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

    Thread Starter topgsmir

    (@topgsmir)

    Your words are very funny There is no need to test at all think for yourself On a blank white page For example, upload 10 thousand links The page loads very slowly. now make it hard If we simultaneously send 10 thousand requests to load the same links to the database What will happen now?!!!

    didn’t you understand
    A simpler example:
    What is the method of attacking the site?
    Sending too many requests to the database
    For example, attack through site search
    now you

    You attack the sites exactly with these codes!!!!!!
    The seller has many products
    And you have coded:
    1- Go find all products from the database (too much demand for the database)
    2- Upload all those links!!!! (long-term loading in the user’s system)
    Two different attacks, the first one is pressure on the server and the second one is the user’s personal computer

    • This reply was modified 7 months, 4 weeks ago by topgsmir.
    • This reply was modified 7 months, 4 weeks ago by topgsmir.

    Hello @topgsmir,

    It seems there may be some confusion regarding your issue. The line of code you mentioned was added to include the Quick Edit functionality, and removing it should disable this feature.

    Additionally, it is worth noting that we have a hardcoded limit in our codebase to ensure that no more than 15 products are loaded on each page of the Vendor Dashboard > Product Listing page. This is a built-in limitation to optimize performance.

    To better assist you with the loading issue you are experiencing, could you please provide more details about the specific action or scenario that triggers the problem? This will allow us to replicate the issue accurately in our local environment and provide a targeted solution.

    Thank you for your cooperation.

    Best regards,

    Thread Starter topgsmir

    (@topgsmir)

    Hello
    You have gone the wrong way
    The path is here
    For example, a seller has 5 thousand products
    A product is sold
    Downloadable product
    Note that it is a downloadable product
    Now the route:
    The seller wants to check the sold product
    He clicks on the eye symbol
    To see order details
    The order details page will open
    There is an option at the bottom of this page
    Giving permission to download other downloadable products
    If the number of these products is large
    Everything will be destroyed

    Thread Starter topgsmir

    (@topgsmir)

    https://top-gsm.ir/wp-content/uploads/2024/04/top-gsm.png

    The picture of the damaged place
    If there are 5 thousand products here!!!!

    Hello @topgsmir,

    It seems you are already in a discussion about this on another topic. Please continue there regarding that issue, and I am going to mark this topic as resolved.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The seller’s product page is not loading’ is closed to new replies.