• Resolved David Buckle

    (@juggernautdigital)


    Hi, I used to use a URL to add a specific product variation to the cart. for example;

    https://www.example.co.uk/basket/?attribute_pa_one=foo&attribute_pa_two=bar&add-to-cart=1845

    This URL was built by selections on a custom form.

    For some reason now this also requires a variation_id adding to the query string.

    I just do not understand because by defining the variation_id you are selecting the attributes. For example, each combination of attributes is a specific ID.

    Is there some jquery to request the ID from a combination of attributes?

    OR can we remove the requirement of the variation_id if you already have all the attributes in the query string?

    Like I say, this used to work fine! But now, for a reason unbeknown to me it has changed.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add to cart urls for variation products’ is closed to new replies.