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 | |
add_action( 'woocommerce_cart_totals_after_order_total', 'my_theme_hide_cart_estimated_text' ); | |
add_action( 'woocommerce_after_cart_totals', 'my_theme_remove_cart_tax_zero_filter' ); | |
function my_theme_hide_cart_estimated_text() { | |
add_filter( 'woocommerce_get_cart_tax', 'my_theme_set_cart_tax_zero' ); | |
} | |
function my_theme_set_cart_tax_zero( $tax ) { | |
return 0; |
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 | |
/** | |
* Template for displaying earch form | |
* | |
* @author Vendidero | |
* @version 1.0.0 | |
*/ | |
?> | |
<div class="widget widget_search"> | |
<form action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get"> |
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 | |
/** | |
* Template for displaying product search form | |
* | |
* @author Vendidero | |
* @version 1.0.0 | |
*/ | |
?> | |
<form action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get"> | |
<input type="search" name="s" value="<?php the_search_query(); ?>" placeholder="<?php _e( 'Search Products', 'vendipro' );?>" /> |
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 | |
$service = 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; | |
$client = new SoapClient( $service, array( 'exceptions' => true ) ); | |
try { | |
$rs = $client->checkVat( array( 'countryCode' => 'AT', 'vatNumber' => 'U653977XX' ) ); |
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 woocommerce_gzd_template_checkout_legal() { | |
echo '<p class="form-row legal terms">' . ( get_option( 'woocommerce_gzd_display_checkout_legal_no_checkbox' ) == 'no' ? '<input type="checkbox" class="input-checkbox" name="legal" id="legal" />' : '' ) . ' <label class="checkbox" for="legal">' . wc_gzd_get_legal_text() . '</label></p>'; | |
} | |
?> |
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 | |
my_childtheme_disable_confirmation( $confirm ) { | |
return false; | |
} | |
add_filter( 'woocommerce_gzd_instant_order_confirmation', 'my_childtheme_disable_confirmation', 10, 1 ); | |
?> |
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
<wpml-config> | |
<admin-texts> | |
<key name="theme_mods_vendipro"> | |
<key name="vendipro_options"> | |
<key name="features_1" /> | |
<key name="features_2" /> | |
<key name="features_3" /> | |
</key> | |
</key> | |
</admin-texts> |
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
<wpml-config> | |
<admin-texts> | |
<key name="woocommerce_gzd_shipping_costs_text" /> | |
<key name="woocommerce_gzd_free_shipping_text" /> | |
<key name="woocommerce_gzd_order_submit_btn_text" /> | |
<key name="woocommerce_gzd_complaints_procedure_text" /> | |
<key name="woocommerce_gzd_delivery_time_text" /> | |
<key name="woocommerce_gzd_unit_price_text" /> | |
<key name="woocommerce_gzd_product_units_text" /> | |
<key name="woocommerce_gzd_display_listings_link_details_text" /> |
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
.woocommerce-checkout { | |
border: 2px solid #0099cc; | |
padding: 15px; | |
} | |
.woocommerce .checkout .woocommerce-checkout-review-order { | |
border: none; | |
padding: 0; | |
} |
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 | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
/** | |
* Contains Revocation Form Fields | |
* | |
* @class WC_GZD_Revocation | |
* @version 1.0.0 | |
* @author Vendidero | |
*/ |
OlderNewer