This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

mini cart display error only at home page in child theme

6 years ago · Last reply by SiteOrigin 6 years ago

hai there.

i am using siteorigin north child theme. At home page, the cart cannot display full but is fully functional on any other pages besides home page. when i look at the source code, stops at on child theme home page while functionally it should continue to have until .

when i don’t use child theme and use Siteorigin North theme instead, the cart will fully display on all pages including home page.

any idea to what may cause this on my child’s theme?

thank you..

best regards,
andrew

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. raharjoandrew 6 years, 8 months ago

    adding on to the previous comment, the select order-by list is also missing in child theme. please help

  2. raharjoandrew 6 years, 8 months ago

    hello,

    i found out that it is because i put in

    /** Disable Ajax Call from WooCommerce */ add_action( ‘wp_enqueue_scripts’, ‘dequeue_woocommerce_cart_fragments’, 11); function dequeue_woocommerce_cart_fragments() { if (is_front_page()) wp_dequeue_script(‘wc-cart-fragments’); }

    this causes the cart to not function properly.

    (problem solved)

    but unfortunately, i still dont have a clue as to why my div.ordering-selector-wrapper and select.order-by is missing on my child theme.

    hopefully someone can shed a light to this?

    thanks,
    andrew

  3. raharjoandrew 6 years, 8 months ago

    silly me, i have found out i did code this into my child theme.

    remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );

    problem solved.

    thanks guys for reading this.

  4. SiteOrigin 6 years, 8 months ago

    Hi Andrew

    Sorry we weren’t able to reply sooner.

    Thanks for updating this thread, we really appreciate it. I’m glad to see you’re making progress.

    All the best with your project.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread