## # Content - Simple Product Snapshot # # Author: Bruno Pourtier # Copyright: Copyright (c) 2008-2011 Bruno Pourtier. All Rights Reserved. # License: GNU General Public License V3 # Email: bruno.pourtier@gmail.com # Version: 1.5.0 # Website: http://forge.joomla.org/gf/project/simplesnapshot/ # # Description: # This module allow you to insert VirtueMart, or Seber Cart, product in some content (articles, modules, newsletters...). # # VIRTUEMART:: # You can use both the following tags: # - {simpleproduct:id=XX} (XX is product ID) # - {simpleproduct:sku=text} (text is product SKU). # You can use the VirtueMart snapshot template, in the folder: /components/com_virtuemart/themes/default/template/common/snapshot.tpl.php # or create your own customized template. # To do so, create two files (mytemplate.tpl.php & mytemplate.css) and save them in the following folder /plugin/content/simpleproductsnapshot/ # # SEBERCART:: # Use the following tag: # - {simpleproduct:id=XX} (XX is product ID} # # NEW! All the parameters can now be applied for each product by following the notation: # {simpleproduct:id=01,enabled=1,template=0,file=custom,showname=1,showimage=1,showdesc=1,showprice=1,showattribute=1,showquantity=1,showaddtocart=1,showmycart=1,showmore=1} # NEW! You can now use different template for each product displayed with this plugin by using the parameters {...template=0,file=mytemplate}. # Frontend languages SPS_PRODUCT_UNAVAILABLE=Producto %s no disponible SPS_VIRTUEMART_NOTINSTALLED=Necesita instalar VirtueMart antes de usar el plugin SimpleProductSnapshot SPS_SEBERCART_NOTINSTALLED=Necesita instalar Seber Cart antes de usar el plugin SimpleProductSnapshot SPS_TEMPLATE_NOFILE=El archivo %s no está disponible. Controle el archivo /plugin/content/simpleproductsnapshot/%s. SPS_TEMPLATE_EMPTY=No tiene ningún template asociado para mostrar un producto. Puede usar el por defecto defaulten la página de configuración del plugin. SPS_ADDTOCART=Comprar SPS_MYCART=Ver Carro >> SPS_READMORE=Leer más >> SPS_STOCK_EMPTY=Sin existencia SPS_STOCK_FULL=Existencia SPS_PRODUCTUNIT=Unidad de producto: SPS_QUANTITY=Cantidad: # AJAX POPUP SPS_NOTICE=Noticia SPS_CANCEL=Cancelar SPS_CART=Carro SPS_CONTINUE=Continuar # Backend languages SPS_COMMON_PARAMETER=COMMON Parameters SPS_VIRTUEMART_PARAMETER=VIRTUEMART Parameters SPS_SEBERCART_PARAMETER=SEBER CART Parameters OPT_NO=No OPT_YES=Yes SPS_DESCRIPTION=
This module allows you to insert VirtueMart, or Seber Cart, product in some content (articles, modules, newsletters...). Use the following tags:
{simpleproduct:id=00} (00 is your product ID)
{simpleproduct:sku=text} (text is your product SKU, only for VirtueMart).
One or more parameter can be set up for each product by using the following notation:
{simpleproduct:id=01,param1=value1,...}
To change the layout, you can modify the default one or create your own template.
Create 2 files: templatename.tpl.php and templatename.css (check the default one for beginning).
Put these files in the plugin subfolder, depends on the ecommmerce system you are using, /simpleproductsnapshot/.
In the plugin administration form, write the name of your files templatename (without extensions) in the text field.
Save your changes, reload the frontend page and that's it!
You can now use a different template for each product displayed by using the following notation:
{simpleproduct:id=1,file=myBlueTemplate}.