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.

Woocommerce communication not working

Home Forums Bug Reports and Feature Requests Woocommerce communication not working

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #22941
    dgarcialopez
    Participant

    Hello

    I am planing to use Verge3D in a woocomerce website. I followed the tutorial “Making 3D Product Configurators for WooCommerce”(https://youtu.be/dJdUKwSxA8c). I uploaded spinner demo to one product and seems that the connection with woocommerce atributes is not working. Color balls hide correctly but materials does not change with the dropdown menus.

    http://dglvisual.com/vaultiria/?product=test-3d
    http://dglvisual.com/vaultiria/wp-content/uploads/verge3d/9/spinner.html

    The console displays this error:
    visual_logic.js:601 Uncaught TypeError: Cannot read property ‘color’ of undefined
    at wooProductAttribute (visual_logic.js:601)
    at visual_logic.js:805
    at visual_logic.js:757
    at XMLHttpRequest.<anonymous> (woo_product.js?ver=5.3.2:52)

    wooProductAttribute @ visual_logic.js:601
    (anonymous) @ visual_logic.js:805
    (anonymous) @ visual_logic.js:757
    (anonymous) @ woo_product.js?ver=5.3.2:52
    load (async)
    v3d_woo_request_product_info @ woo_product.js?ver=5.3.2:48
    trigger @ jquery.js?ver=1.12.4-wp:3
    a.event.trigger @ jquery-migrate.min.js?ver=1.4.1:2
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    t.onChange @ add-to-cart-variation.min.js?ver=3.8.1:1
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    ListPicker._handleMouseUp
    

    I am trying it in a plain wordpress site, only woocomerce and verge3d plugins are installed.

    Wordpress 5.3.2
    Woocommerce 3.8.1
    Verge3D plugin 2.16.1
    Verge3D blender 2.17.1
    Blender 2.81

    #22944

    Hi,

    make sure you generated variations for your product
    Search for “Now, let WooCommerce generate all possible variations for you” in this guide.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #22954
    dgarcialopez
    Participant

    All variations are added with a given price. I think it could be something connected with woocommerce version, in which version you tried it?

    Attachments:
    You must be logged in to view attached files.
    #22966

    The version is the same. Looks like your woocommerce callback returns {status: error}, which hints a server-side problem.
    I wonder if you change your app name from ‘test-3d’ to some other name (or like in the tutorial)? In other words, try to be as close to the guide as possible. We need to understand the reason.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #22973
    dgarcialopez
    Participant

    I deleted the previous product and added a new one following strictly the tutorial and it works the same with the same error.

    http://dglvisual.com/vaultiria/?product=spinner

    I also tried with other projects trying to just print the atribute selected in the console and it gives the same error

    #22975

    I wonder if you can share your WordPress admin account with us so that we could debug it? We’d appreciate that.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #22981
    dgarcialopez
    Participant

    I’ve just send the admin login through a message in the contact form of your website.

    Thanks!

    #22993

    Thanks! We replied to that email.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #36697
    zordans
    Participant

    Hi, I’m also having the same problem.
    I found out that disabling the plugin resolves it.
    Furthermore, with the plugin enabled, also other products without the Verge3D viewer can’t go past the Buy button.

    How can I manage to make it work?

    • This reply was modified 10 months ago by zordans.
    Attachments:
    You must be logged in to view attached files.
    #36713
    zordans
    Participant

    Here is what I’m getting.

    When clicking on the different options, the spinner doesn’t change it’s color or size.
    The add to cart button also is disabled and greyed out.
    Clicking on it gives this warning: “Please select some product options before adding this product to your cart.”

    I’m also getting some new errors and warnings with the Verge3D plugin installed.

    Is there a way to fix it?

    • This reply was modified 10 months ago by zordans.
    Attachments:
    You must be logged in to view attached files.
    #36724

    Hi,

    if you temporarily switch to the Standard WordPress theme, will it work for you?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #36758
    zordans
    Participant

    Hi,

    I tried to switch between the standard theme and also other ones. Still not

    #36839

    I’m also getting some new errors and warnings with the Verge3D plugin installed.

    could you please provide more details?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #36846
    zordans
    Participant

    Here is what I’m getting loading the page:

    Uncaught ReferenceError: wc_add_to_cart_params is woo_product.js?ver=5.6:52 not defined
        at v3d_woo_request_product_info (woo_product.js?ver=5.6:52)
        at v3d_woo_get_product_info (woo_product.js?ver=5.6:38)
        at wooGetProductInfo (visual_logic.js:1121)
        at Object.PL.init (visual_logic.js:1167)
        at spinner.js:88
        at v3d.js:1
    v3d_woo_request_product_info @ woo_product.js?ver=5.6:52
    v3d_woo_get_product_info @ woo_product.js?ver=5.6:38
    wooGetProductInfo @ visual_logic.js:1121
    PL.init @ visual_logic.js:1167
    (anonymous) @ spinner.js:88
    (anonymous) @ v3d.js:1
    setTimeout (async)
    (anonymous) @ v3d.js:1
    (anonymous) @ v3d.js:1
    (anonymous) @ v3d.js:1
    (anonymous) @ v3d.js:1
    Promise.then (async)
    (anonymous) @ v3d.js:1
    ri @ v3d.js:1
    compileAsync @ v3d.js:1
    _precompileSceneAsync @ v3d.js:1
    o.renderer._resizeCb @ v3d.js:1
    (anonymous) @ v3d.js:1
    (anonymous) @ v3d.js:1
    Promise.then (async)
    R_.parse @ v3d.js:1
    parse @ v3d.js:1
    (anonymous) @ v3d.js:1
    (anonymous) @ v3d.js:1
    load (async)
    load @ v3d.js:1
    load @ v3d.js:1
    loadScene @ v3d.js:1
    loadScene @ spinner.js:83
    (anonymous) @ spinner.js:40
    (anonymous) @ v3d.js:1
    Promise.then (async)
    loadLogic @ v3d.js:1
    (anonymous) @ spinner.js:36
    (anonymous) @ spinner.js:45
    load (async)
    (anonymous) @ spinner.js:5

    And that comes after clicking on a variable (Color: blue)

    Uncaught ReferenceError: wc_add_to_cart_params is not defined
        at HTMLFormElement.v3d_woo_request_product_info [as woocommerce_variation_has_changed] (woo_product.js?ver=5.6:52)
        at Object.trigger (jquery.min.js?ver=3.5.1:2)
        at HTMLFormElement.<anonymous> (jquery.min.js?ver=3.5.1:2)
        at Function.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.each (jquery.min.js?ver=3.5.1:2)
        at s.fn.init.trigger (jquery.min.js?ver=3.5.1:2)
        at HTMLSelectElement.t.onChange (add-to-cart-variation.min.js?ver=4.8.0:1)
        at HTMLFormElement.dispatch (jquery.min.js?ver=3.5.1:2)
        at HTMLFormElement.v.handle (jquery.min.js?ver=3.5.1:2)
    • This reply was modified 10 months ago by zordans.
    #36865

    Hi,
    can you share your WordPress admin account with us (privately, via contact form) so that we could debug it? We’d appreciate that.

    Verge3D’s Tech Chief
    FB | Twitter | VK

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