This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function(){ | |
var hargavc = document.getElementById("hargaku").innerHTML; | |
console.log(hargavc); | |
if (hargavc == '2.000') { | |
const nodeList = document.getElementsByClassName("warnaharga"); | |
const nodeFile = document.getElementsByClassName("warnalist") | |
for (let i = 0; i < nodeList.length; i++) { | |
nodeList[i].style.color= "#e62129"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function(){ | |
var hargavc = document.getElementById("hargaku").innerHTML; | |
console.log(hargavc); | |
if (hargavc == '2.000') { | |
const nodeList = document.getElementsByClassName("warnaharga"); | |
const nodeFile = document.getElementsByClassName("warnalist") | |
for (let i = 0; i < nodeList.length; i++) { | |
nodeList[i].style.color= "#469e69"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from django.urls import path | |
urlpatterns = [ | |
path('admin/', admin.site.urls), | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class SolusiPress_Custom_Woo_Checkout { | |
public function __construct() { | |
add_filter( 'woocommerce_default_address_fields', array( $this, 'woo_address_fields' ), 50, 1 ); | |
add_filter( 'woocommerce_checkout_fields', array( $this, 'woo_checkout_fields' ) ); | |
// first & last name merge | |
add_filter( 'default_checkout_billing_first_name', array( $this, 'first_name_default_value' ), 10, 2 ); | |
add_filter( 'default_checkout_shipping_first_name', array( $this, 'first_name_default_value' ), 10, 2 ); | |
add_filter( 'woocommerce_checkout_posted_data', array( $this, 'checkout_full_name_posted_data' ), 11 ); |