We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

the 3d app load twice in wp plugin

Home Forums Plugins the 3d app load twice in wp plugin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #68717
    xiaolllll
    Participant

    Hi
    I am using the wordpress verge3d plugin with woocommerce, I notice that the 3Dapp load twice when visiting the product associated with a 3D model ,but when you visit the html file separately it loaded only once, I think the html file is included twice somewhere, but I cant figure out.
    console log

    #68718
    xiaolllll
    Participant

    post the img again.

    Attachments:
    You must be logged in to view attached files.
    #68722
    kdv
    Participant

    As a variant, you’ve incluted vertex_colors.js twice. Once in vertex_colors.html (needed) and once somewhere else (not needed).

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #68727
    xiaolllll
    Participant

    Hi
    It’s the html file included twice, or say the iframe src loaded twice. they are official original code.I just add some log.

    #68729
    kdv
    Participant

    On my side I see no problems with app-based products :unsure:

    WordPress 6.4.1 (with WooCommerce 8.3.1) works as expected.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #68758
    xiaolllll
    Participant

    ok , there is something uncompatible with the theme I am using, it seems that the js reassigned the src attribute to the iframe, and I could not find which one, And is there some method I can use to determine when the 3Dapp is starting loading, or loaded, so I can stop it from loading twice :unsure:

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.