Skip to content

Links that choose for the shopper

Add choices to the end of a product’s web address, and the page opens with them already picked. Handy in adverts and emails.

https://yourshop.com/product/classic-pullover-hoodie/?colour=black&size=l
The Classic Pullover Hoodie page opened from that link. The black hoodie photo shows, under the title it reads Black, L, Black is ticked in Colour and L is picked in Sizes, 2 of 2 chosen, at £39.99.
  1. Copy the product's web address.
  2. Add ? and the first choice, like colour=black.
  3. Add any more after &, like &size=l.

Open it to check. Your choices should already be picked.

  • Colour: colour or color. Size: size.
  • Any other question: its name in lower case, with a hyphen for each space. Back print is back-print, so back-print=none picks None.
  • The choice: its name, the same way. Light Blue is light-blue.
  • Capital letters don’t matter.
  • A link never picks a sold-out choice or a paid extra.
  • A word the product doesn’t have is ignored, and the page opens as normal.
  • On a quantity grid, the link opens the colour with 1 in the size.
Page caching

If your caching plugin shows the same page whatever the link says, add colour and size to its list of query strings. In WP Rocket that's Advanced Rules, Cache Query String(s).

AddOnBoss Pro’s Google Shopping feed uses these links for every item.

Was this page helpful?