• Resolved chiko21

    (@chiko21)


    On dashboard/new-product/ page, if vendor press “create product” button multiple times, he will see duplicated products being created on /dashboard/products/ page.

    Any one knows solution to this?

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

    (@jahidulhassan)

    Hi @chiko21

    I am not sure why your vendors will click on the “create product” button multiple times in the first place. Anyways, I tried to reproduce the issue in my local environment but I didn’t find the issue. Clicking the “create product” button multiple times resulted in creating only one new product.

    It seems like the issue is your site-specific one. I would recommend debugging your site properly and also seeing if there is any conflict on your site.

    Thread Starter chiko21

    (@chiko21)

    Most of the vendors press that button multiple times in our product test lab as there is no indication the button is pressed, nor there is any indication showing the vendor to wait while the system is loading the next page i.e. “Edit Product”

    Are you looking at the “Create Product” page in the file located at /dokan-lite/templates/products/new-product.php

    at the following line?

    <button type=”submit” name=”add_product” class=”dokan-btn dokan-btn-default dokan-btn-theme” value=”create_new”><?php esc_attr_e( ‘Create Product’, ‘dokan-lite’ ); ?></button>

    Thank you

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @chiko21

    As you can see in this video, I am not being able to reproduce the issue even after clicking on the “Create Product” multiple times.

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @chiko21

    Due to inactivity, we are marking this topic as resolved. Feel free to open a new one if you face any further issues.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prevent dashboard/new-product/ double submission’ is closed to new replies.