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.

Can you ‘set value’ to a group of materials at once?

Home Forums Puzzles Can you ‘set value’ to a group of materials at once?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #69725
    darstudio
    Customer

    Hello, I have a Woocommerce app where I need to set the scale and position of 9 materials to different values depending on the variant combination for the product.

    I connected values in the materials nodes but the problem I am having is that I have 16 different product variant combinations, if I need to do this 9 times for each material that is a LOT of puzzles (I attached a screenshot with the puzzles needed for one material).

    Is there a way to ‘set value’ for a group of materials, or is there a better way to make this work?

    Thank you!

    • This topic was modified 9 months, 3 weeks ago by darstudio.
    Attachments:
    You must be logged in to view attached files.
    #69730
    kdv
    Participant

    Could you make a little more informative screenshot? :scratch: With letters readable…

    If your 16 materials have exactly the same values it’s quite possible to do the job using a loop for a list of materials.

    Puzzles and JS coding. 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 the meaning at all.

    #69732
    darstudio
    Customer

    Sorry, here is a close-up. Basically, there are a lot of product options and I am wondering if there is a way to simplify the puzzles configuration?

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

    See the screenshot above.

    Puzzles and JS coding. 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 the meaning at all.

    #69736
    darstudio
    Customer

    Thank you very much! I will try this. Also, stupid question, I am sure, but how can I rename the value nodes so I can tell them apart better?

    #69738
    kdv
    Participant

    how can I rename the value nodes so I can tell them apart better?

    Puzzles and JS coding. 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 the meaning at all.

    #69740
    darstudio
    Customer

    You are amazing, thank you so much! :good:

    #69748
    darstudio
    Customer

    Hi, I tried this but it does not seem to allow me to select the value – the dropdown is empty/red. Have I done something wrong?

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

    First, you’ve made a mistake. See my example with a little more attention. Second, remove variables from the “set value” puzzles, choose some material, choose values, put variables back.

    Puzzles and JS coding. 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 the meaning at all.

    #69772
    darstudio
    Customer

    That worked! Also, yes, my setup was wrong, once I followed yours exactly (first setting the value with one of the materials and then replacing it with i) it worked fine. Thank you very much :heart:

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