• I’ve searched variations on the forums and I don’t see this listed anywhere
    Creating a store for my wife’s soaps and crafts.
    Soaps have attributes of
    Size. Shapes and scents

    All shapes are not available in all sizes. All are different. Is it possible to make it so where the customer selects the size of large in the drop down that the next drop down will only show the large shapes in it without showing small and medium.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Yes, this is possible.

    I found this video to be helpful when I was setting it up for a client.

    Best of luck!

    Thread Starter jkillian

    (@jkillian)

    Thanks for your response. I understand how to configure whats in the video.
    Im trying the get the shapes drop down dependent on whats selected in the size drop down. Large is selected in in the size and only large images appear in the next drop down of shapes.

    How many variations do you have for this product? There is a threshold, the default is 20 or 30 depending on what you read. Increasing the threshold to higher than the number of variations can help.

    You can increase the variations threshold using this snippet in functions.php for your child theme:
    https://gist.github.com/mohsinoffline/f06c66259e667d6b16bb

    As you make the threshold bigger, the page size gets bigger so page load time will increase. You’ll need to make a judgement.

    Thread Starter jkillian

    (@jkillian)

    When size of large is selected from the first dropdown on large shapes will appear in the next dropdown. If medium is selected only medium images will be available in the next dropdown etc

    Please post the url to the product page.

    Thread Starter jkillian

    (@jkillian)

    It hasnt been created yet. The product im using a dummy item in a sandbox site to get this right before putting it into a live site

    • This reply was modified 7 years, 9 months ago by jkillian.

    OK, how many variations do you have for this product?

    Thread Starter jkillian

    (@jkillian)

    SIZE Small, Medium and Large
    SHAPES small 15, Medium 20, Large 34
    SCENTS 43
    COLORS 22

    Not sure of the number of variations but with these numbers it will be HUGE. I only have 5 of each in my attributes for my sandbox for testing.
    I may not be using scents and colors in my variations.
    I need my drop down for size to determine the shapes sizes that will appear in dropdown of shapes. Large selected then large shapes names displayed in dropdown shapes. Medium displays medium and small displays only small shapes.

    Here is my sandbox
    SANDBOX

    That’s around 200,000 variations, less any that are not available, so an impracticable number in my view. The most I’ve seen is a site with 800, and very much less would be easier to manage. Consider steps to reduce the number.

    – split the product

    – use the “Any” attribute option when making variations. For example, if I sell T-shirts in red and blue with a choice of 2 logos, that’s 2 x 2 = 4 variations. But if my variations are red/any and blue/any, that’s only 2 variations not 4. The principal will scale up. In my example, the logos would have to be all the same price.

    – look at add-ons. Using the above example, my two variations would be red and blue, but I would have radio buttons underneath to allow the logo choice. The logo choice is carried to cart and checkout.

    Booster (free) has an add-ons module:
    https://www.ads-software.com/plugins/woocommerce-jetpack/
    The add-ons have both label and price. The free version may be a bit limiting but there are other premium add-on plugins you could look at.

    Then there’s this one:
    https://www.ads-software.com/plugins/wc-fields-factory/
    You can add custom fields to products. If the choices add a cost then some code is needed, but if say all colours are the same price, a series of radio buttons would allow the customer to choose.

    Best to experiment a bit to see what works for you.

    Thread Starter jkillian

    (@jkillian)

    Thanks for the response lorro.
    I actually only need the variations in size and shape. Ill try these two plugins out.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Specific variation’ is closed to new replies.