Recently , i have started learning Magento 2 through Magento’s official website. Initially, I faced issues with installation as i was trying to install it in windows OS and it is clearly mentioned that magento 2 doesn’t support windows OS and mac OS.I fixed issues after installation somehow, after this i explored directory and file
What is a Session? A session is all about the total time taken to complete an activity. In a computer any session begins or “user session” begins when the user logs in or gets an access to any computer, network server or any software service. The session ends when the user shuts down the computer
A brief overview over LAMP One of the most famous and known examples of web service stack is LAMP, which stands for LINUX, APACHE, MYSQL, and PHP. Here Linux is the operating system to install all the other software. Apache serves the HTTP Server while MySQL serves as the database management system. PHP covers all
[responsivevoice_button voice=”UK English Female” buttontext=”Listen to Post”] In today’s world, the most important skill to learn is to know how to write a computer program. Nowadays computers have entered almost every sector. Computers are highly useful for an organization to grow. Gone are the days of manual work. Today, in order to store or access
Laravel has launched its latest version in the market, Laravel 6.0, which comes with newer and improved features over the previous Laravel 5.0. Laravel is an open source PHP framework used in web development. The platform helps simplify processes involved in authentication, caching, etc., to facilitate faster and smoother web development. Top Features of Laravel
PHP programming language has witnessed the newest revolution in the form of its latest major release that everyone in the programming world is talking about – PHP 7. It offers certain enhanced features over its previous versions in order to improve the way web applications are developed and delivered for use in mobile and cloud
There are predefined woocommrece filter hooks to modify the woocommerce variable product price range.You just need to add below mentioned code to your activated theme functions.php.If you are usnig any premium theme then you can add it to child-theme functions.php.Following filter hooks are used to change the woocommerce variable product price range:
I have added extra field to registration form and validated that field.But I had issue while making migration after adding extra column though migration file to save extra field value in database.When I migrate it won’t do any thing.After this, I run migration with refresh option but it roll backed all tables data.And after exploring
I always used to build wordpress project using custom code whatever is requirement.Here, I have used wordpress hooks to customize the registration form.There are pre built action and filter hooks to customize wordpress in-built registration form.You just need to add following codes in your theme functions.php. Add the Custom Field on Front End registration 1.
Recently, I have created e-commerce site using wordpress and woocommerce and it is required to collect more information of customers through extra fields on checkout page.Here, I had many options to customized checkout page using plugins and code.But there was requirement to add fields conditionally according to type of user.For this I used action hook
Recently we have built a social community site in wordpress and we have to create different levels of users according to their membership.So, we dont want to allow users to access admin panel and display admin bar according to their accees level.Here, we will show you how to achieve it. Disable wordpress admin bar
Contact form 7 has many pre-defined hooks through which you can validate any field.Here, in the Contact Form 7 formatting.php module, validation rule is defined by below mentined method.You can override it by filter hook mentioned in apply_filters () through functions.php
As we know that contact form 7 is built up using different action and filter hooks.Here, we need to use JavaScript action hook “on_sent_ok” through which we can hide the contact form 7 as on_sent_ok hook is being called after the form is successfully submitted.There is option to add JavaScript code in Additional Settings form
There are basically three main functions which will be used to add custom meta box for taxonomy and these functions are invoked through following hooks. 1. {taxonomy_name}_add_form_fields 2. {taxonomy_name}_edit_form_fields 3. edited_{taxonomy_name} 4. create_{taxonomy_name} Here, we can replace taxonomy_name with any default or custom created taxonomy accordingly.I have used “Woocommerce product taxonomy” in below mentioned example
You can move the activity after new comment at top by updating the activity publish date and time with current date and time.Please review below mentioned code in which I have used buddy press predefined action and filter.Add following code to functions.php