Yesterday I had to find a way to show or remove specific options from the product variables dropdown menu.My first thought was hiding using javascript or CSS, but in the end, some browsers (like the iPhone’s safari) keep show those.If …

Remove, not hide, options from variables dropdown menu in wooCommerece’s product pages Read more »

Tested on php 7.4 wp 5.5.1 wooCommerce 4.5.2 The following code add a select box on each product variation It can be called on the product page by:var_dump(get_post_meta( $available_variations[$key][‘variation_id’], ‘licence_ppl’, true )); Note that in this case i’m in a …

Add custom fields to variation in wooCommerce admin panel Read more »

Most of the time CMD command request Administrator privileges to run. Lets make a batch auto check if have admin privileges @echo off goto check_Permissions :check_Permissions echo. echo ADMINISTRATOR LEVEL REQUESTED. CHECKING PERMISSIONS … echo. net session >nul 2>&1 if %errorLevel% …

Batch administrator privileges Read more »

Tagged with: , , ,

After upgrading to Windows 10 I lost my connectivity, Lan and wireless. The error : one or more network protocols are missing from this computer I found this command FIX the problem: Open CMD (administrator rights) Type :  netsh winsock reset catalog …

Windows 10 missing network protocols Fixed Read more »

Tagged with: , ,

This is a method I used to turn off camera in Blind Setting Camera.main.cullingMask to Zero using UnityEngine; using System.Collections; /******************************************** UNITY 5.2.3 Blind Project ’15 Turn ON / Turn OFF Camera & Lights v 1.0 www.Finalmarco.com /********************************************/ public class …

Turn off camera dark screen on Unity 5 (c#) Read more »

Tagged with: ,