9. Dezember 2010

vordefinierte Variablen für VirtueMart

Um den Virtuemart Shop anzupassen, kann man auf folgende Variablen zurückgreifen:

Variablen für Flypage / Produkt-Details

  • product_name The Product Name
  • product_sku The Product SKU / Produktnummern
  • product_s_desc The Product Short Description
  • product_description The Product Description
  • product_weight_uom The Product Weight's unit of measure
  • product_length The Product Length
  • product_height The Product Height
  • product_width The Product Width
  • product_lwh_uom The Unit of Measure for The Product Length,Width,Height
  • product_url The Product URL
  • product_in_stock The Number of Products currently in Stock
  • product_available_date The UNIX Timestamp for The Product Availability Date
  • product_availability The Product Availability String
  • product_special Y or N, is The product on special?
  • product_discount_id The Product's Discount ID
  • cdate The Product's Creation Date (UNIX Timestamp)
  • mdate The Product's last Modification Date (UNIX Timestamp)
  • product_sales The Number of Sales of this Product
  • product_unit The Product's Packaging Unit
  • product_packaging The Number of Products per Package
  • product_price_lbl The price label; "Price:"
  • product_price The completely formatted product price
  • product_packaging Product Packaging information
  • file_list The list of additional files for this product (when The product has files assigned to it)
  • product_availability The product availability information; includes The "number of products in stock" and The average delivery time
  • addtocart The Add-To-Cart Button Code
  • product_type Product Parameter Values
  • product_reviews The List of Product Reviews
  • product_reviewform The Form to post a new Product Review
  • product_image The small product image; complete image tag; wrapped into an URL when available.
  • product_full_image The relative filename of The product full image (relative to / components/com_virtuemart/shop_image/products/
  • product_thumb_image The relative filename of The product thumbnail image (relative to / components/com_virtuemart/shop_image/products/
  • buttons_header The PDF, Email and Print buttons
  • navigation_pathway The pathway to The product (Power Tools # Outdoor Tools # Chain Saw)
  • more_images The link to The "Product Images" page when The product has additional product images
  • manufacturer_link The link to The manufacturer info page
  • vendor_link The link to The vendor info page
  • edit_link The link to The product form of this product (admin only)
  • ask_seller The link to The "Ask a question about this product" page
  • related_products Liste der verwandten Produkte
  • navigation_childlist The child categories for The current category (this product is located in)
  • images The object list of all additional images this product has
  • files The object list of all additional files this product has

Variable für Browse / Produkt-Listen

  • product_name The Product Name
  • product_sku The Product SKU / Produktnummern
  • product_s_desc The Product Short Description
  • product_weight_uom The Product Weight's unit of measure
  • product_length The Product Length
  • product_height The Product Height
  • product_width The Product Width
  • product_lwh_uom The Unit of Measure for The Product Length,Width,Height
  • product_flypage The internal Product URL (to The details page)
  • product_url The external Product URL
  • product_in_stock The Number of Products in Stock
  • product_available_date The UNIX Timestamp for The Product Availability Date
  • product_availability The product availability information; includes The "number of products in stock" and The average delivery time
  • cdate The Product's Creation Date (UNIX Timestamp)
  • mdate The Product's last Modification Date (UNIX Timestamp)
  • product_price The completely formatted product price
  • form_addtocart The Add-To-Cart Button Code
  • product_rating The average Product Rating
  • product_details The string "Details"
  • product_full_image The relative filename of The product full image (relative to / components/com_virtuemart/shop_image/products/
  • product_thumb_image The relative filename of The product thumbnail image (relative to / components/com_virtuemart/shop_image/products/
  • images The object list of all additional images this product has
  • files The object list of all addtional files this product has
  • buttons_header The PDF, Email and Print buttons
  • browsepage_header The heading, The category description
  • parameter_form The Parameter search form
  • orderby_form The sort-by, order-by form PLUS top page navigation
  • navigation_pathway The pathway to The product (Power Tools # Outdoor Tools # Chain Saw)
  • navigation_childlist The child categories for The current category (this product is located in)
  • browsepage_footer The footer with page navigation and result counter