0

Currently when anyone tries to add/write product tags onto a product, if they are not a customer it forces them to login or register.

Is there a way I can bypass this check and allow anyone to add product tags and ideally auto approve them so they don't go into the pending section?

1 Answer 1

0

Try to rewrite the action Mage_Tag_IndexController::saveAction and remove the authentication constraint.

    if(!$customerSession->authenticate($this)) {
        return;
    }

And for auto approval replace in the same method

->setStatus($tagModel->getPendingStatus())

with

->setStatus($tagModel->getApprovedStatus())
0

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.