Product

shopp('product.add-to-cart')

Displays the Add to Cart button that adds the product (and selected product variations) to the shopper’s cart.

shopp('product.addon')

Used inside the product addons loop to display addon inputs.

shopp('product.addons')

By default, this tag loops through each of the product addons available. Can also be used to output a menu of addons.

shopp('product.buy-now')

Alias for shopp(‘product’,’add-to-cart’) with button value of “Buy Now”

shopp('product.categories')

Loops through each assigned category so that a custom layout for displaying the categories can be specified within the looping block.

shopp('product.category')

Used in the shopp('product','categories') loop to show information for each assigned category.

shopp('product.coverimage')

Displays the default image for the product.

shopp('product.description')

Displays the product description.

shopp('product.donation')

Displays a donation amount input that can be displayed as either a text box or a drop-down menu that allows the customer to specify an amount to donate.

shopp('product.found')

Used to test if the requested product is available.

shopp('product.freeshipping')

Used in a test to display different content when free shipping is available versus when it is not available for a specific product.

shopp('product.gallery')

Builds a dynamic image gallery with a gallery preview image display and a selection of thumbnails for all images available for a product.

shopp('product.has-addons')

Used to detect if there are product addons available for the product.

shopp('product.has-categories')

Tests whether the product has any categories it is assigned to.

shopp('product.has-images')

Tests whether the product has any images and loads any unloaded images

shopp('product.has-savings')

A test intended to allow you to show a savings amount (a currency amount and/or percentage) when there is a difference between the regular price and sale price of a product.

shopp('product.has-specs')

Tests whether the product has any detail specs.

shopp('product.has-tags')

Test whether the product has any tags associated with it.

shopp('product.has-variations')

Used to detect if there are product options available that need to be selected before the product can be added to the cart.

shopp('product.id')

Displays the product ID from the database.

shopp('product.image')

Used in the shopp('product','images') loop to show an individual product image in the loop.

shopp('product.images')

Loops through the product images so that you can display each product image of a set type.

shopp('product.in-cart')

Tests to see if the current product is currently in the shopping cart.

shopp('product.in-category')

Used to test whether the product exists in a specified category.

shopp('product.input')

Displays an input element to allow customer input for a product before adding it to the cart.

shopp('product.isfeatured')

Used to test when a product has been marked as a featured product that would appear in the Featured Products smart category.

shopp('product.name')

Displays the name of the product.

shopp('product.onsale')

A test to determine if there are any active sale prices.

shopp('product.outofstock')

Displays an out of stock notice if the product and all its variations have no stock.

shopp('product.price')

Displays the normal price of the product using the currency format associated with the store’s base of operations (set in the [[General Settings]] screen).

shopp('product.quantity')

Displays the quantity or donation amount input.

shopp('product.relevance')

Displays the relevance score for each product in certain product collections that score products.

shopp('product.saleprice')

Displays the sale price of the product using the currency format associated with the store’s base of operations (set in the [[General Settings]] screen).

shopp('product.savings')

Normally used in the first part of a ‘has-savings’ test block to show the amount of savings between the sale price and regular price.

shopp('product.sku')

Displays the product stock keeping unit (SKU).

shopp('product.slug')

Displays the slug of the product.

shopp('product.spec')

Used in the ‘specs’ loop to show the individual product detail/spec entry.

shopp('product.specs')

Loops through each product detail spec so that custom spec layout can be specified within the looping block.

shopp('product.stock')

Displays the starting stock total for the product.

shopp('product.summary')

Displays the summary of the product.

shopp('product.tag')

Displays the current tag name in a shopp('product.tags') loop.

shopp('product.tagged')

Determines if the product is associated with a given tag name or id.

shopp('product.tags')

Each call iterates to the next tag associated with the product.

shopp('product.tax-rate')

Displays the tax rate associated with the product.

shopp('product.type')

Displays the product type.

shopp('product.url')

Displays the product url.

shopp('product.variation')

Displays a specified property from the current variation in a shopp('product','variations') loop.

shopp('product.variations')

By default, this tag loops through each variation of the product available allowing custom display of variation properties through the shopp('product','variation') tag.

shopp('product.weight')

Displays the weight of a product or weight range of product variations.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar