VisionCart.vcGetProducts.tpl
This is a user-contributed Extra. If you find issues or would like more info or help, please contact the author.
VisionCart vcGetProducts tpl Chunk
Default Value
<tr> <td>[[!vcGetProductImages?id=`[[+id]]`&prefix=`100_`&rel=`lightboxdemo[]`&limit=`1`]]</td> <td> <strong><a href="[[+url]]" title="[[+name]]">[[+name]]</a> ([[!vcGetProductCustomField?id=`[[+id]]`&field=`Publisher`]])</strong> <p>[[+vc.category.name]] | [[!vcGetProductCustomField?id=`[[+id]]`&field=`Release year`]] | PEGI [[!vcGetProductCustomField?id=`[[+id]]`&field=`PEGI`]] | Professionele beoordeling: [[!vcGetProductCustomField?id=`[[+id]]`&field=`Rating`]] <p>[[+description:ellipsis=`250`]]</p> <p><a href="[[+url]]" title="Lees meer">Lees meer...</a></p> <!-- [[!vcGetProductCustomFields?id=`[[+id]]`]]--> </td> <td> <p>Prijs: [[+vc.shop.config.currency]][[+price]]</p> <p>[[+stock:if=`[[+stock]]`:gt=`0`:then=`Op werkdagen voor 21:30 besteld, morgen in huis.`:else=`Levering 1 tot 3 werkdagen.`]]</p> </td> </tr>
Available Placeholders
Name | Description | Default |
---|---|---|
id | Product ID | Product ID |
shopid | Shop ID | Shop ID |
parent | Parent product ID (if this SKU) | 0 |
taxcategory | Tax category | 2 |
name | Product name | Product name |
alias | Product alias name | Product alias |
description | Product description | Product description |
articlenumber | Product article number | Product article number |
price | Product price | 0 |
weight | Product weight | 0 |
shippingprice | Product shipping price | 0 |
publishdate | Product publish date | 0 |
unpublishdate | Product unpublish date | 0 |
stock | Stock | 0 |
tierprice | Tier price | |
active | Whether or not this is an active product. Boolean | 1 |
categoryid | Category ID | 0 |
productid | Product ID (same as id) | Product ID |
cacheable | Whether or not this is an cacheable product. Boolean | 1 |
priceex | 0 | |
pricein | 0.00 | |
url | The direct URL of the product. Path depends on scheme config. | category_alias/product_alias/article_number-product_id |
Rarely used placeholders | ||
pictures | Array with file names of the product | |
customfields | Array with customfields of the product | |
sort | Index of category sorting | Integer |
linkId | Link identifier number | Link identifier number |
cachekey | Cache key | Cache key |
display.price.ex | Same as priceex | 0 |
display.price.in | Same as pricein | 0.00 |
See Also
- VisionCart.Back-end
- VisionCart.Front-end
- VisionCart.General
- VisionCart.vcGetProductImages
- VisionCart.vcGetProductOptions
Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).