WPIntell

Source evidence

Bug blocks the displaying of minicart in single product

Quick Buy Now Button for WooCommerce · support · 2021-01-20T10:08:00+00:00

complaintsentiment
highseverity
0.97relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 25 rows with source links

24.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
michelangelobencivenga unresolved
I have an ecommerce with this plugin installed. It works but gives also a bug, it blocks the displaying of mini cart in the single product page. See here: https://fratellicarbone.it/prodotto/quattro-lattine-da-5-litri/ I studied the plugin code and I found a function which could cause the issue. That’s the function: add_filter( 'woocommerce_is_checkout', [ $this, 'woocommerce_is_checkout' ] ); //in the __construct() /** * Fake woocommerce checkout page. * * @param bool $is_checkout Is checkout page?. * * @return bool */ public function woocommerce_is_checkout( $is_checkout ) { if ( is_product() ) { return true; } return $is_checkout; } If I deregister it, the plugin seems work fine and also the minicart starts again to work. So Anyone can tell me more about this function? I can’t find on google any useful info about the woocommerce_is_checkout filter, and I can’t figure out why this function would block the mini cart. The page I need help with: [ log in to see the link]

Comments

0 shown

No comments were stored for this source.