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?
Asked
Active
Viewed 604 times
0
Laiba
- 63
- 2
- 21
-
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
-
CAN UH GUIDE ME THE CODE PLZ – Laiba Mar 25 '18 at 14:54
-
are you using some extension for vendor registration ? – Naveed Asim Mar 25 '18 at 14:56
-
WELL YES ITS VENDOR REGISTRATION FORM I'VE GOT ITS FILE reister.phtml – Laiba Mar 25 '18 at 15:00
-
@Naveed arent uh gonna help me? – Laiba Mar 25 '18 at 15:16
-
Let us continue this discussion in chat. – Naveed Asim Mar 25 '18 at 15:19
1 Answers
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.
Naveed Asim
- 3,637
- 2
- 11
- 22