View bbloomer_shipping_phone_checkout.php
<?php | |
/** | |
* @snippet Shipping Phone & Email - WooCommerce | |
* @how-to Get CustomizeWoo.com FREE | |
* @author Rodolfo Melogli | |
* @compatible WooCommerce 3.6.4 | |
* @donate $9 https://businessbloomer.com/bloomer-armada/ | |
*/ | |
View wcs_gifting_autocheck.php
<?php | |
add_filter('wcsg_recipient_checkbox_checked', '__return_true'); |
View wcsg_shipping_address_false.php
<?php | |
add_filter( 'wcsg_require_shipping_address_for_virtual_products', '__return_false' ); |
View woocommerce_subscriptions_processing_order_override.php
<?php | |
/* | |
* set all orders to Processing on payment complete | |
* even ones containing products marked as Virtual & Downloadable | |
*/ | |
add_action( 'woocommerce_payment_complete', 'woocommerce_subscriptions_processing_order_override' ); | |
function woocommerce_subscriptions_processing_order_override( $order_id ) { | |
if ( ! $order_id ) { |
View my_automatewoo_referrals_generate_advocate_key.php
<?php | |
add_filter('automatewoo/referrals/generate_advocate_key', 'my_automatewoo_referrals_generate_advocate_key', 10, 2 ); | |
/** | |
* @param $key | |
* @param AW_Model_Referral_Advocate $advocate | |
* @return int|string | |
*/ | |
function my_automatewoo_referrals_generate_advocate_key( $key, $advocate ) { |
View ppro_add_comment.php
<?php | |
/** | |
* Add WooCommerce Order Number to PayPal Comment | |
* | |
* return @array $post_data | |
*/ | |
function ppro_add_comment( $post_data, $order ) { | |
$post_data['COMMENT1'] = $order->get_order_number(); |
View number_thumbnail_columns.php
<?php | |
add_filter('woocommerce_product_thumbnails_columns', 'number_thumbnail_columns'); | |
function number_thumbnail_columns() { | |
$columns = 5; | |
return $columns; | |
} |
View upgrade_downgrade.txt
#: includes/class-wc-subscriptions-switcher.php:444 | |
#: includes/class-wc-subscriptions-switcher.php:539 | |
#: includes/class-wc-subscriptions-switcher.php:2560 | |
msgid "Upgrade or Downgrade" | |
msgstr "" | |
#: includes/class-wc-subscriptions-switcher.php:1857 | |
msgctxt "a switch type" | |
msgid "Upgrade" | |
msgstr "" |
View functions.php
<?php | |
/** | |
* Add the new variable to the list. | |
*/ | |
add_filter( 'automatewoo/variables', 'new_automatewoo_purchase_note_variable' ); | |
/** | |
* @param $variables array | |
* @return array |
NewerOlder