Skip to content

Instantly share code, notes, and snippets.

@modmedia
Created January 18, 2014 21:52
Show Gist options
  • Save modmedia/8497172 to your computer and use it in GitHub Desktop.
Save modmedia/8497172 to your computer and use it in GitHub Desktop.
Slatwall - Load a product with a preset sku configuration defined by a url variable.
<!--- Assuming you have a url query called "sku", i.e. ?sku=12345678 --->
<!--- load product options by predefined SKU --->
<cfset defaultSelectedOptions = $.slatwall.getEntity('Sku', 'url.sku').getOptionsIDList() />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment