Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/13/2021 in all areas

  1. Custom popup notification by PrestaCraft Current module version: 2.4.0 PrestaShop compatible: 1.6, 1.7 Last PrestaShop version checked: 1.7.7.0 http://prestacraft.com/custom-popup-notification/ This module displays a popup with Your content on chosen pages. Note: If you run more than one language in Your store, fill the popup content for all languages to save it correctly. Features Cookie system - Module remembers if user has closed the popup. If You don't want to show it again, You can set cookie duration. User will see the popup again after that amount of time. Display options (colors, size, etc.) Popup content for each available language in Your shop Delay option: define how many seconds must pass to show the popup Display your popup wherever you want to – just select any hook(s) Friendly User Interface Multistore support Screenshots: Changelog: http://prestacraft.com/custom-popup-notification/ IF YOU LIKE THIS MODULE, PLEASE DONATE AND SHARE ❤️ Download custompopup_2.4.0.zip
    2 points
  2. Hello to everybody To create a Whatsapp Live Chat Link: you just need to copy the code below into your footer or anywhere else to set up a clickable link for a whatsapp chat. Then you adjust the phone number within the link to your own number including the international country code without the plus. For example for a German number like +49 177 0000000 you just remove the plus and the spaces and add it to the url like shown below. Once your customer click on the link for android or iphone user whatsapp will start or for computer user web.whatsapp will start in his browser. <p><i class="fab fa-whatsapp fa-lg"></i><a href="https://wa.me/491730000000" target="_blank"> anrufen per Whatsapp</a></p> To add a Whatsapp Share Button to the module Social Media Buttons (v2.1.0) You just need to open the file /prestashop/modules/ps_sharebuttons/ps_sharebuttons.php find protected static $networks = ['Facebook', 'Twitter', 'Pinterest' replace with protected static $networks = ['Facebook', 'Twitter', 'Pinterest', 'Whatsapp' find && Configuration::updateValue('PS_SC_PINTEREST', 1) add the following line after it && Configuration::updateValue('PS_SC_WHATSAPP', 1) find if (Configuration::get('PS_SC_PINTEREST')) { $social_share_links['pinterest'] = [ 'label' => $this->trans('Pinterest', [], 'Modules.Sharebuttons.Shop'), 'class' => 'pinterest', 'url' => 'https://www.pinterest.com/pin/create/button/?media='.$sharing_img.'&url='.$sharing_url, ]; } and add the following code after it if (Configuration::get('PS_SC_WHATSAPP')) { $social_share_links['whatsapp'] = [ 'label' => $this->trans('Whatsapp', [], 'Modules.Sharebuttons.Shop'), 'class' => 'whatsapp', 'url' => 'https://web.whatsapp.com/send?l=en&text='.$sharing_url, ]; } Or you just download the following file for the whatsapp share button: ps_sharebuttons.php
    1 point
  3. ======================== CLIENTES PANEL PRINCIPAL===================================== ##---> (se añanden los encabezados de FILTROS/BUSQUEDAS) public_html/src/Core/Grid/Definition/Factory/CustomerGridDefinitionFactory.php protected function getColumns(){ ->add( (new DataColumn('copy_phone')) ->setName($this->trans('Tel.', [], 'Admin.Global')) ->setOptions(['field' => 'copy_phone',])) ### ... otros campos } ##---> (se establecen los parametros de datos/campos de FILTROS/BUSQUEDAS) public_html/src/Core/Grid/Query/CustomerQueryBuilder.php ------- funcion -------------- public function getSearchQueryBuilder(SearchCriteriaInterface $searchCriteria) { $searchQueryBuilder = $this->getCustomerQueryBuilder($searchCriteria) ->select('c.copy_ncliente, #... otros campos ') ->addSelect('c.date_add, gl.name as social_title, s.name as shop_name, c.company'); ##... más codigo } ------- otra funcion -------------- private function applyFilters(array $filters, QueryBuilder $qb) { $allowedFilters = [ 'copy_phone', ##otros campos.. ]; ------- otra funcion -------------- private function applySorting(QueryBuilder $searchQueryBuilder, SearchCriteriaInterface $searchCriteria) { switch ($searchCriteria->getOrderBy()) { case 'copy_ncliente': ## otros campos ... $orderBy = 'c.' . $searchCriteria->getOrderBy(); ##más codigo... } ##---> (se establecen los parametros de datos/campos de EXPORTACION DE DATOS CLIENTES) public_html/src/PrestaShopBundle/Controller/Admin/Sell/Customer/CustomerController.php -------- funcion ---------- public function exportAction(CustomerFilters $filters) { $filters = new CustomerFilters(['limit' => null] + $filters->all()); $gridFactory = $this->get('prestashop.core.grid.factory.customer'); $grid = $gridFactory->getGrid($filters); $headers = [ 'copy_ncliente' => $this->trans('#Cliente', 'Admin.Global'), ## otros campos .... ]; $data = []; foreach ($grid->getData()->getRecords()->all() as $record) { $data[] = [ 'copy_phone' => $record['copy_phone'], ## ottos campos ... ]; } ## más codigo } NOTA: las modificaciones son en cada método o función, de igual manera utilicé el mismo nombre de variable copy_phone
    1 point
  4. Yo todavía estoy esperando una captura del error
    1 point
  5. Veuillez nous écrire via ce formulaire : https://addons.prestashop.com/contact-form.php?id_product=21644 Merci
    1 point
  6. Je ferme ce topic car j'ai appris qu'un prestataire a réalisé une modification directement sur les fichiers Prestashop de base (les fameux "ne pas toucher"). Je recommence un site de zéro en 1.7 en copiant juste les données de la BDD.
    1 point
  7. Bene Ti stavo per scrivere questo.... La tabella pske_product_attribute_image viene utilizzata solo e solo se le combinazioni hanno selezionato, nella scheda modifica combinazione, le img da utilizzare. Senza selezione non viene inserito nessun record in questa tabella e la combinazione online mostra automaticamente tutte le immagine collegate al prodotto.
    1 point
  8. Θα το κατεβάσεις από το github.... Στο tpl θα βάλεις στο product id product_id: '{/literal}{$product.reference}{literal}',
    1 point
  9. Sorry ich sehe gerade, ich habe bei mri doch schond ie V3.2.2 aktiviert, die nun auch läuft. Du brauchst: Händler-ID aus SellerCentral unter > Integration > MWS Access Access Key Secret Access Key (nicht den Cleint Secret) Client ID Bitte prüfe dann auch, dass Du im Live Modus bist und Zahlungen ankommen. Während bei Paypal checkout man das recht schnell sieht, finde ich den Login via Seller Centrqal nicht so einfach.
    1 point
  10. Be careful, no security / token in this request, so anyone can export your catalog...
    1 point
  11. Me han respondido rápido y con efectividad, me han mandado una actualización del módulo y ya no da problemas.
    1 point
  12. Désolée pour vous 😕 Il y a certainement moyen de faire quelque chose pour pouvoir l'utiliser... c'est dans ce genre de moments, qu'avoir un bon dev prend tout son sens ! Perso, j'ai eu la chance d'en dénicher un extra qui a toujours su trouver des solutions 🙏 Bon courage !
    1 point
  13. Alors demandez à elementor de faire la correction, personnellement je déteste ce type de module mais bon chacun n'a pas le temps et la patience pour apprendre 3 ligne de html et de css.
    1 point
  14. Salut J'avais le même problème que toi, dès que je me connecté a mon compte Addons dans le module manager plus de mise a jour disponible, j'ai finalement changer mon mot de passe de mon compte Addons et je me suis reconnecté, mes mise a jour sont maintenant bien disponible même connecté . @+ Ronald
    1 point
  15. ho capito dove sbagliavo, cercavo la frase nel tema aggiuntivo messo in modalità "Corrente", che utilizzo al posto del tema "Classic". La frase andava cercata nel tema Classic di Prestashop anche se non in modalità "corrente" Una banalità, grazie del supporto, spero che almeno sia servito anche ad altri che non si sono accorti della frase in italiano errata.
    1 point
  16. salut, efface les repertoires /var/cache/dev/ et /var/cache/prod/ (ca va recreer les caches de symfony) cdt
    1 point
  17. ============== vista de datos desde el panel de Clientes =========================== ### Se agregaron las variables y métodos... public_html/src/Core/Domain/Customer/QueryResult/PersonalInformation.php ##Declaras variable private $copy_phone; ##Añades dentro del constructor (si tu variable es la ultima va sin , (coma) ) public function __construct( $copy_phone, ){ ##Devuelves en las llaves posteriores al constructor $this->copy_phone = $copy_phone; } ##funcion que retorna el valor de la variable public function copy_phone() { return $this->copy_phone; } ## obtiene los valores para la vista.... public_html/src/Adapter/Customer/QueryHandler/GetCustomerForViewingHandler.php ##Donde devuelve la info. Añades el campo que deseas (si es el ultimo dato va sin la , (coma) ) return new PersonalInformation( $customer->copy_phone, ); ## muestra en info del cliente los datos obtenidos... public_html/src/PrestaShopBundle/Resources/views/Admin/Sell/Customer/Blocks/View/personal_information.html.twig ##Añades el campo que deseas <div class="row mb-1"> <div class="col-4 text-right"> {{ 'Teléfono'|trans({}, 'Admin.Global') }} </div> <div class="col-8 customer-last-visit-date"> {{ customerInformation.personalInformation.copy_phone}} </div> </div> PD: En mi caso para evitar errores maneje en todos los archivos y base de datos el mismo nombre de variable copy_phone (en micaso)
    1 point
  18. 1 point
  19. Many shop owners don't like the default random string order reference, but changing it to order ID reveals the number of orders to customers. This module changes the order reference tu numeric and let's you choose between a random number and order ID, you can also add custom prefix and choose to have leading zeros. Module works for Prestashop 1.5, 1.6, 1.7 I am sharing this module for free on my most common improvements subscription list on http://greenmousestudio.com/ or below. gmnumeric.zip Update 16.08.2016 gmnumeric_v_1_2_0.zip A few notes in case this module does not work for you and you need to uninstall it: - this module overrides generateReference() function from the Order class, sometimes (I don't know why) Prestashop leaves the overriden files after uninstall, so check the "overrides/classes/Order.php" and remove the generateReference() function or delete the whole file if there is nothing else in it.
    1 point
  20. Hola, debe de sincronizarse de alguna manera ya que las los módulos que están desarrollados para crear apps a partir de tu tienda en Prestashop están diseñados para eso, checa en la pagina de módulos de Prestashop alguno y lee la descripción de como funciona y las características que tiene para darte una idea. Saludos!
    1 point
  21. According to available information the upgrade to 7.4 should work but my webohosting does not support at the moment. I found a solution for PHP 7.3: There is a problem with constant INTL_IDNA_VARIANT_UTS46 in the file "src/Core/Util/InternationalizedDomainNameConverter.php". It needs to be modified as follows. The constant INTL_IDNA_VARIANT_UTS46 needs to be converted to int type explicitelly by intval() on the line 47. class InternationalizedDomainNameConverter { /** * Convert the host part of the email from punycode to utf8 (e.g,. [email protected] -> [email protected]тест.рф) * * @param string $email * * @return string */ public function emailToUtf8(string $email): string { $parts = explode('@', $email); if (count($parts) !== 2) { return $email; } return $parts[0] . '@' . idn_to_utf8($parts[1], 0, intval(INTL_IDNA_VARIANT_UTS46)); } }
    1 point
  22. Hello guys, recently i've wrote an article about 10+ common mistakes related to creating a PrestaShop module, you can read this article on PrestaShop Build blog here: http://build.prestashop.com/howtos/module/Common-mistakes-while-coding-module/ I'm open for a suggestions and discussion!
    1 point
  23. It might be helpful to know I've encountered a similar issue before when the disk quota was exceeded, so make sure you haven't run out of disk space.
    1 point
  24. J'ai trouvé la raison : mon hébergeur OVH a limité les droits d'acces à la base pour lecture seule car elle dépassait la limite de 200 Mo pour mon hebergement plan perso. J'ai purgé quelques tables pour redescendre en dessous des 200Mo et tout est rentré dans l'ordre dans les 30 minutes (apres avoir demandé à ovh de recalculer la taille de la base dans le menu SQL).
    1 point
  25. Buenas. Anda al Panel del Back. 1) Anda a Modulos. 2) Selecciona del menu la opcion MODULOS. 3) En la barra de busqueda escribi BLOQUE DE BANNER 4) CUANDO APAREZCA EN LAS OPCIONES BLOQUE DE BANNER, HACE CLIC EN LA FLECHA DEL BOTON CONFIGURAR. "NO EN LA PALABRA", SOLO HACE CLIC EN LA FLECHA. DE ESE MODO SE DESPLIEGA UN MENU. 5) EN EL MENU QUE APARECE, HACE CLIC EN LA OPCION MOSTRAR EN MOVILES. Y LISTO! ASI LO SOLUCIONE YO. importadordirecto.com/presta Saludos.
    1 point
  26. Selamlar; Bunun için prestashop içinde gelen hazır ve kullanışlı bir modul var , modul ismi ingilizce olarak "Watermark" diye geçiyor, bu modulü kurarak düzenle deyin. ve bir gif doyası upload edin. sonraki ekleyeceğiniz resimlerde logo ürün resimlerine eklenecektir. eski ekli ürünlere logonuzu eklemek isterseniz. preferences/ images (tercihler/resimler) den resimleri yeniden oluşur demeniz gerekiyor. iyi çalışmalar..
    1 point
  27. This thread is so funny. With all due respect to wonderland-wigs. I've never seen so much help given to any previous poster. And all the other people that tried in vain too find help in this thread ... just completely ignored. True, they should start another thread perhaps ... Lesson learned. Find an attractive Avatar. Then ask your question.
    1 point
  28. surtout vendre 69 €HT un module dont le code a été piqué sur le forum^^
    0 points
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More