MariaDB Database in React Next.js MariaDB is a popular open-source relational database management system that is widely used in web development. It is known for its high performance, scalability, and reliability, making it an ideal choice for building web applications that require fast and efficient data storage and retrieval. In this tutorial, we will explore… Continue reading MariaDB Database in React Next.js
Author: Mukil Mukesh M K
Create a table in the database using code in WordPress.
Code to create a database table dynamically using PHP. Add this code to function.php or php file in plugin.
What are Promises in Node.js?
A Promise is an object returned by the asynchronous method call that allows you to access information on the eventual success or failure of the operation that they wrap. The Promise is in the Pending state if the operation is still running, Fulfilled if the operation is completed successfully, and Rejected if the operation threw… Continue reading What are Promises in Node.js?
How do you add a click-to-call button to a website with HTML?
What are the benefits of click-to-call buttons? Click-to-call buttons have five primary benefits. 1. They make consumers’ lives easier All it takes is one click for consumers to reach a person at the other end of the line. Well, that’s assuming that you don’t have an automated answering service or the call goes through to… Continue reading How do you add a click-to-call button to a website with HTML?
Magento 2 Get All Shipping Methods list.
Screenshot:
Moving text using Html and CSS
Marquee is the tag used for moving text in html csss Example: Output:
How to remove the Invoices link from the Order View page Front area of Magento 2?
Order View Page in frontend Magento 2, Contains Multiple links related to Order flows like Invoices, shipments, and refunds. If you want to remove the Invoices link from the Order detail page, Customer Dashboard, and My Orders tab You need to override the sales_order_info_links.xml file. Responsible Block name for Invoice tab:sales.order.info.links.invoice Base File Path:vendor/magento/module-sales/view/frontend/layout/sales_order_info_links.xml sales_order_info_links.invoice contains the Invoices tab… Continue reading How to remove the Invoices link from the Order View page Front area of Magento 2?
How to enable cookies from the Magento admin side?
Log in to the Magento admin backend using the credentials. Click on the stores from the sidebar. Then, click on the Configuration option Click on General->Web. Scroll down to the Default Cookie settings in the right side of the page as shown below: Cookie Restriction Mode will be the default “NO” and we need to… Continue reading How to enable cookies from the Magento admin side?
How to redirect from my account page to the homepage when a customer is logging in?
Use the below code in the di.xml file at JJ/Customproductshow/etc/frontend Paste the below code in LoginPost.php file at JJ/Customproductshow/Plugin These files should be added to an existing custom module or added to a new module.
Custom privacy policy pop-up with functionality
Here is the full code for creating a pop-up with for a privacy policy with responsive code. Html code: Css code: Javascript: Screenshot: