Created
July 31, 2013 17:37
-
-
Save Reyjay/6124249 to your computer and use it in GitHub Desktop.
Slatwall Product variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#$.slatwall.product('productDescription')# | |
#$.slatwall.product()# | |
#$.slatwall.getProduct()#<!---This is the proper way of doing it---> | |
#$.slatwall.product('productDescription')# | |
#$.slatwall.getProduct().getProductDescription()#<!---This is the proper way of doing it---> | |
#$.slatwall.product('productDescription', 'my-new-description')# | |
#$.slatwall.getProduct().setProductDescription('my-new-description')#<!---This is the proper way of doing it---> | |
#$.slatwall.getProduct().getBrand().getBrandName()# | |
#$.slatwall.getProduct().getBrand().getBrandWebsite()#<!---This is the proper way of doing it---> | |
#$.slatwall.product().getProductURL()# | |
#$.slatwall.product().getImage(size="m")# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment