1

How to unset 'use Default Value' for all products values? I have checked all over the Internet but could not find proper solution.

enter image description here

2
  • you mean uncheck when editing? Some kind of magic "uncheck all" button, or you want the values to be unchecked when you already open the page?
    – Marius
    Commented Mar 7, 2017 at 9:53
  • @Marius, the products gets saved from some script. Commented Mar 7, 2017 at 10:08

1 Answer 1

1

In case you want a magic way of unchecking all the use default checkboxes at once, you can run this javascript code in the console when you open the page.

var elements = document.getElementsByName('use_default[]'); 
for (var i = 0 ;i<elements.length;i++) {
    if (elements[i].checked) {
        elements[i].click();
    }
}

if you want this in the UI, just add a button to the product page that, when clicked, triggers the code above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.