0

i want my vendor registration form to show a video popup when click on submit button. <button type="submit" id="save" class="action submit primary" onclick="submit"title="Save"><span><?php echo __('Save'); ?></span></button> can anyone kindly and please help me fast on this?

  • could you explain the scenario, When form will be submitted ? when registration data will be submitted ? – Naveed Asim Mar 25 '18 at 14:39
  • WHEN DATA OF REGISTRATION FORM IS SUBBMITED. – Laiba Mar 25 '18 at 14:48
  • AFTER FILLING THE FORM WHEN USER CLICKS "SAVE" IE. SUBMIT BUTTON. I WANT TO POPUP A VIDEO ON THIS ACTION – Laiba Mar 25 '18 at 14:49
  • if video will popup then when registration data will be submitted ? so there will be another page when registration is completed and video will show up ? – Naveed Asim Mar 25 '18 at 14:51
  • YES THATS WHAT I WANT TO DO – Laiba Mar 25 '18 at 14:54
0

Step 1 - create a cms page and have your video added on that page.

Step 2 - you have to override the CreatePost controller of magento-customer module and redirect customer to that cms page.

You have to write a simple module to override that functionality , you can check this link for detailed step how to implement that functionality.

Magento 2 - Redirect user to specific page after register

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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