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
/** Styling request a quote page **/ | |
.wcraq-request-forms { | |
padding-top: 60px; | |
} | |
#wcraq-request-quote table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th { | |
background-color: #fff; | |
} |
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
/** Hide arrows on number input fields **/ | |
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { | |
display: none; | |
} |
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
/** Hide price **/ | |
.has-extra-fields .woocommerce-variation .woocommerce-variation-price { | |
display: none !important; | |
visibility: hidden !important; | |
} | |
.has-extra-fields .woocommerce-variation-price { | |
display: none !important; | |
visibility: hidden !important; | |
} |
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 | |
/** | |
* Translate Role label | |
*/ | |
function example_callback( $role ) { | |
$role= "Käyttäjätilin tyyppi"; | |
return $role; | |
} |
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
/** Disabled dates color **/ | |
.bfwc-optimise-colours .ui-datepicker td.ui-state-disabled { | |
background: #FF0000 !important; | |
opacity: 1 !important; | |
} | |
/** Fix calendar next/previous icons **/ | |
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span{ | |
display: none !important; |
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 | |
function remove_quote_fields( $fields ) { | |
/** Remove company & message field **/ | |
unset($fields['company']); | |
unset($fields['message']); | |
/** Make phone field required **/ | |
$fields['phone']['required'] = true; |
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 | |
function fee_discount_label( $fields ) { | |
$fields = 'Bulk order discount'; /** Change label test **/ | |
return $fields; | |
} | |
add_filter( 'wcfad_cart_discount_label' , 'fee_discount_label' ); |
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 | |
/** | |
* Translate Pending User Notice | |
*/ | |
function pending_user_notice( $notice ) { | |
$notice= "Käyttäjätilin tyyppi"; /** Translation here **/ | |
return $notice; | |
} |
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 | |
/** | |
* Quote request email | |
*/ | |
defined( 'ABSPATH' ) || exit; | |
/* | |
* @hooked WC_Emails::email_header() Output the email header | |
*/ |
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
@media (max-width: 600px) { | |
.wcpauau-modal-footer { | |
display: flex; | |
width: 100%; | |
justify-content: space-between; | |
} | |
.wcpauau-modal-footer .button { | |
font-size: 14px !important; | |
} | |
ul.pewc-product-extra-groups{ |