Jump to content

jcata

Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Location
    girona
  • Activity
    Web development agency

Recent Profile Visitors

276,193 profile views

jcata's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. I'd copied from prestashop 1.7.6.1 themes/core.js to new 1.7.8.8 , delete the cache and all works ok when update cart quantity or delete items in card in my teashop catatea.com
  2. hola yo lo he resuelto manualmente para el blog de https://www.catatea.com/blog/ en Joomla y para el ecommerce https://www.catatea.com/ en prestashop el tema de las imagenes en webp, no es lo mas optimo pero me funciona: lo que hago es 1-genero los ficheros webp de todos los png y jpg, con los comandos find ./ -type f -name '*.jpg' -exec sh -c ' cwebp -q 90 $1 -o "${1%.jpg}.jpg.webp"' _ {} \; find ./ -type f -name '*.png' -exec sh -c ' cwebp -q 90 $1 -o "${1%.png}.png.webp"' _ {} \; 2-configuro .htaccess para que cualquier petición a un jpg o png lo redireccione als fichero webp correspondiente... ajustondo el .htacces podrias generar al vuelo el webp sin necesidad del paso 1... os adjunto el .htaccess del prestashop a ver si con esto ayuda .. htaccess_prestashop
  3. hola yo lo he resuelto manualmente para el blog de https://www.catatea.com/blog/ en Joomla y para el ecommerce https://www.catatea.com/ en prestashop el tema de las imagenes en webp, no es lo mas optimo pero me funciona: lo que hago es 1-genero los ficheros webp de todos los png y jpg, con los comandos find ./ -type f -name '*.jpg' -exec sh -c ' cwebp -q 90 $1 -o "${1%.jpg}.jpg.webp"' _ {} \; find ./ -type f -name '*.png' -exec sh -c ' cwebp -q 90 $1 -o "${1%.png}.png.webp"' _ {} \; 2-configuro .htaccess para que cualquier petición a un jpg o png lo redireccione als fichero webp correspondiente... ajustondo el .htacces podrias generar al vuelo el webp sin necesidad del paso 1... os adjunto el .htaccess del prestashop a ver si con esto ayuda .. htaccess_prestashop
  4. I don't know whats happen... Have you tried to delete cache ?
  5. Hi I've attach me Mail.php override I hope it solve your trouble... Mail.php
  6. Hi , the trouble editing Classes/Mail.php is if you update prestashop these change can override .. then the best solutions is create a override/classes/Mail.php overriding default behavior.. greetings
  7. Hi Again I solved it The trouble is when user set email in UPPERCASE like EMAIL@GMAIL.COM , I create a override/classes/Mail.php with code class Mail extends MailCore { public static function send( $idLang, $template, $subject, $templateVars, $to, $toName = null, $from = null, $fromName = null, $fileAttachment = null, $mode_smtp = null, $templatePath = _PS_MAIL_DIR_, $die = false, $idShop = null, $bcc = null, $replyTo = null, $replyToName = null ) { $to = strtolower($to); return parent::Send($idLang, $template, $subject, $templateVars, $to, $toName, $from, $fromName, $fileAttachment, $mode_smtp, $templatePath, $die, $idShop, $bcc, $replyTo); } } and now it works ok thanks a lot
  8. Hi I have the same trouble.. can you paste the Mail.php that you update ? thanks a lot
×
×
  • Create New...