MultivendorX Pro
-
AuthorPosts
-
-
May 4, 2023 at 4:41 AM #191693ChrisParticipant
Hi support,
I’m trying to improve the user experience of my vendors in adding an inventory before uploading a product. I’ve removed some parts which is not needed for my vendors and would like to change the words to suit my product needs so that my vendors could understand better. However, I was facing difficulties in locating the file related to the codes on line 106 to line 118 in modules/rental-pro/templates/html-endpoint-add-inventory.php. Can you please guide me to locate that file?
-
May 4, 2023 at 4:44 AM #191694ChrisParticipantThis reply has been marked as private.
-
May 4, 2023 at 4:45 AM #191695ChrisParticipantThis reply has been marked as private.
-
May 4, 2023 at 1:25 PM #191704NerdySupportExpert MoumitaKeymaster
Chris, if you simply want to rename the fields then all you have to do is use a plugin like loco plugin and rename the fields.
You can get the instruction here: https://multivendorx.com/docs/knowledgebase/multivendorx-translation-guide/ -
May 4, 2023 at 9:47 PM #191735ChrisParticipant
Hi, thanks for suggesting the usage of translate plugin.
However, I needed to delete the three fields in the top (highlighted in red) and rename all the fields in the bottom (highlighted in pink). I see that you’re using php foreach loop to loop through a block of code for each element in an array in line 106 to 118. Specifically, for title parts, I think I have to edit the origin files of the code used in line 106 to line 108 to delete the title of the top three fields (highlighted in red) and rename all the fields in the bottom (highlighted in pink). For options part, I also have to edit the origin files of the code used in line 110 to line 118 to delete the options for the top three fields (highlighted in red). Do you know which file should be edited for these parts? I tried to search for it but I just couldn’t found it. Your help would be much appreciated. Thanks
-
May 5, 2023 at 7:36 PM #191795promitaKeymaster
Hi @Chris, To delete the three fields add this below code in functions.php of your current active theme.
add_filter('mvx_frontend_dashboard_rental_pro_taxonomies', 'delete_fields', 10, 1); function delete_fields($link) { $link = array('resource', 'person', 'deposite', 'attributes', 'features'); return $link; }
Copy -
May 8, 2023 at 1:14 AM #191835ChrisParticipant
Hi, thanks for the code. For renaming part, the loco translate doesn’t have these specific strings to translate but its okay, I modified and added some if statements code to achieve my desired outcome and it works. You may close this thread now. Thanks.
-
May 8, 2023 at 11:20 AM #191844Sangita Support SquadKeymaster
Thanks for informing . If you need help or face issues in future please create a new thread.
-
-
AuthorPosts
The topic ‘Consulting on the Rental Pro Inventory Modification on Vendor Dashboard’ is closed to new replies.