Source string

  • Product attributes and options may be set with the a<aid>o<oid> argument. For example, if product 23 has an attribute named "Size" with attribute ID = 12, and if there are three options defined for this attribute ("Small", "Medium", and "Large", with option IDs 4, 5, and 6 respectively), then to add a "Medium" to the cart you would use the link:
    /cart/add/p23_a12o5
    To add two products, one "Medium" and one "Small", you would use two actions:
    /cart/add/p23_a12o5-p23_a12o4
    Or, to just add two "Medium" products:
    /cart/add/p23_q2_a12o5

Used at the following places

  • ubercart: 1.x-3.14.1 (1)