1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, 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

Code Module displays code not imbedded content

Discussion in 'Free Divi Community Forum' started by BarryCambs, Oct 3, 2025.

  1. BarryCambs

    BarryCambs New Member

    Hi there
    I'm rebuilding an old hand coded html site using WP and Divi and I'm having a slight problem embedding our Shopify products into a page.

    If I copy and paste the generated code for a collection from the Shopify site to a Divi Code Module, everything works fine. However, if I try and modify the page at all after I've copied the code, then when I open it again, the page is displaying the code in the form of text, rather than the embedded content. If I delete the module and start again, then it's fine unless I change anything on the page, then it seems to corrupt again.

    Any help much appreciated!

    Barry
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  2. BarryCambs

    BarryCambs New Member

    I should say the imbedded content doesn't display in design view either for some reason and I have to go to an incognito window to see it
     
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    If it works in incognito mode, then it just might be a browser cache issue. Try hard refresh your page & see if it works: CTRL+F5
     
    1. PRO MEMBER PERKS Divi Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site:Learn More
  4. BarryCambs

    BarryCambs New Member

    I've tried the hard refresh you suggested, but still no luck. It doesn't display the content in incognito mode either. I'll try starting again in a completely new form.

    Many thanks
     
  5. BarryCambs

    BarryCambs New Member

    So tried a blank page. I added a section, a row and a Code Module in that. I pasted in the code from Shopify and it all worked fine. I then added a new row with a Text Module to add a title and this then caused the page to show the pasted code as text.

    If I add a new section and put my text module in there, it seems fine, so it looks like the code module needs it's own section to work. It's fine now I know the problem, but is this how it should be?

    Thanks, Barry
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade testimonial carousel design for your Divi site without using any plugins:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    If that's the case, it might be a bug in Divi itself. You may report the bug to official Divi support at: https://www.elegantthemes.com/members-area/help/
     
  7. BarryCambs

    BarryCambs New Member

    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now