We can easily add our custom script in woocomerce checkout page by adding the following fuction in function.php of active
Continue readingCategory: Wordpress
How to add “add to cart” button in woocommerce
For example we are going to implement add to cart button in product loop Step 1: At first we have
Continue readingLanguage regarding visitor ip for weglot wordpress
Creating function for tracking ip in function.php 2. Update Weglot pluging file to auto redirect language in public \plugins\weglot\src\services\class-redirect-service-weglot.phpReplace the
Continue readingWoocommerce product gallery not working for Wp rocket
We need to add bellow urls in Excluded JavaScript files block in Delay Javascript execution
Continue readingHow to detect home page in iphone and safari
I simply added a class called “home” in landing page then just check this class as
Continue readingMailchimp integration in php
Note: URL https://us6 depands on user location such as us12 etc
Continue readingSend Email in wordpress
It’s very easy to send email in WordPress Fun way to create email template that includes responsive design1. Create a
Continue readingAjax call without admin-ajax in wordpress
Creating a custom URL that can me use as API. At first we need to use init hook in function.php
Continue readingwoocommerce_cart_item_price customization
Need to add the above hook in function.php of active theme
Continue readingWoocommerce cart functions
total prices of products in cart (with taxes): 127 shipping costs: 12 fees (taxable): 13 discount from a coupon: 10
Continue reading