• Resolved abledragon

    (@abledragon)


    Hi there,

    Would it be possible to add a confirmation step to the ‘Delete Catalogue’ process..?

    As it stands now it is very easy to delete a catalogue by mistake if you don’t quite hit the catalogue name when you want to edit it – and once you click delete (by mistake), the catalogue’s gone!

    I’ve done that twice – luckily I’m fastidious about backing up, so all it’s done is cost me some time.

    But it would be very easy for a customer to delete a catalogue by mistake and if they were not careful with backups they’d be in trouble.

    A simple confirmation step requiring them to click ‘OK’ would do the job.

    Many thanks!

    Martin.

    https://www.ads-software.com/plugins/ultimate-product-catalogue/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Open ProductsPage.php (plugin’s file), find line 41 and change to:

    <a class='confirm button-secondary action' onclick="return confirm('Are you sure you want to delete ALL products?');" href='admin.php?page=UPCP-options&Action=UPCP_DeleteAllProducts&DisplayPage=Products'>Delete All Products</a>

    Save your file.

    Thread Starter abledragon

    (@abledragon)

    Hi there,

    Many thanks! Will I need to edit this file in the same way every time the plugin is updated..?

    Cheers,

    Martin.

    Hi!
    It depends from plugin’s developers team. If they’ll decide to include this code into their layout next update, you’ll not be needed to change the file every time.

    Thread Starter abledragon

    (@abledragon)

    Hi there,

    Ok, thanks – how do we make sure this gets into the list of developments for the development team..?

    Cheers,

    Martin

    Hi Martin,

    Do not worry. We will make sure to add it to the dashboard where it is the most important. ??

    Best regards,

    Thread Starter abledragon

    (@abledragon)

    Hi there,

    That’s great – many thanks!

    Cheers,

    Martin.

    Hi Martin,

    Glad you are liking it! Keep us posted on your feedback. They are as important for you than for us ??

    Best,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Confirmation Step on Catalogue Delete’ is closed to new replies.