1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Show WooCommerce Cart and Item Count in Global Header

Discussion in 'Free Divi Community Forum' started by Brian F, Dec 3, 2020.

  1. Brian F

    Brian F New Member

    Hi,

    I am stumped by this issue. I found some code online and was able to show the cart and item count on desktop, but for the life of me cannot figure out how to hook into the theme builder header to display the item count next to the cart icon on mobile devices.

    What I have found is that the theme builder uses ReactJS and apparently creates the header dynamically. After hours of poring over the JavaScript in Divi, I couldn't find anything that helped. I work for a small agency and the owner is growing impatient. I'm hoping to get some help for this quickly so we can roll out the client's redesigned website.

    Thank you in advance :)
    Brian
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring unique comment design on single blog post page:View Demo
  2. Problemizer.com

    Problemizer.com Divi Expert

    You can always dump item count elsewhere and then you can pick it up and insert it with JavaScript after the header loads.