This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
El botón "Recibir ofertas de nuestras socios del formulario de registro" puedes quitarlo desde la pestaña Parámetros de la tienda -> Ajustes de los clientes -> Opción -> Activar ofertas de asociados: http://victor-rodenas.com/configuracion-de-las-opciones-generales-de-los-clientes-en-prestashop-1-7/#Opciones_generales_clientes_en_Prestashop_17 | |
El botón "Suscribirse a nuestra newsletter", si vas a la pestaña a módulos - módulos y servicios - dentro de módulos instalados, en el modulo: Suscripción al BoletÍn entre otras cosas al tenerlo instalado te añado el campo "Suscribirse a nuestra newsletter", ya que entre los hooks que se instala se instala por ejempo en el hook -> additionalCustomerFormFields -> como puedes ver en la pestaña Diseño -> Posiciones de los módulos -> Mostrar hooks no posicionables -> Bloque additionalCustomerFormFields | |
The thead is old, but to disable the "Sign up for our newsletter" option on customer checkout form, go to : | |
Design > Positions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please go to BO > Customers > Groups, check whether you set “Price display method” to “Tax excluded” for all groups. then check whether the two customers in same groups. | |
more details here: | |
https://www.sunnytoo.com/forums/topic/prices-appear-without-taxes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//$sql_tree = 'SELECT c.id_category,c.id_parent, CONCAT( LPAD( "", c.`level_depth` , "-" ) , cl.`name` ) AS NAME, cs.position ,level_depth ';//Display more info | |
$sql_tree = 'SELECT c.id_category as idcat '; | |
$sql_tree .= 'FROM ps_category c '; | |
$sql_tree .= 'LEFT JOIN ps_category_lang cl ON (c.id_category = cl.id_category AND id_lang = "1") '; | |
$sql_tree .= 'LEFT JOIN ps_category_group cg ON (cg.`id_category` = c.id_category) '; | |
$sql_tree .= 'LEFT JOIN `ps_category_shop` cs ON (c.`id_category` = cs.`id_category` ) '; | |
$sql_tree .= 'WHERE c.id_category > "2" '; | |
$sql_tree .= 'AND cl.id_lang="1" '; | |
$sql_tree .= 'AND c.active="1" '; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<h1>header</h1> | |
</header> | |
<div id="container"> | |
<nav> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright since 2007 PrestaShop SA and Contributors | |
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA | |
* | |
*/ | |
use PrestaShop\PrestaShop\Adapter\CoreException; | |
use PrestaShop\PrestaShop\Adapter\ServiceLocator; | |
/*** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
More info to install: | |
https://developer.bigcommerce.com/stencil-docs/ZG9jOjIyMDcwMA-installing-stencil-cli | |
IF get error "Error: Cannot find module 'node-sass'" follow the next steps: | |
Just before removing your node_modules or clean your cache, which cost you time, try running | |
npm rebuild node-sass --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check in performance backend.. | |
CCC (Combine, Compress and Cache) | |
Disabled Smart cache for JavaScript OFF | |
Delete cache and try again |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
you can define new value of date_add field in ps_product_shop table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Custom code goes here. | |
* A template should always ship with an empty custom.js | |
*/ | |
/* | |
MARKETING MEDIA CUSTOM CODE | |
*/ | |
//Force to use uppercase in zipcodes in address. Also delete spaces (Canada post module only works with uppercase chars.) | |
$(function() { | |
$('input[name=postcode]').keyup(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If this problem is stil in the to do's list for anyone the solution for the latest Prestashop version (1.7.6.8) for opening PDF's or other documents in browser windows is to change 2 things: | |
1. Change the controllers/front/AttachmentController.php file like so: | |
ORIGINAL: | |
header('Content-Disposition: attachment; filename="' . utf8_decode($a->file_name) . '"'); | |
CHANGED: | |
header('Content-Disposition: inline; filename="' . utf8_decode($a->file_name) . '"'); | |
2. Change the .htaccess content of this line: | |
<FilesMatch "\.pdf$"> | |
Header set Content-Disposition "Attachment" /// Alter this line like so: Header set Content-Disposition "Inline" |
NewerOlder