Month: May 2020

WooCommerce : Add same product to cart twice instead of changing quantity in Cart Page.

How to add the same product twice to cart instead of changing quantity in WooCommerce In normal case when we increase quantity of product in WooCommerce cart it simply increase quantity of same product that’s one product with incremented quantity. But In some of cases, We like to have product in WooCommerce added in the …

WooCommerce : Add same product to cart twice instead of changing quantity in Cart Page. Read More »

WooCommerce: Programmatically Remove Product From Cart Using Product Id.

Want to remove specific WooCommerce product from a cart? WooCommerce provide ‘WC()->cart->remove_cart_item(string $cart_item_key)’ function to remove a product from cart. if we go through WooCommerce Documentation , wewill find that it accepts cart_item_key as parameter. So All we need is to get the cart’s item key and remove accordingly. We Know while adding an item …

WooCommerce: Programmatically Remove Product From Cart Using Product Id. Read More »

WooCommerce : Display “FREE” if Product Price is 0 or Empty On WooCommerce Cart Page Or Checkout Page.

Do you ever need to replace the default WooCommerce pricing label for a free product? If we ask any user what will he/she like the text “FREE” or a price tag of “0.00”. Majority will say “Free” Attracts More. Now Let’s talk about WooCommerce ,In WooCommerce when product price is zero or empty then on …

WooCommerce : Display “FREE” if Product Price is 0 or Empty On WooCommerce Cart Page Or Checkout Page. Read More »

WooCommerce : Show Only One Error Message on Checkout Field Error.

How to Show Only One Error Message For WooCommerce Checkout Field? Their are approximately 7 to 10 default field which are required on WooCommerce checkout field. In case these all have error then their are so much error in top, you can see in screenshot below. so for removing or we can say replacing all …

WooCommerce : Show Only One Error Message on Checkout Field Error. Read More »

WooCommerce : How to Create a Custom Product Tab on Product page.

Add custom product tabs in WooCommerce This post is regarding how we can add custom tabs on a product page on the front-end. These tabs are additional to the default ‘Description’, ‘Reviews’ and ‘Additional information’ tabs that are available by default. The default tabs in WooCommerce have the following priorities: Description 10 Additional information 20 …

WooCommerce : How to Create a Custom Product Tab on Product page. Read More »

WooCommerce : How to Remove Product Tabs on Product page.

Remove product tabs in WooCommerce Product page. This post is regarding how we can add custom tabs on a product page on the front-end. These tabs are additional to the default ‘Description’, ‘Reviews’ and ‘Additional information’ tabs that are available by default. The default tabs in WooCommerce have the following priorities: Description 10 Additional information …

WooCommerce : How to Remove Product Tabs on Product page. Read More »

WooCommerce : When adding product to cart and then refreshing the page it adds product again to cart.

Add to cart duplicates products on refresh page? Generally in WooCommerce clicking on Add-to-Cart and it successfully add the product and display the message that the product is added. And on refreshing the page and message did not disappear and it adds the product once more to cart. And how many times am refreshing the …

WooCommerce : When adding product to cart and then refreshing the page it adds product again to cart. Read More »

Mandatory qualities that provide a web development company with distinction

What according to you, is the best means to get a job done these days? Which is the one tool that can be always relied upon to make sure that one’s ideas, opinions, or businesses, receive the desired exposure? There are a variety of ways to achieve the intended. But websites seem to have an …

Mandatory qualities that provide a web development company with distinction Read More »

Click on map and get Longitude -Latitude.

How To Get Longitude – Latitude When Clicked On Map? <div id=”MyMap” style=”width:100%;height:500px;”></div> <script> function myMap() {   var mapCanvas = document.getElementById(“MyMap”);   var myCenter=new google.maps.LatLng(51.508742,-0.120850);   var mapOptions = {center: myCenter, zoom: 5};   var map = new google.maps.Map(mapCanvas, mapOptions);   google.maps.event.addListener(map,’click’, function(event) {     LocationMarker(map, event.latLng);   }); } function LocationMarker(map, location) {   var marker = new google.maps.Marker({     position: location, …

Click on map and get Longitude -Latitude. Read More »

WooCommerce: Show Required Field Errors Inline on Checkout Page.

How To Show Required Field Errors Inline on Checkout Required Fields. On WooCommerce checkout page all error are shown on top of form as we can see this in image. Before: Before Adding inline error to required field first we need to get all the fields that are required and have labels. After getting required …

WooCommerce: Show Required Field Errors Inline on Checkout Page. Read More »

Scroll to Top

Contact information