2

On product page I have popup opened on click on button. Its template is normally added to layout via XML and it's almost empty, but on click it content is replaced by ajax call.

So far controller instantiates another block, calls toHtml() and returns it as text/html. It works but, it is not elegant solution.

Is there any to better way to achieve it?

0

Your Answer

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

Browse other questions tagged or ask your own question.