Jump to content

Search the Community

Showing results for tags 'Frontoffice'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. Buenas tardes Amigos, Otra vez yo con mis preguntas estrella, Resulta que he estoy terminando el diseño de mi pagina y he cargado 200 referencias de mi catalogo de las cuales tengo actualmente algunas agotadas, todo el inventario elegí manejarlo de forma avanzada y hasta ahí todo bien, Pero me doy cuenta que los productos que tengo agotados me salen aun en el FrontOffice pese a estar agotados, he desactivado la opción ¿Mostrar productos no disponibles en la página de producto? pero aun siguen saliendo visibles, Que estaré haciendo mal? Prestashop 1.6.0.6 Manuel Acosta
  2. Buongiorno a tutti, informiamo che abbiamo aggiunto i seguenti 2 moduli all'interno del nostro sito http://shop.studioitc.com/index.php 1) Itc_homefeaturedconfig: permette di creare box da visualizzare nella home page, completamente configurabili e senza limiti di numero, che forniscono la possibilità di riportare informazioni su prodotti e categorie di rilievo. All'interno di ognuno di essi è possibile inserire: - titolo box - un'immagine a scelta; - una descrizione; - link verso altre pagine. La pagina del modulo è accessibile al link http://shop.studioitc.com/index.php?id_product=104&controller=product&id_lang=5, nella quale sono disponibili anche una serie di screenshot del modulo. Il modulo è compatibile con tutte le versioni 1.5 di prestashop. 2) Categoryimgprodbox: permette di creare sezioni di interesse da visualizzare nella Home Page (quali prodotti in vetrina, prodotti in promozione, etc...), configurabili e senza limiti di numero, alle quali associare una serie di prodotti con relativa descrizione. All'interno di ogni sezione è possibile inserire: - nome sezione - prodotto con relativa immagine - descrizione (con la possobilità di inserire link al suo interno). La pagina del modulo è accessibile al link http://shop.studioitc.com/index.php?id_product=107&controller=product&id_lang=5, nella quale sono disponibili anche una serie di screenshot del modulo. Il modulo è compatibile con tutte le versioni 1.5 di prestashop. Ricordiamo che per tutti i nostri moduli diamo supporto completo gratuito entro 30 giorni dalla data dell'acquisto per l'installazione e per qualsiasi malfunzionamento. Studio ITC srl.
  3. Hola, soy nuevo en el foro y no sé si este caso ya se ha comentado en el foro. Estoy trabajando con Prestashop 1.5.6.2 y en el FrontOffice, en la columna izquierda, justo encima del footer me aparece un código que no se ha cerrado o creado bien ( --> ). Estoy buscando dicho código por todos lados pero no lo encuentro. No se si este caso ya se ha comentado en el foro. En Web Developer me aparece este Html. <!-- Block CMS module --> <!-- /Block CMS module --> </div>--> </div> <!-- Footer --> El link de la web por si me podéis ayudar: http://textil.seriandaluza.com/index.php Gracias de antemano, Saludos.
  4. Tengo instalado Prestashop v.1.5.5.0 Estoy un poco sorprendida, hace un tiempo que hice la página y que ubiqué todos los módulos en el front office, la cuestión, es que en este momento deseo añadir un bloque de navegación por facetas y no lo consigo, os cuento. El módulo "navegación por facetas" está configurado, creo que correctamente. En la pestaña de módulos veo que está ubicado en la columna izquierda... Pero en la tienda no se ve. Cuando deseo ubicarlo en la posición de destino, en la columna izquierda, hago lo siguiente: Accedo a través "posiciones de módulos"-->"crear un nuevo hook", es curioso porque yo no tengo la opción de "mover", pero en fín, creo que me funciona igual", accedo a través de me dice que ya está allí, que ese módulo ya está en esa posición.. Cuando voy a la ventana "módulos, lo que veo es.. Estará allí, pero no aparece el módulo. Si activo el LiveEdit, resulta que aparece el hook pero figura vacío, ni rastro de mi módulo. Además me ocurre con otros módulos. Es curioso, pero uno de ellos, el bloque CMS, tengo el hook en la columna de la derecha y de la izquierda y solo se ve en la izquieda... ??????, empiezo a desesperarme. ¿alguien se ha encontrado con algo así?..
  5. Buenas...estoy con una nueva instalación y me ha ido todo perfectamente..... Veo el Backoffice y navego perfectamente....pero NO veo el frontoffice... He activado el debug de errores y me sale esto: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 64 bytes) in /var/www/vhost/opa.es/home/html/comercio/classes/Hook.php on line 203 Es problema de mi servidor? tengo que tocar algún archivo?...si ese archivo en concreto, qué debo modificar para que vaya? PD: es la version 1.5.4.1 Saludos
  6. Hola, He actualizado de la versión 1.5.2.0 a la 1.5.5.0 pero el texto aparece alineado a la derecha, en vez de a la izquierda, tanto en el frontoffice como en el backoffice, aunque esto solo ocurre con el español. La web está en español, inglés, francés y alemán, y en el resto de idiomas sale bien. No se trata solo de la alineación, incluso lo desordena, no sé con qué criterio. En el backoffice puede llegar a confundir bastante y hacerte terminar eligiendo la opción contraria a la que quieres. Finalmente he tenido que volver a la 1.5.2.0 para evitar esto. Tengo instalada la plantilla por defecto. He borrado las cachés, etc, y he probado con Chrome, Explorer y Opera y ocurre lo mismo con todos. Gracias de antemano. Backoffice con el texto mal alineado: Frontoffice con el texto mal alineado: Frontoffice con el texto bien alineado:
  7. It is possible to change the name of the bar in Module "Link Block"? Once you have configured the module, I cannot modify the bar that is on top of the various links that i insert. As can be seen in the following pictures. Is there any options to change it? Regards, Jorge Rocha
  8. Hi, I'm having a problem with the multiple shop's. I already have created more than one shop with the tool multiple shop. But i'm having the problem with creating a button in my shop to redirect to another shop. I don't know if i need to create a module or if i have a tool to do that function. Regards, Jorge Rocha
  9. Estimados, He instalado satisfactoriamente Prestashop en su última versión (1.5.3) pero al final cuando quiero ver el sitio (FrontOffice) detallo los errores. En Chrome: El sistema encontró un error mientras extraía http://www.playimport.com.ar/prestashop/index.php. Es posible que el servidor no esté disponible por mantenimiento o no esté bien configurado. A continuación se detallan algunas sugerencias: Volver a cargar esta página web después. Error HTTP 500 (Internal Server Error): Se encontró una situación inesperada mientras el servidor intentaba cumplir con la solicitud. En Firefox: No se ve NADA. En IE: El sitio web no puede mostrar la pagina Causas más probables: El sitio web esta en mantenimiento. El sitio web tiene un error de programación Espero que puedan decirme a qué se debe. Gracias!
  10. Hi to all, I am developing an application to show the frontoffice only product associated with one currency. The application I'm doing, when you change the site to the currency type, there are products that have static values​​. So I come here to this forum to ask, how do I relate one type of product to a value in PHP code. Regards, Jorge Rocha
  11. Hi everyone When i change de desciption of products in BackOffice (Catalog>Products>Select Product> Short description and Description) no changes are made in FrontOffice. Not even with F5 refresh. Is there an option to refresh the description products? Regards, Jorge Rocha
  12. Hola. Instalé el prestashop en un mac. Luego quité la carpeta "Install" y cambie de nombre la "admind". El problema está en que no puedo acceder al frontOffice, me da un error el navegador de "múltiple redireccionamiento" o algo así(creo recordar). Al BackOffice si que puedo acceder. ¿Alguien sabe a qué puede deberse este problema? Muchas gracias!
  13. Bonsoir à tous, Je développe actuellement une solution sur Prestashop, mais je coince sur le l'objet DbQuery. Je cherche à effectuer une recherche de produits en les cherchant dans les tags, j'ai donc écris : $sql = new DbQuery(); $sql->select('*'); $sql->from('products', 'c'); $sql->innerJoin('product_tag', 'l', 'c.id_product = l.id_product'); $sql->innerJoin('tag', 'm', 'l.id_tag = m.id_tag'); $sql->where('m.name = apple'); $sql->orderBy('product_tag'); $res = Db::getInstance()->executeS($sql); print_r($res); Il en ressort une erreur 500, je ne comprends pas où se situe l'erreur, même si je dois avouer que je n'ai jamais été un grand fan des ORM. Quelqu'un peut il m'éclairer svp ? Merci d'avance, M.
  14. Hello, I have found a problem (or bug) in my shop. The price of my products are showed with the vat applied (e.g. Tax is 21%, base 100 € => total price 121 €), in categories, product page, etc... but ONLY for guest users. If the user is registered, the priced showed is without tax in product page, category page... At least in billing page, the tax is added. Thanks for your any help or advice
  15. Bonjour, J'ai acheté et installé le thème LUXE sur prestashop 1.5.2, je ne connais pas à fond encore PS et j'aurais besoin d'aide pour la configuration et l'ordre des blocs et modules, car à présent il n'y a rien sur ma page: http://66.147.244.177/~elenaest/shop/index.php Il y a aussi une erreur avec le logo puisque j'ai choisit une image jpeg mais elle n'apparaît toujours pas ( voir fichier). Est-ce quelqu'un a rencontré le même problème ou peut m'aider à configurer le thème correctement? J'ai déjà envoyé plusieurs messages à addons et au développeur sans réponse... Merci!
  16. hola tengo un problema subiendo un anuncio en formato .gif al modulo de anuncios es compatible o tengo que cambiar el formato ? agradeceria una respuesta gracias
  17. Bonjour, Je suis en ce moment en train de développer une boutique qui marchait très bien pour l'instant mais ce matin plus rien ne fontionne sous Chrome. Lorsque je souhaite me loger la page se rafraichit mais sans me connecter à mon compte (et sans réécrire mes identifiants). Impossible de me connecter au front-office avec des identifiants quels qu'ils soient. Je peux mettre un objet dans le panier, le prix s'affiche mais à chaque fois que je change de page le produit disparait et quand je clic sur "commander" on m'informe que mon panier et vide. Même problème en passant par l'ordinateur de mes collègues. Tout fonctionne en revanche sur Firefox et IE. Si quelqu'un a une idée, n'importe quoi je suis preneur
  18. Bonjour, Je suis en ce moment en train de développer une boutique qui marchait très bien pour l'instant mais ce matin plus rien ne fontionnesous Chrome. - Lorsque je souhaite me loger la page se rafraichit mais sans me connecter à mon compte (et sans réécrire mes identifiants).Impossible de me connecter au front-office avec des identifiants quels qu'ils soient. - Je peux mettre un objet dans le panier, le prix s'affiche mais à chaque fois que je change de page le produit disparait et quand je clic sur "commander" on m'informe que mon panier et vide. - Lorsque j'ajoute un produit au panier il s'affiche, les frais de ports aussi par contre à chaque fois que je veux ajouter un deuxième produit, le précédent disparait du panier. Même problème en passant par l'ordinateur de mes collègues. Tout fonctionne en revanche sur Firefox et IE. Si quelqu'un a une idée, n'importe quoi je suis preneur.
  19. Ciao a tutti, dopo aver aggiornano 1.4.9-->1.5 non riuscivo a visualizzare la pagina modules, attivando il debug ricevevo un errore riguardo a Gadsense. Questo succedeva sabato, oggi invece tutto ok per quanto riguarda questo problema. Fatto sta che ora non riesco a visualizzare il FO per errore 500, forse devo rigenerare .httaccess? Non riesco a trovare tale funzione, è stata rimossa in 1.5? In oltre se entro in Administraztion--->Permessi, dopo un loading lento della pagina ci sono 20 avvicsi su sfondo arancione che vi riporto: Ci sono 20 avvisi. Nascondi avvisi gadsense: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. moneybookers: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. paypal: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. shoppingfluxexport: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. twenga: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. gadsense: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. moneybookers: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. paypal: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. shoppingfluxexport: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. twenga: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. gadsense: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. moneybookers: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. paypal: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. shoppingfluxexport: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. twenga: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. gadsense: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. moneybookers: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. paypal: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. shoppingfluxexport: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. twenga: modulo è installato nel database, ma I suoi file mancano o non sono compatibili. Il modulo Paypal nel BO risulta disinstallato, così anche MooneyBookers. Per il resto il BO sembra funzionare correttamente se non per il box "E' Un Buon Inizio..." che riporta questo: Notice: Undefined index: hide_tips in/data/vhosts/beautysalonoutlet.it/httpdocs/prestashop/cache/smarty/compile/957762cb941615cabacdb27132bc40d062aa94b7.file.optimizationTips.tpl.phpon line 39Notice: Trying to get property of non-object in/data/vhosts/beautysalonoutlet.it/httpdocs/prestashop/cache/smarty/compile/957762cb941615cabacdb27132bc40d062aa94b7.file.optimizationTips.tpl.phpon line 39> Mi interessa poco, ma se si potesse risolvere tanto di guadagnato Grazie mille anticipatamente! Informazioni sul server Informazioni sul server: Linux #1 SMP Wed Mar 14 14:10:01 EDT 2012 x86_64 Versione software server: Apache/2.2.8 (CentOS) Versione di PHP: 5.3.3 Limite memoria: 96M Tempo di esecuzione massimo: 30 Informazioni datatbase Versione di MySQL: 5.0.95-log Motore MySQL: InnoDB Prefisso Tavole: ps_ Informazioni sul tuo negozio Versione di Prestashop: 1.5.0.17
  20. Description: modification to the core to insert a button in backoffice to sort alphabetically categories and subcategories in front-office. License: This code is realized by Enorasy programmer and released under the Gnu General Public License by Xmurph you can freely modify, redistribute, copy. Nobody allowed to sell it. Note: Prestashop's team is strongly encuraged to insert this code in next Prestashop's release due is unacceptable that an e-commerce software does not sort alphabetically categories in front-end. there are a lot of sites out there that have hundreds or thousands of categories and is unacceptable to sort manually with backend drag'n drop to have a front end alphabetically sorted categories. this is e-commerce put your brain in the hand of the shopper! Pay attention: this code is developed for Prestashop 1.4.3 but should work fine on other versions, comments on other versions are welcome, you're encouraged to post modifications if needed to make it working on new versions Instructions: 1. Go to MyPhpAdmin of your website > Select the prestashop database > Select to execute SQL code CREATE TABLE ps_order_alpha ( orderAlphaId INT NOT NULL PRIMARY KEY, orderAlphaValue VARCHAR(255) ) DEFAULT CHARACTER SET utf8; INSERT INTO ps_order_alpha SET orderAlphaId = 1, orderAlphaValue ='1'; 2 edit /modules/blockcategories/blockcategories.php near line ~156 : find this code: $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.$id_lang.') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE (c.`active` = 1 OR c.`id_category` = 1) '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' AND cg.`id_group` IN ('.pSQL($groups).') GROUP BY id_category ORDER BY `level_depth` ASC, c.`position` ASC') ) return; replace with following: // Connect to the table we have created to check if Alphabetically order is true $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; // If Alphabetically order is true // Order Alphabetically Categoriew and Subcategories if ($alpha == '1') { $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.$id_lang.') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE (c.`active` = 1 OR c.`id_category` = 1) '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' AND cg.`id_group` IN ('.pSQL($groups).') GROUP BY id_category ORDER BY `level_depth` ASC, cl.`name` ASC') ) return; // Else order by backoffice position (Default Behaviour) } else { $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.$id_lang.') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE (c.`active` = 1 OR c.`id_category` = 1) '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' AND cg.`id_group` IN ('.pSQL($groups).') GROUP BY id_category ORDER BY `level_depth` ASC, c.`position` ASC') ) return; } near line ~255 : find this code $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.$id_lang.') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE (c.`active` = 1 OR c.`id_category` = 1) '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' AND cg.`id_group` IN ('.pSQL($groups).') ORDER BY `level_depth` ASC, c.`position` ASC') ) return; replace with this: $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; if ($alpha == '1') { $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.$id_lang.') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE (c.`active` = 1 OR c.`id_category` = 1) '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' AND cg.`id_group` IN ('.pSQL($groups).') ORDER BY `level_depth` ASC, cl.`name` ASC') ) return; } else { $maxdepth = Configuration::get('BLOCK_CATEG_MAX_DEPTH'); if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.$id_lang.') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE (c.`active` = 1 OR c.`id_category` = 1) '.((int)($maxdepth) != 0 ? ' AND `level_depth` <= '.(int)($maxdepth) : '').' AND cg.`id_group` IN ('.pSQL($groups).') ORDER BY `level_depth` ASC, c.`position` ASC') ) return; } 3 edit file: classes/Category.php near line 375 find this code: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.`id_category` = cl.`id_category` WHERE 1 '.$sql_filter.' '.($id_lang ? ' AND `id_lang` = '.(int)($id_lang) : '').' '.($active ? 'AND `active` = 1' : '').' '.(!$id_lang ? 'GROUP BY c.id_category' : '').' '.($sql_sort != '' ? $sql_sort : 'ORDER BY c.`level_depth` ASC, c.`position` ASC').' '.($sql_limit != '' ? $sql_limit : '') ); replace with this: // Connect to the table we have created to check if Alphabetically order is true $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; // If Alphabetically order is true // Order Alphabetically Categoriew and Subcategories if ($alpha == '1') { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.`id_category` = cl.`id_category` WHERE 1 '.$sql_filter.' '.($id_lang ? ' AND `id_lang` = '.(int)($id_lang) : '').' '.($active ? 'AND `active` = 1' : '').' '.(!$id_lang ? 'GROUP BY c.id_category' : '').' '.($sql_sort != '' ? $sql_sort : 'ORDER BY c.`level_depth` ASC, cl.`name` ASC').' '.($sql_limit != '' ? $sql_limit : '') ); } else { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.`id_category` = cl.`id_category` WHERE 1 '.$sql_filter.' '.($id_lang ? ' AND `id_lang` = '.(int)($id_lang) : '').' '.($active ? 'AND `active` = 1' : '').' '.(!$id_lang ? 'GROUP BY c.id_category' : '').' '.($sql_sort != '' ? $sql_sort : 'ORDER BY c.`level_depth` ASC, c.`position` ASC').' '.($sql_limit != '' ? $sql_limit : '') ); } near line 423 find this code: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.`id_category` = cl.`id_category` WHERE 1 '.$sql_filter.' '.($id_lang ? ' AND id_parent=1 AND `id_lang` = '.(int)($id_lang) : '').' '.($active ? 'AND `active` = 1' : '').' '.(!$id_lang ? 'GROUP BY c.id_category' : '').' '.($sql_sort != '' ? $sql_sort : 'ORDER BY c.`level_depth` ASC, c.`position` ASC').' '.($sql_limit != '' ? $sql_limit : '') ); replace with this: // Connect to the table we have created to check if Alphabetically order is true $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; // If Alphabetically order is true // Order Alphabetically Categoriew and Subcategories if ($alpha == '1') { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.`id_category` = cl.`id_category` WHERE 1 '.$sql_filter.' '.($id_lang ? ' AND id_parent=1 AND `id_lang` = '.(int)($id_lang) : '').' '.($active ? 'AND `active` = 1' : '').' '.(!$id_lang ? 'GROUP BY c.id_category' : '').' '.($sql_sort != '' ? $sql_sort : 'ORDER BY c.`level_depth` ASC, cl.`name` ASC').' '.($sql_limit != '' ? $sql_limit : '') ); } else { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON c.`id_category` = cl.`id_category` WHERE 1 '.$sql_filter.' '.($id_lang ? ' AND id_parent=1 AND `id_lang` = '.(int)($id_lang) : '').' '.($active ? 'AND `active` = 1' : '').' '.(!$id_lang ? 'GROUP BY c.id_category' : '').' '.($sql_sort != '' ? $sql_sort : 'ORDER BY c.`level_depth` ASC, c.`position` ASC').' '.($sql_limit != '' ? $sql_limit : '') ); } near line 469 find this code: return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.`id_category`, cl.`name` FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category`) WHERE cl.`id_lang` = '.(int)($id_lang).' ORDER BY c.`position`'); replace with this: // Connect to the table we have created to check if Alphabetically order is true $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; // If Alphabetically order is true // Order Alphabetically Categoriew and Subcategories if ($alpha == '1') { return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.`id_category`, cl.`name` FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category`) WHERE cl.`id_lang` = '.(int)($id_lang).' ORDER BY cl.`name`'); } else { return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.`id_category`, cl.`name` FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category`) WHERE cl.`id_lang` = '.(int)($id_lang).' ORDER BY c.`position`'); } near line 511 find this code: $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.(int)($id_lang).') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = '.(int)($this->id).' '.($active ? 'AND `active` = 1' : '').' AND cg.`id_group` '.$sqlGroups.' GROUP BY c.`id_category` ORDER BY `level_depth` ASC, c.`position` ASC'); replace with this: // Connect to the table we have created to check if Alphabetically order is true $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; // If Alphabetically order is true // Order Alphabetically Categoriew and Subcategories if ($alpha == '1') { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.(int)($id_lang).') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = '.(int)($this->id).' '.($active ? 'AND `active` = 1' : '').' AND cg.`id_group` '.$sqlGroups.' GROUP BY c.`id_category` ORDER BY `level_depth` ASC, cl.`name` ASC'); } else { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT c.*, cl.id_lang, cl.name, cl.description, cl.link_rewrite, cl.meta_title, cl.meta_keywords, cl.meta_description FROM `'._DB_PREFIX_.'category` c LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.(int)($id_lang).') LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = '.(int)($this->id).' '.($active ? 'AND `active` = 1' : '').' AND cg.`id_group` '.$sqlGroups.' GROUP BY c.`id_category` ORDER BY `level_depth` ASC, c.`position` ASC'); } 4 edit /youradmin/tabs/AdminCatalog.php near line 193 insert this code: // Connect to db to check wich order is selected $db = Db::getInstance(_PS_USE_SQL_SLAVE_); $sql = 'SELECT * FROM '._DB_PREFIX_.'order_alpha WHERE orderAlphaId = 1'; if ($results = Db::getInstance()->ExecuteS($sql)) foreach ($results as $row) $alpha = $row['orderAlphaValue']; $oselected = ''; $oneselected = ''; if ($alpha == 0 ) { $oselected = 'selected="selected"'; } if ($alpha == 1 ) { $oneselected = 'selected="selected"'; } // Create the form to select order type echo '<div style="margin-bottom:20px;"><form action="" method="post"> <select name="alphaOrder" id="alphaOrder"> <option value="0" '. $oselected .'>Default Position</option> <option value="1" '. $oneselected .'>Alphabetically</option> </select> <input class="button" type="submit" value="Save" name="orderAction" /> <label for="order">Sort categories alphabetically: </label> </form></div>';
  21. Hi guys, hoping you can help me here. I have implemented prestashop at my work but they have asked for a specific extra I can't see that exists elsewhere already. They would like a tickbox on the product page that says "More than one available?" with a tickbox, featuring a red cross if quantity =1, and a green tick if quantity >1. (See pictures) It would probably be placed in the same box as the short description is displayed, after a few linebreaks (where it is implemented obviously doesn't matter as the code can be moved) Any help would be much appreciated! Kind regards.
  22. Goedendag, Ik probeer al een tijdje de "blocklayered navigation" module aan de praat te krijgen maar helaas tevergeefs. Ik kan wel instellen welke categorieën en features ik er in wil hebben maar ze zijn niet zichtbaar op de homepage. Bij BO>modules>positions staat de module gehaakt het linker blok. dus dan zou die zichtbaar moeten zijn toch? ik heb al heel wat afgezocht op internet maar ik kom er maar niet uit. ik hoop dat een van jullie enig idee heeft om dit op te lossen. PS versie 1.4.8.2 Blocklayered v1.8.5 gegroet, Benjamin
  23. Hey guys, I'm a newbie on PrestaShop and I'm trying to create a module which displays some counters on the product page! Inside this module I also want to create a statistics page on the back-office of Prestashop! I noticed that for creating the statistics I have to extend the ModuleGrid class! I had a look inside the other modules and from far as I can see I have to create a different module for the statistics part! Is there a way to make it work from only one module (the front-office part (already done) + the configuration in the modules page on the back-office (already done) + (this is what I want to improve/add on my module)the statistics part)! Thank you for your help!
  24. There : I get a PrestaShop site developped by an former developper of my firm. I copied it to my local to work on it, then when I run it I get this : Fatal error: Cannot access empty property in \classes\FrontController.php on line 232 Line 232 is : if ($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')}) I wandered on the net, but I don't find anything useful. I found false solutions like "put a new PrestaShop, then put the old database in it", but I don't need that. The site was modified by someone who wasn't really that skillful, but he anyway managed to put some modifications used on the production site, and i really need to know what he modified, where and how, thus I have to run THIS ite in my local. Any ideas ? PS : I can get to the backoffice without any troubles, and PS version used is 1.4.6.2
  25. Salve a tutti, Ho installato PS versione 1.4.6.2 e mi succede una cosa strana sul frontoffice e cioè se vado sul link del frontoffice mi da una pagina bianca mentre se vado sul link del back office mi funziona tutto perfettamente. Ho provato a rifare più volte l'installazione, a riscaricare il file di installazione e anche ad usare veri browser internet. Se invece installo una versione vecchia tipo la 1.3 funziona tutto correttamente Grazie a tutti e resto in attesa di qualcuno che mi possa dare una mano GM
×
×
  • Create New...