Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Registration Form Customization

MultivendorX Pro

Resolved
Viewing 7 reply threads
  • Author
    Posts
    • #191274
      Chris
      Participant

      Hi support,
      I want to customize the UI of the registration form. I’ve tried to customize the registration form using the ‘wp’ hooks and it succeeded. However, this seems to cause the checkout page’s checkout row to keep on spinning and loading. The console log shows the CSS added is somehow contained into the .json file, thereby causing an uncaught error. Can you please guide me or provide me the correct hook for this or codes, or anything which is possible to customize this?

      I’m using the codes below which works fine until I tested the checkout flow.

      <?php

      add_action(‘wp’, ‘registration_custom_css’);
      function registration_custom_css() {?>
      <style type=”text/css”>

      /* my CSS code */

      </style>
      <?php
      }

    • #191276
      Chris
      Participant

      Probably this action added all the codes to all files, so it was added to the json file. Maybe if adding a ‘if’ statement would work? but I’m not sure what to be added for the ‘if’ statement… I would be appreciate it if you could provide me the solutions for this thanks.

    • #191339

      @Chris, our team will check and get back to you.

    • #191381

      Hi,
      Try below code…

      
      add_action('wp', 'registration_custom_css');
      function registration_custom_css() {
      	if (is_page_vendor_registration()) { //work only mvx registration page ?>
      		<style type="text/css">
      
      		/* my CSS code */
      
      		</style>
      	<?php
      	}
      }
      Copy

      Regards,

    • #191420
      Chris
      Participant

      Thank you

    • #191446

      @Chris It would be really great if you can give us 5/5 review here: https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
      This would motivate the team further to do their job more efficiently.

    • #191451
      Chris
      Participant

      Alright sure, I have reviewed previously. Does it allow to review for twice?

    • #191469

      No, thanks for that 🙂

Viewing 7 reply threads

The topic ‘Registration Form Customization’ is closed to new replies.