Grouped Downloads
(View English Down) ********************************************************************** ** MODULO PARA AGRUPAR TODAS LAS DESCARGAS DE UN CLIENTE REGISTRADO ** ********************************************************************** Este módulo solo funcionará para los clientes o usuarios de tu tienda registrados. Si quieres que un cliente registrado pulsado sobre un botón vea todas las descargas virtuales que ha comprado del tirón en una sola página este es tu módulo! La instalación es como cualquier módulo de Zencart: Sube a la raiz la carpeta /includes con las carpetas que vienen y con los 4 archivos que serán modificados. Si has hecho modificaciones en los archivos que salen a continuación revisa lo que he hecho yo para no chafar cualquier otra modificación que hayas hecho tú. (Usa un comparador de archivos) Archivos afectados en este módulo que sobreescribirán los de tu tienda : includes/templates/template_default/templates/tpl_account_history_info_default.php includes/modules/downloads.php includes/templates/template_default/templates/tpl_modules_downloads.php includes/modules/pages/account_history_info/header_php.php Ten en cuenta que este módulo quita la fecha de expiración y varios parámetros que en la tienda original Zencart vienen. HAZ COPIAS DE SEGURIDAD! Tienes un snapshot en: www.diquela.com/shop/viewdownloads.jpg No doy garantias de funcionamiento del modulo! A mi me funciona. Si tienes algun problema puedes enviarme un mail a gtamborero########################## Una vez hayas instalado el modulo si todo ha ido bien escribe en el navegador: http://www.TU-WEB.COM/index.php?main_page=account_history_info&order_id=1&viewdownloads=1 Recuerda estar dentro de un usuario registrado. Si sale en blanco recuerda tambien que tienes que haber comprado algún producto virtual para que veas los productos en esta página. La ruta: index.php?main_page=account_history_info&order_id=1&viewdownloads=1 tienes que ponerla en un sidebox o donde te parezca para hacer el enlace a los productos descargables. *********************************************************** ** MODULE THAT GROUPS ALL DOWNLOADS OF A REGISTERED USER ** *********************************************************** This mod only works for registered users of your zencart shop. If you want that a registered user can access with one click to all of the downloadable products that he has buyed in one only page... this is your mod! Easy installation as other zencart mods: Upload /includes on your shop server with all of the directories and files. There are only 4 files to be modified. If you have done modifications on those 4 files review what I have done so It don't affect to your customizations. (Use a file comparing tool) Affected files on this module that will overwrite the files in your shop: includes/templates/template_default/templates/tpl_account_history_info_default.php includes/modules/downloads.php includes/templates/template_default/templates/tpl_modules_downloads.php includes/modules/pages/account_history_info/header_php.php Know that this mod deletes the field of "Expiration date" on the download view. BACKUP YOUR FILES! You have a snapshot on: www.diquela.com/shop/viewdownloads.jpg I don't give waranty. It works for me this mod. If you have problems you may contact me: gtamborero########################## Once you have instaled the mod try: http://www.YOUR-WEB.COM/index.php?main_page=account_history_info&order_id=1&viewdownloads=1 Remember that you have to be a registered user. If appears blank or only header remember that you need to buy virtual products so you see them. LINK: index.php?main_page=account_history_info&order_id=1&viewdownloads=1 You have to link somewhere (on a sidebox or anywhere you want) in your shop so users can see all there grouped downloads. |
Zen Cart® Versions | v1.3.7 |
Original Author | guillermozx |
Last Updated by | guillermozx - 17 Dec 2007 |
Downloads | 1,189 |
Version History
Grouped Downloads - Version: 1.1 | |||||||||||
17-12-2007 PARA / FOR: ZENCART 1.3.7 MODULE VERSION: 1.1 ONLY 1 Afected file: includes/templates/template_default/templates/tpl_modules_downloads.php (english below) Actualización para la mejora visual de las descargas agrupadas: En la actualización 1.1 he mejorado la visualización estética añadiendo unos iconos al lado de cada descarga según sea un PDF o un MP3 o AVI Ejemplo: www.diquela.com/shop/viewdownloads11.jpg INSTALACIÓN: Si ya instalastes la version 1.0 de este módulo entonces solo tienes que subir este nuevo archivo: includes/templates/template_default/templates/tpl_modules_downloads.php a continuación vete a la definición de idioma y añade esta linea donde quieras: define('DLOAD_TYPE','Tipo'); ------------------------ Update 1.1 for improve visual of the single download page. PDF, AVI or MP3 icon appears next to each download. Example: www.diquela.com/shop/viewdownloads11.jpg INSTALATION: If you have already installed the version 1.0 upload the file: includes/templates/template_default/templates/tpl_modules_downloads.php and afterwards go to your language definitions: /includes/language/english.php and ad this: define('DLOAD_TYPE','Type'); |
|||||||||||
|
|||||||||||
Grouped Downloads - Version: 1.0 | |||||||||||
|
|||||||||||