WordPress / Zazzle Shortcode Over-rides

Here is a list, with examples, of the attributes used for over-rides. They are similar to HTML attributes so HTML users should feel right at home. Their uses match the options above so refer to the list above for any explanations.

ere is a list of the options available on the options page & detailed instructions on what they do:

Contributor Handle

The Zazzle username associated with the store you wish to show products from.

Associate ID

An ID used for referrals. Found under the associates center, which can be found in the gallery tab of MyZazzle.

Product Line ID

Allows you to display a specific product line. Leave blank to show all proucts from a gallery. The product line ID can be found by clicking on a product line in a gallery. The URL will look something like http://www.zazzle.com/coatsofarms/products/cg-196595220567583981. The string or numbers on the end is the product line ID.

Product Type

Exactly what it says. Restrict which type of product is show from the gallery.

Keywords

Also exactly what it says. Restict products returned from the gallery by a keyword. Comma seperated. Eg. Cat, star, cow. You get the idea.

Grid Width

How wide, in pixels, should the complete product grid be. Although this is in pixels you do not need the px on the end, just the number.

Grid Cell Size

The size of each grid cell. Just pick a size from the list.

Grid Cell Spacing

The space, again in pixels, between each grid cell. As before although the value is in pixels only the number is needed & not px.

Grid Cell Background Color

The color used for each grid cells background color. Use the color picker to pick a color of your choice, you can move the cursor around, type RGB, HEX or HSB it's your choice. Just click outside the color selector when done.

Enable Image Zoom

Turns on a special javascript effect that zooms the product images larger when the mouse cursor is hovered over them.

Use Google Analytics

If you want to use Google Analytics the set this to true & then fill in Google Analytics Number with your UA number from your Google Analytics account. If you already have a Google Analytics plugin running on WordPress you should not run this.

Google Analytics Number (ID)

If you set the last option to true then this is where you put your Google Analytics Number. It looks like this: UA-xxxxxxx-x. If you already have a Google Analytics plugin running on WordPress you probably won't need this.

Show How Many Products

How many products do you want to show per page, or if you have pagination turned off, how many do you want to show in total. Default is 20. It is generally not a good idea to set this above 100 or 150 as it could crash older computers while trying to load all the images.

Starting Page

What page of results do you want to start on.

Show Pagination

Do you want to show a pagination. A pagination is the list of numbers that represent links to other pages if there are too many products to show on the first page.

Show Sorting

Do you want to show the sorting options. This allows visitors to sort by the Date Created or Popularity if set to true.

Default Sorting

What do you want the products to be sorted by. Applies even if Show Sorting is set to false.

Show 'By' Line

Do you want to show the products 'By' line. This is the line that says 'by zazzlestore'. Another words do you want to show which store created to product.

Show Product Title

Pretty obvious. Do you want to show the products title.

Show Product Price

Again obvious. Do you want to show the products price.

Shortcode Over-rides

Here is a list, with examples, of the attributes used for over-rides. They are similar to HTML attributes so HTML users should feel right at home. Their uses match the options above so refer to the list above for any explinations.

contributorhandle

Example: [zstore contributorhandle="ZazzleStore"]

associateid

Example: [zstore associateid="THEASSOCIATEID"]

productlineid

Example: [zstore productlineid="THEPRODUCTLINEID"]

producttype

Example: [zstore producttype="cards"]. You may use the three digit code or the name of a product from this list.

keywords

Example: [zstore keywords="cats"]. A list of keywords if more than one is used they must be comma(,) seperated.

gridwidth

Example: [zstore gridwidth="400"]

gridcellsize

Example: [zstore gridcellsize="medium"]. This must match either tiny, small, medium, large or huge.

Shortcode Examples

You can use any of these in combination like this:[zstore contributorhandle="ZazzleStore" producttype="Mugs" keywords="cats, dogs"]

To show products from a different shop but want referal from:[zstore contributorhandle="actual zazzle shop name" associateid="ur associateid"]

To show products from a different shop with your referal filtering by product type and keyword:[zstore contributorhandle="fishtsdotcom" associateid="238227572017964166" product type="T-Shirts" keywords="blue"]