The wp_print_footer_scripts hook in WordPress allows developers to add custom scripts or code to the footer of their website. This is particularly useful for including JavaScript or other functionality that needs to be loaded after the main content of the page. Here’s how you can use the wp_print_footer_scripts hook: Understanding the Hook:The wp_print_footer_scripts action is triggered inside the wp_footer action. It provides no… Continue reading Use of wp_print_footer_scripts hook in WP
Category: Coding Standard
About Tabs Responsive plugin in WP
Tabs Responsive is based on bootstrap framework, So This plugin design is responsive and user friendly to any mobile devices. You can display both vertical and horizontal tabs style using this plugin . Add multiple Tabs on multiple pages and post. There unlimited colour scheme and font style available for content. You can add images,… Continue reading About Tabs Responsive plugin in WP
The Rise of Ad Blockers and Their Implications
Introduction: In an era dominated by digital content and online advertising, the prevalence of ad blockers has emerged as a significant trend, reshaping the dynamics of online marketing. As consumers increasingly seek ways to enhance their browsing experience and mitigate intrusive advertising, ad blockers have gained traction, presenting both challenges and opportunities for advertisers, publishers,… Continue reading The Rise of Ad Blockers and Their Implications
Virtual Reality Revolutionizing Online Shopping
Virtual reality (VR) technology has been making waves across various industries, and e-commerce is no exception. As online shopping continues to thrive, businesses are constantly seeking innovative ways to enhance the digital shopping experience for consumers. In this article, we delve into the integration of virtual reality into e-commerce platforms and its potential to revolutionize… Continue reading Virtual Reality Revolutionizing Online Shopping
APIs SuiteCommerce Extensibility Frontend LoginRegister().
LoginRegister() Description The LoginRegister component lets you create listeners for events that occur on the Log In / Register page in a web store. It also lets you capture additional information from the login or register form when a web store visitor logs in or registers. You can listen for the following events on the… Continue reading APIs SuiteCommerce Extensibility Frontend LoginRegister().
Map reduce script to re-sync orders with time out errors
The client would like to sync orders with a time-out error. We identify orders with time-out errors using a custom field in the item fulfillment record. /** * @NApiVersion 2.1 * @NScriptType MapReduceScript */ /************************************************************************************* *********** * * XSEED Education Pte Ltd-IND-NS * * XSEED-534: E-shipz integration * * ************************************************************************************* *********** * * Author: Jobin… Continue reading Map reduce script to re-sync orders with time out errors
PDF template to print the label based on quantity
The client would like to print the item label based on the quantity ordered in the sales order <?xml version=“1.0”?> <!DOCTYPE pdf PUBLIC “-//big.faceless.org//report” “report-1.1.dtd”> <pdf> <pdfset> <head> <link name=“NotoSans” type=“font” subtype=“truetype” src=“${nsfont.NotoSans_Regular}” src-bold=“${nsfont.NotoSans_Bold}” src-italic=“${nsfont.NotoSans_Italic}” src-bolditalic=“${nsfont.NotoSans_BoldItalic}” bytes=“2” /> … Continue reading PDF template to print the label based on quantity
How to set and get cookies on next js
Installation First, you need to install the js-cookie library in your Next.js project: npm install js-cookie Usage Once installed, you can use js-cookie in your Next.js components or pages. Set Cookies To set a cookie, you can use the set method provided by js-cookie: import Cookies from ‘js-cookie’; // Set a cookie Cookies.set(‘cookieName’, ‘cookieValue’, {… Continue reading How to set and get cookies on next js
How to resolve icon issue on the Next js when deployed to firebase
When deploy the code/next.js app to firebase the images and icons may not be load to avoid this issue we have to add the URL of the website where we are deploying the code to images: { unoptimized: true, domains: [‘localhost’,’https://workorder-app.web.app/’], }, on “next.config.mjs” we have to… Continue reading How to resolve icon issue on the Next js when deployed to firebase
How to enable web frameworks in the firebase(i.e. next.js )
To enable the framework on the firebase, we have to write the command on the terminal that is To enable it use the command: firebase experiments:enable webframeworks