• Resolved elliscrowther

    (@elliscrowther)


    Hi,

    I’ve been trying to add some pre-population to a product page. I want the users to be able to click through the ‘Request a sample’ button and have the drop-downs populated based off the page that they were just on.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    It sounds like you want to pre-select the variations on a product page. You can do that by adding the attributes to the URL:

    
    website.com/shop/product1/?attribute_color=red
    website.com/shop/product1/?attribute_length=10m
    
    Thread Starter elliscrowther

    (@elliscrowther)

    Thank you for this.

    I did actually find this 2 days ago and managed to get it working with Advanced Custom Fields.

    All I needed to do was add the custom fields after the attribute.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I’m glad to hear you found solved – thanks for letting us know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Population from previous page’ is closed to new replies.