nikhil.chaudhary
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Blocksy] Missing WooCommerce CSS for Cart PageSure @cteduard We can close the ticket now.
Thank!
Forum: Themes and Templates
In reply to: [Blocksy] Missing WooCommerce CSS for Cart PageOk, Thanks for the information.
I see that now the class has been changed from ct-cart-form to ct-woocommerce-cart-form.Forum: Themes and Templates
In reply to: [Blocksy] Missing WooCommerce CSS for Cart Page@cteduard The latest version just broke the cart page layout because of below lines have been removed now:
@media (min-width: 1000px)
.ct-cart-form {
grid-template-columns: 2fr 1fr;
grid-column-gap: 50px;
}.ct-cart-form {
display: grid;
}These CSS styles was in /blocksy/static/bundle/woocommerce.min.css
Forum: Plugins
In reply to: [Stream] FILTER_SANITIZE_STRING deprecatedPlease change below in stream/classes/class-filter-input.php
FILTER_SANITIZE_STRING to
'FILTER_SANITIZE_STRING
'Forum: Plugins
In reply to: [Payment Plugins Braintree For WooCommerce] JS Error when saved cardHere you go: https://secure.healthymummy.com/
Note: This only happens when the current user already has a saved card.- This reply was modified 2 years, 5 months ago by nikhil.chaudhary.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Warning message (YARPP_Cache.php)@jeffparker As far as I can see this should be working absolutely fine.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Warning message (YARPP_Cache.php)Unfortunately it generates a fatal error but we can resolve with this:
$tt_ids = ( empty( $terms ) || is_wp_error( $terms ) ) ? [] : array_unique( wp_list_pluck( $terms, 'term_taxonomy_id' ) );
- This reply was modified 3 years, 11 months ago by nikhil.chaudhary.
- This reply was modified 3 years, 11 months ago by nikhil.chaudhary.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Warning message (YARPP_Cache.php)Hi @jeffparker
I’ve also faced this issue even in the latest version but I’ve fix for this:
$tt_ids = []; foreach( $terms as $term ) { $tt_ids[] = $term->term_taxonomy_id; }
Thanks @afterpayit
@danniee21
In function get_product_final_price defined in class “WC_Gateway_Afterpay” ( afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php ), You should add a filter where it returns the price.Like this:
return apply_filters( 'afterpay_product_final_price', $price, $product );
So basically whole function should be like this:
public function get_product_final_price($product){ if (function_exists('wc_get_price_including_tax')) { $price = wc_get_price_including_tax( $product ); } elseif (method_exists($product, 'get_price_including_tax')) { $price = $product->get_price_including_tax(); } elseif (method_exists($product, 'get_price')) { $price = $product->get_price(); } else { $price = 0.00; } return apply_filters( 'afterpay_product_final_price', $price, $product ); }