Calling reset product action

Posted 9 months ago by Paweł Czernecki

Post a topic
Un Answered
P
Paweł Czernecki

Is there a way to invoke the reset product action via JavaScript without displaying a prompt to confirm? Currently, I'm triggering a click on the button using the jQuery trigger function, but it shows a confirmation prompt.


My current code:

jQuery('.fpd-actions-wrapper div.fpd-action-btn[data-action="reset-product"]').trigger('click');

0 Votes


1 Comments

FPD Helper

FPD Helper posted 9 months ago

Hello Paweł Czernecki, 


Please reach out to the technical support team to get help regarding this issue. Thanks


Submit a Ticket here:
https://support.fancyproductdesigner.com/support/tickets/new

0 Votes

Login or Sign up to post a comment