## # 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}.

SPS_LBL_ENABLED=Enable plugin SPS_DSC_ENABLED=If you don't want to see the {simpleproduct} in your text enabled the main option and put no on these one. SPS_LBL_FORCESSL=Force SSL SPS_DSC_FORCESSL=Force SSL if the product is displayed on page without SSL (doesn't work if SEF activated). SPS_LBL_ECOMMERCE=ECommerce SPS_DSC_ECOMMERCE=Choose the ECommerce component that you are using with Joomla SPS_LBL_FILE=Customized template SPS_DSC_FILE=Use your own snapshot template in the /plugin/content/simpleproductsnapshot/ folder. By default, use default in the plugin configration page. SPS_LBL_SHOWNAME=Show product name? SPS_DSC_SHOWNAME=Defines whether or not to show the name of the product SPS_LBL_SHOWIMAGE=Show product thumbnail? SPS_DSC_SHOWIMAGE=Defines whether or not to show the thumbnail of the product SPS_LBL_SHOWDESC=Show product short description? SPS_DSC_SHOWDESC=Defines whether or not to show the short description of the product SPS_LBL_SHOWPRICE=Show product price? SPS_DSC_SHOWPRICE=Defines whether or not to show the price of the product SPS_LBL_SHOWADDTOCART=Show 'Add to cart' button? SPS_DSC_SHOWADDTOCART=Defines whether or not to show the 'add to cart' button SPS_LBL_SHOWMYCART=Show 'My Cart' SPS_DSC_SHOWMYCART=Defines whether or not to show the 'my cart' link SPS_LBL_SHOWMORE=Show 'read more' link? SPS_DSC_SHOWMORE=Defines whether or not to show the 'read more' link SPS_LBL_SHOWERROR=Show error messages SPS_DSC_SHOWERROR=Display or not error messages send by the plugin. SPS_LBL_SHOWSTOCK=Show stock SPS_DSC_SHOWSTOCK=Show stock informations. #VirtueMart SPS_LBL_AJAX=Disable AJAX SPS_DSC_AJAX=Disable AJAX even if you want to use this plugin with RokTabs. SPS_LBL_TEMPLATE=VirtueMart Snapshot SPS_DSC_TEMPLATE=Use the VirtueMart snapshot template in folder /components/com_virtuemart/themes/default/template/common/snapshot.tpl.php. Only for VirtueMart. SPS_LBL_SHOWDESCRIPTION=Show product complete description? SPS_DSC_SHOWDESCRIPTION=Defines whether or not to show the complete description of the VirtueMart product SPS_LBL_SHOWUNIT=Show product unit? SPS_DSC_SHOWUNIT=Defines whether or not to show the product unit of the VirtueMart product SPS_LBL_SHOWATTRIBUTE=Display attributes SPS_DSC_SHOWATTRIBUTE=Display attributes form with the product. You have to activate the 'Add to cart' button. Only for VirtueMart. SPS_LBL_SHOWQUANTITY=Quantity SPS_DSC_SHOWQUANTITY=Show quantity form. If not activated, the quantity by default will be 1. You have to activate also the 'Add to cart' button. Only for VirtueMart SPS_LBL_SHOWRATING=Show rating SPS_DSC_SHOWRATING=Display the product rating sent by the users. Only for VirtueMart. SPS_LBL_SHOWREVIEWS=Show reviews SPS_DSC_SHOWREVIEWS=Display the reviews posted by users. Only for VirtueMart. #Seber Cart