-
Posts
17 -
Joined
-
Last visited
About samz
- Birthday 01/01/1970
Profile Information
-
Location
SWITZERLAND
-
Interests
CODING
-
Activity
Freelancer
Recent Profile Visitors
217,130 profile views
samz's Achievements
Newbie (1/14)
1
Reputation
-
@chon069 Sorry, I don't know, I tested my JS script only on PS 1.7.6.8 It should work if this is the same bug on 1.7.5.2 Thanks and regards
-
Salut, Dans mon cas, ce problème apparaît lorsque l'e-mail (par l'utilisateur/client) saisi n'est pas entièrement en minuscules. Ce JAVASCRIPT ajuste et convertit en minuscules la valeur de tout INPUT de type d'email lorsque le focus quitte le champ après la saisie de l'email. Cela devrait donc contourner ce problème, en attendant que PS le résolve: String.prototype.trim=function(){return(this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""));} var mailA=document.querySelectorAll("input[type=email]"); for(var i=0;i<mailA.length;i++){ mailA[i].onblur=function(){ this.value=this.value.toLowerCase().trim(); console.log("["+this.value+"]"); } } A mettre dans: /themes/classic/assets/js/custom.js Version après version, de tels bugs sont toujours présents :(( Le forum PS anglophone est bien plus actif que celui en français, dans lequel je n'ai jamais reçu de réponse :((
-
Hello, Here is a CSS to fix the weird spaces between product's Attachement Download links: .attachment {margin-bottom: 15Px !IMPORTANT} .attachment h4{margin-bottom:5Px !IMPORTANT} .attachment P{display:none !IMPORTANT} And the word Download (XX.KB), shoudn't be inside the empty P tag? After CSS fix: Please PRESTASHOP team, fix those layout bugs. Add the CSS inside: /themes/classic/assets/css/custom.css Thanks and regards
-
Found: Design > Positions > displayFooter Problem solved. Thanks a lot
-
How to remove this Link Widget (bottom left)? In my Link Widget manager I have only 2 blocks. Thanks in advance and regards.
-
Add this script in this file: /themes/classic/assets/js/custom.js
-
In my case, this problem appears when the typed email is not all lowercase. This JAVASCRIPT trims and converts to lowercase the value of all email type INPUT when the focus leaves the field. So it should fix this problem: String.prototype.trim=function(){return(this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""));} var mailA=document.querySelectorAll("input[type=email]"); for(var i=0;i<mailA.length;i++){ mailA[i].onblur=function(){ this.value=this.value.toLowerCase().trim(); console.log("["+this.value+"]"); } } Tested OK on PRESTASHOP 1.7.6.8
-
-
Hello Here are the 2 files en_order_conf.html fr_order_conf.html
-
-
Bonjour, Après une commande, le client reçoi un email avec le sujet: [NOM DU SHOP] Paiement accepté et le message (voir image jointe) Bonjour {firstname} {lastname}, Merci d'avoir effectué vos achats sur {shop_name}! Le paiement pour votre commande ayant pour référence {order_name} a bien été effectué. Idem avec la Conirmation de commande (voir image jointe) Bonjour {firstname} {lastname}, Merci d'avoir effectué vos achats sur {shop_name} ! Détails de la commande Commande : {order_name} passée le {date} Paiement : {payment} Cette erreur apparait pour les client visiteurs (sans compte) et ceux enregistrés (avec compte). Comment corriger ce problème? Aurrai-sje oublié de configurer qqc? Merci PRESTASHOP 1.7.6.8 Livraison: retrait au magasin PAYrexx 1.0.12 en mode test DLH EXPRESS 2.4.6 désactivé
-
Bonjour, Comme on le voit sur l'image jointe, le message jauni nous orrient vers la mauvaise section. En effet, le module Main Menu est accessible dans Personnaliser > Appaarence > Thème et logo > Pages Configuration. Plus dans la section mentionnée. Moralité: n'oubliez pas de mettre à jour ces messages d'information au fil des nouvelles versions pour nous éviter les frustrations et désagéments. Merci d'avance PS team
-
In the 'Under maintenance' front page, the language selection is missing. So I have to add links manualy like this: <p>We are currently updating our shop and will be back really soon. Thanks for your patience.</p> <p><a href="../fr/" class="btn btn-default">FR</a></p> <p><a href="../de/" class="btn btn-default">DE</a></p> <p><a href="../it/" class="btn btn-default">IT</a></p> <p><a href="../es/" class="btn btn-default">ES</a></p> What is the PHP loop code adding links (BOOTSTRAP button style) to all available languages on this page? As you can see on my image, the 4 links doesn't look like BOOTSTRAP button style, defined by: class="btn btn-default" The BOOTSTRAP files are note linked to the shop when I look the source of the page localhost/fr/ How to fix this? Thank you in advance and regards, PRESTASHOP 1.7.6.7 on localhost
-
samz changed their profile photo
-
Hello, A non programer friend want a philanthropic (non-profit) PrestaShop website, that I'm installing/configuring for him. He would like something really weird like this: on the product detail page, the price should appear in a editable field, and the visitor could be able to change the price typing a new price (even zero) in this field. Then this price (in the field) is used in the checkout process and the final invoice. The default price in this field is the price of the default combination. Clicking a combination will update the field value with the price of the clicked combination. Where (in which PS files) should I start to add this (crazy) option? Should I do this job in PHP or JS or both? Where/when are stored the product id, quantity, combinations while the user is shopping? I guess in PHP cookies. The first draft using PrestaShop 1.5.6.2: http://www.airfirst.ch/s/ Thanks and regards.