In the "Accept cookies:" section shown below, select "From third parties and advertisers" or "Always" options to enable cookies in Safari. You can also select "Ask websites not to track me" if you'd like that option selected. Cookies will then be activated and you can now close the Safari Preferences window and continue browsing/shopping.