Dokan plugin: how to modify fields in registration page?
Author | Posts |
---|---|
January 12, 2015 at 1:55 pm 33926 | |
towhid | Hi Dokan, I'm currently strggling to customize dokan plugin to fit in Korean site. On seller reg. form, 1. How to remove "last name" field or integrate it with first name field? ( changing "first Name" to "Name") --> Just want to use "name" field for most of KO site don't separate "first name" and "last name" 2. I want to customize address field ( adding a popup button to select address in Korea), could you guide me to do that? ( I already have that address function by installing another plugin) 3. For phones field, I want add select box (carrier numbers in Korea) and then concatenate it with regular phone fields to save it to database. Is this possible also? All of above things I don't want to manipulate the core files, how can I accomplish these things? --> use function.php to remove existing filter/action and redefine them OR, --> put template-tags.php,wc-functions.php, etc. to /child-theme/dokan directory and customize them Best, JP |
January 12, 2015 at 3:18 pm 33937 | |
Jun Pyo | This reply has been marked as private. |
January 12, 2015 at 3:42 pm 33941 | |
towhid | Hello Jun Pyo, For 1,2 and 3 you can try yourself first and all of this point to work you have to do with child theme. Step 1: Create Step 2: Write Step 3: Write You can also read this to know more how to modify parent file by child theme- http://code.tutsplus.com/tutorials/how-to-modify-the-parent-theme-behavior-within-the-child-theme–wp-31006. Thank You 🙂 |
January 12, 2015 at 5:05 pm 33948 | |
towhid | Hello Jun Pyo, Can you please switch to language in English and see that weird icon appear or not? Thank You 🙂 |
January 12, 2015 at 5:22 pm 33953 | |
Jun Pyo | This reply has been marked as private. |
January 13, 2015 at 1:35 pm 34033 | |
Jun Pyo | Hi, I think I found where it happens regarding the red “X” icons during seller registration. it seems that from line 674 of form-validate.js is the spot, which is ShowLabel function. To be precise, “this.settings.errorPlacement(label, $(element) );” do this in line 697. I can confirm that the element’s valid attribute remains “true” all the way to the process. But I still don’t get why this happens and how to deal with this, please help. (Currently I set the site language to “English”, fyi) |
January 19, 2015 at 12:42 pm 34492 | |
towhid | Hello Jun, Sorry for the late reply. Did you fixed red “X” icons during seller registration. Can you please send me the file location for Thank You 🙂 |