Michael Boldin
Forum Replies Created
-
Thanks, looking forward to that next update. Will you reply here with the custom CSS at that time?
Forum: Plugins
In reply to: [SSL Insecure Content Fixer] chrome still reports insecure contentMaking it easier, I just deactivated revolution slider – not using it on my shop subdomain. Thanks again for the help!
Forum: Plugins
In reply to: [SSL Insecure Content Fixer] chrome still reports insecure contentawesome, I really appreciate the help! It seems to be resolved simply by fixing the issue on #2 – the background image.
I did that first and didn’t even touch the google font issue – although I probably should anyway – and the padlock looks good.
thank you.
Forum: Plugins
In reply to: [SSL Insecure Content Fixer] chrome still reports insecure contentha! my bad, sorry!
https://shop.tenthamendmentcenter.com/checkout/
thanks so much for taking a look.
excellent, thank you! I’ll follow up with you after the update to let you know one way or the other. Should be a few days.
Thanks, Justin – I appreciate your follow up.
Just to add – I did make some changed to the customer-renewal-order.php file on woocommerce subscriptions, but kept the function in there to get_order_number
Do you think that maybe I caused the conflict? Or, is the fix going to handle this?
Here’s what my file looks like:
<?php if ( ! defined( ‘ABSPATH’ ) ) exit; ?>
<?php do_action( ‘woocommerce_email_header’, $email_heading ); ?>
<?php if ( $order->status == ‘pending’ ) : ?>
<p><?php printf( __( ‘Your membership has expired. You can renew today online – payments via Credit Card, Check, Paypal, and Bitcoin. Please use the following link: Renew Now »‘, WC_Subscriptions::$text_domain ), get_bloginfo( ‘name’ ), $order->get_checkout_payment_url() ); ?></p>
<?php endif; ?><?php do_action( ‘woocommerce_email_before_order_table’, $order, false ); ?>
<h2><?php echo __( ‘Order:’, WC_Subscriptions::$text_domain ) . ‘ ‘ . $order->get_order_number(); ?></h2>
<table cellspacing=”0″ cellpadding=”6″ style=”width: 100%; border: 1px solid #eee;” border=”1″ bordercolor=”#eee”>
<thead>
<tr>
<th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Product’, WC_Subscriptions::$text_domain ); ?></th>
<th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Quantity’, WC_Subscriptions::$text_domain ); ?></th>
<th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Price’, WC_Subscriptions::$text_domain ); ?></th>
</tr>
</thead>
<tbody>
<?php echo $order->email_order_items_table( false, true, false ); ?>
</tbody>
<tfoot>
<?php
if ( $totals = $order->get_order_item_totals() ) {
$i = 0;
foreach ( $totals as $total ) {
$i++;
?><tr>
<th scope=”row” colspan=”2″ style=”text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo ‘border-top-width: 4px;’; ?>”><?php echo $total[‘label’]; ?></th>
<td style=”text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo ‘border-top-width: 4px;’; ?>”><?php echo $total[‘value’]; ?></td>
</tr><?php
}
}
?>
</tfoot>
</table><?php do_action( ‘woocommerce_email_after_order_table’, $order, false ); ?>
<?php do_action( ‘woocommerce_email_footer’ ); ?>
Thank you for asking.
I’m using the premium plugin.
Forum: Plugins
In reply to: [WooCommerce] Restrict payment options based on productDoes anyone have advice on how to do a combo – restrict some gateways for some products and others for others? I can’t seem to get the proper function down. Here’s what I have, and what I want to add below.
add_filter(‘woocommerce_available_payment_gateways’,’filter_gateways’,1);
function filter_gateways($gateways){
global $woocommerce;
foreach ($woocommerce->cart->cart_contents as $key => $values ) {
//store product id’s in array
$highpriceditems = array(24,55);if(in_array($values[‘product_id’],$highpriceditems)){
unset($gateways[‘mijireh_checkout’]);
unset($gateways[‘cheque’]);
unset($gateways[‘bitpay’]);
unset($gateways[‘wepay’]);
break;
}}
return $gateways;
}*****
For products 24 and 55, those 4 gateways do NOT show up at checkout. this is good.
But, I can’t figure out how to do something different for product 75. I want to do the following:
unset($gateways[‘mijireh_checkout’]);
unset($gateways[‘paypal’]);FYI – I’m not worried about all those products in the cart at the same time, because the first 2 are subscription products, they can’t be in there together anyway.
Forum: Plugins
In reply to: [WooCommerce] Restrict payment options based on productThis worked like a charm! Sean, I’d be interested in buying this plugin or paying to have you develop it.
Here’s what I did to remove mijireh and checks, but leave paypal for a specific product:
add_filter(‘woocommerce_available_payment_gateways’,’filter_gateways’,1);
function filter_gateways($gateways){
global $woocommerce;
foreach ($woocommerce->cart->cart_contents as $key => $values ) {
//store product id’s in array
$highpriceditems = array(24);if(in_array($values[‘product_id’],$highpriceditems)){
unset($gateways[‘mijireh_checkout’]);
unset($gateways[‘cheque’]);
break;
}}
return $gateways;
}Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] spacing below the add this buttonsthat did the trick, thank you!
Forum: Plugins
In reply to: [AddThis Welcome Bar] Have the welcome bar float when the user scrolls?worked – and easy to implement. thank you!
that did it. thank you!