Create a button that opens a budget form tab / popup / etc in Magento

0

We need to make a code in the Magento CMS.

Next, let's make a button open a budget window (it can be a popup, but only open when clicking the button), with Product Name, Person Name, Email, Product Code, cel and etc. In the end, it will be sent to an admin admin, of this form, so that we can contact, back, the "client".

Thank you very much.

    
asked by anonymous 30.06.2017 / 21:38

1 answer

0

For the part of opening the window:

Use jQuery Dialog to open a modal window.

https://jqueryui.com/dialog/#modal-form

Or, use Vex , which is a very nice dialog too.

http://github.hubspot.com/vex/docs/welcome/

The form you can load by ajax . Look at this question:

https://pt.stackoverflow.com/questions/216454/criar-efeito-hide-e-show-de-link-de-noticias-com-classes-e-ajax/216469#216469
    
30.06.2017 / 22:06