Woocommerce order email

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


You can send the downloadble product’s file as attachments when order is marked as completed. Add below snipats in current theme’s functions.php for send purchased downloadable files as attachments in the Order Completed and Invoice …

Simple script to upload zip file and unzipped on webserver

Posted by Prem Tiwari | Updated on | in Freebies, PHP Tutorial.


Hello Friend, hope you are doing good. Today i am going to share a simple php script which will upload your zip file to the web server and have it extract to your destination folder. …

Simple image cropping using cropper.js and PHP

Posted by Prem Tiwari | Updated on | in Freebies, Jquery, PHP Tutorial.


Hi friends, hope you are doing good. Today i am going to share how you can crop a simple image using cropper.js and PHP. This is a simple jQuery image cropping plugin cropper.js. The cropper …

Walk through with web pdf viewer using Pdf.js

Posted by Prem Tiwari | Updated on | in Freebies.


PDF.js is a Portable Document Format (PDF) viewer that is built with HTML5. PDF.js is community-driven and supported by Mozilla Labs. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering …