Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
‘sup developers. Today we are going to create a custom view class that will add certain fuctionality in our application.
In magento, to express a field to be required, magento by default add a ‘*’ in front of it.
Like
To add this functionality, normally we write some boring code. Why can we do like this:
and we get the same functionality
Yes, this possible. Here comes our CUSTOM VIEWS
What we have to do in order to create custom view.
Note: Don’t forget to use namespace. For gradle project use this:
Custom Views plays an important role. They not only makes the work easier but they SAVE OUR LIFEs.
That’s all folk’s Stay tuned!!!
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.