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
add_filter( 'woocommerce_cart_no_shipping_available_html', 'change_noship_message' ); | |
add_filter( 'woocommerce_no_shipping_available_html', 'change_noship_message' ); | |
function change_noship_message() { | |
print "Please call us after placing your order to negotiate shipping: <br />(123) 456-7890"; | |
} |
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
<a href="[amazon_s3 bucket=wooshippingsupport object=Sangre_y_Queso_Soundtrack/FILENAME.EXT]" target="_blank">Link Text</a> |
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 | |
/** | |
* WooCommerce Pre-Orders | |
* | |
* @package WC_Pre_Orders/Templates/Email | |
* @author WooThemes | |
* @copyright Copyright (c) 2013, WooThemes | |
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.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 | |
/** | |
* Login Form | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-login.php. | |
* | |
* HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer). | |
* will need to copy the new files to your theme to maintain compatibility. We try to do this. | |
* as little as possible, but it does happen. When this occurs the version of the template file will. | |
* be bumped and the readme will list any important changes. |
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
/** | |
* Deactivate USPS Shipping if products with specific shipping | |
* classes are in the cart | |
* | |
* Add the shipping class slugs to the $shippingclass_array array | |
*/ | |
add_filter( 'woocommerce_shipping_usps_is_available', 'unset_woocommerce_shipping_methods_usps', 10 ,2 ); | |
function unset_woocommerce_shipping_methods_usps ( $return, $package ) { | |
// Setup an array of shipping classes that do not allow USPS Shipping |
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
<header> | |
<a class="print" href="#" onclick="window.print()"><?php _e('Print', 'woocommerce-pip'); ?></a> | |
<div style="float: left; width: 49%;"> | |
<?php echo woocommerce_pip_print_logo(); ?> | |
<?php if ($action == 'print_invoice') { ?> | |
<h3><?php _e('Invoice', 'woocommerce-pip'); ?> <?php echo woocommerce_pip_invoice_number($order->id); ?></h3> | |
<?php } else { ?> | |
<h3><?php _e('Packing list', 'woocommerce-pip'); ?></h3> | |
<?php } ?> | |
<h3><?php _e('Order', 'woocommerce-pip'); ?> <?php echo $order->get_order_number(); ?> — <time datetime="<?php echo date("d/m/Y", strtotime($order->order_date)); ?>"><?php echo date("d/m/Y", strtotime($order->order_date)); ?></time></h3> |
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
<progress value="50" max="100"></progress> |
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
<dl> | |
<dt>Term</dt><dd>Definition</dd> | |
<dt>Term</dt><dd>Definition</dd> | |
<dt>Term</dt><dd>Definition</dd> | |
<dt>Term</dt><dd>Definition</dd> | |
<dt>Term</dt><dd>Definition</dd> | |
</dl> |
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 | |
/** | |
* WooCommerce cart | |
* | |
* The WooCommerce cart class stores cart data and active coupons as well as handling customer sessions and some cart related urls. | |
* The cart class also has a price calculation function which calls upon other classes to calculate totals. | |
* | |
* @class WC_Cart | |
* @version 2.1.0 | |
* @package WooCommerce/Classes |
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 echo do_shortcode('[product_brand width="64px" height="64px" class="alignright"]') ?> |