Generate PDF using PHP

We can generate PDF files using one of php external class libraries: TCPDFFPDFZend_PdfDOMPDF – CSS 2.1 compliantWKHtmlToPdfHTML2PDFmPDF – based on It is based on FPDF and HTML2FPDF with a number of enhancements. Use example – php mPDF class library...

WooCommerce catalog mode and category loop

WooCommerce allow us to set catalog mode. See tutorial below: https://wordpress.org/plugins/elex-woocommerce-catalog-mode/ WooCommerce Loop over product categories <?php $args = array( ‘taxonomy’ => ‘product_cat’, ‘orderby’ =>...

JS Slider Library

One of the most popular slider library’s for creating javascript sliders are: Slick – js slider library https://kenwheeler.github.io/slick/ Vanilla JS Swiper – js slider library https://swiperjs.com/ Swiper JS is available for many libraries such as...

GIT – Merge Conflicts – explained

No one likes conflits. But we should not be scared of resolving them. Git provide us wit a merging tool which will be triggered if there are changes on same lines form different sources. Or when on line was deleted in first src and added in another. Marge conflict can...

GIT – Pull Requests

Pull request are based on branches not on individual commits. To create a pull request we need to first create a branch then commit changes and then we are ready to create a pull request. Commit without Pull Request: What if you would like to expose your code for a...

Use GIT – The right way

You can not write a code without some version control system. Today we will talk about git. It is very common and well documented system. However the fact that we use the git does not mean that we use it in a proper way. Like with everything there are some good...

IT Help Desk – Useful tools

To achieve good communication while emailing with a client or support team, it is important to provide them with clean and precise information. For that reason it is curtail to select the right tools for the job. For screen capturing we use LightShot it is a great...
Add custom field to Woocommerce billing form

Add custom field to Woocommerce billing form

Add field to billing form in WooCommerce checkout page add filter for woocommerce_billing_fields add_filter(‘woocommerce_billing_fields’, ‘custom_woocommerce_billing_fields’); function custom_woocommerce_billing_fields($fields) {...