• Resolved kautif

    (@kautif)


    I have a fake store that I need help with. I have a basic WooCommerce store setup. This store sells prosthetics. A customer may purchase one of four base units: Left arm, right arm, left leg, or right leg. All four limbs share the attributes of Materials and Actuation. The left and right arms have the additional attribute of hand type.

    For materials, the possible attribute values are Thermoplastic, Latex, Zirconium Dioxide, and Porcelain. For actuation, the possible attribute values are joint, stiff and implant. Lastly, for hand type, the possible attribute values are body powered, myoelectric, passive functional, hybrid, or adaptive.

    Every possible product variation is available in the store, has a price, and a SKU. You can search for any product variation via the SKU BUT, when you search via the SKU, WooCommerce does not automatically have the values associated with the SKU already selected for each attribute. So, if my SKU is right-leg-thermoplastic-joint, each of those values should be already selected in the respective drop downs, but they’re still untouched.

    So, I want to know how to make the default values of the attributes match the SKU when that’s how a product is searched for. Please help. Thanks.

    • This topic was modified 5 years, 3 months ago by kautif.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there

    Admittedly I’m having a hard time understanding the ideal workflow here; It’s important to note that, our of the box, searching for a product does *not* pre-select the individual variations when clicking on the search result from the single product page.

    If that’s a must-have, the only workaround that I can think of would be to have that custom-developed for your store by a web developer or one of the customisation experts as listed at https://woocommerce.com/customizations/

    Thread Starter kautif

    (@kautif)

    Okay. Yea, I think I can do it with default values but I think I would have to do something with the code, but I don’t know how to do it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic Default Values’ is closed to new replies.