Jump to content

Grafeco

Members
  • Posts

    97
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Estonia
  • Activity
    Web Development Agency

Recent Profile Visitors

5,012,088 profile views

Grafeco's Achievements

  1. Hello, In fact, Google cares about SSL speed and bytes of security, that's why we have to choose a fast SSL certificate also. You can check the timing of this negotiation with tools like "bytecheck". The conclusion is both are important for Google, and also for antivirus softwares. Kind Regards, Grafeco Network.
  2. Hello, This type of optimization is not easy and we have to do it to each page's typology. Let's take the Product page as an example: What we do is a specific code to Preload all the static images from a page (for example the logo, images in the footer, etc) and then, we also preload the specify images of this page (image of this product, related products, etc). Also, all depends about the type of theme and page. That's why we make these type of integrations because of the difficulty of the process. We also create a crontask in the server to regenerate this first code that we are gonna send from the database to the smarty parameters in head.tpl. I hope it's helps. Kind Regards!
  3. Look like it's working for me too!! Thank you very much @Web VIZO!
  4. Hello! I created a "relative product" in the product page, but the product price of this "relative product" is calculating depends of a product price of the principal product. So, I need to add the Specific Price of this relative product to the cart. My form is this: <form action="https://myurl.com/cart" method="post" id="add-to-cart-or-refresh"> <input type="hidden" name="token" value="d296972b7f30e2c19afc34b70eaf45e8"> <input type="hidden" name="id_product" value="35" id="product_page_product_id"> <input type="hidden" name="id_customization" value="0"> <input type="hidden" name="qty" value="1" min="1"> <input type="hidden" name="customfinalprice" value="12.12"> <button class="btn btn-primary add-to-cart btn-relacionados" data-button-action="add-to-cart"><i class="icon-Ico_Cart"></i> Add to cart</button> </form> where name="customfinalprice" is the custom price of the relative product and 12.12 is the value of the custom price. I attached the imagen of the example (the price of the principal product and the related product are calculated by the size): But when I add the specific product to the cart, the price is not 12.12 €. How can I change this? Thank you!! Kind Regards.
  5. Hello Prestashop Community! Where can I put (or found) $controller->displayHeader() and $controller->displayFooter() in Prestashop 1.7? I need to display these two controllers in an outside page. Thank you!
  6. Anybody know the solution for Prestashop 1.6? Thank you.
  7. Hello! Is not possible disable modules for tablets in Prestashop 1.7? Thank you!
  8. ¡Muchas gracias! Lo miré y pude descargarme una versión antigua que me hacía falta para un proyecto. ¡Un saludo!
  9. Hola, creo que prestashop.com tiene un problema de permisos para descargar las versiones antiguas: Un saludo.
  10. Por si alguien lo sigue buscando, es: {$customerDefaultGroup->id} Un saludo.
  11. ¡Hola! Me está mareando un código que no encuentro... En mi tienda online tengo varios atributos por producto en Checkbox, os pongo un ejemplo del listado de atributos en la página del producto: Exterior: 75 x 50 centímetros - 18 unidades disponibles. 100 x 70 centímetros - 14 unidades disponibles. 150 x 100 centímetros - 1049 unidades disponibles. 210 x 140 centímetros - 48 unidades disponibles. 250 x 150 centímetros - 40 unidades disponibles. 300 x 200 centímetros - 3 unidades disponibles. ...y lo que no consigo es mostrar los precios por atributo, tal que así: Exterior: 75 x 50 centímetros - 8,51 € - 18 unidades disponibles. 100 x 70 centímetros - 10,51 € - 14 unidades disponibles. 150 x 100 centímetros 14,51 € - 1049 unidades disponibles. 210 x 140 centímetros - 16,51 € - 48 unidades disponibles. 250 x 150 centímetros - 22,51 € - 40 unidades disponibles. 300 x 200 centímetros - 32,51 € - 3 unidades disponibles. ¿Alguna idea de cuál es la variable que se me escapa? ¡Gracias comunidad!
  12. ¡ Ya hemos lanzado el nuevo módulo para importar todos los productos, categorías, atributos, marcas, proveedores a todos los idiomas de nuestra tienda online y desde hojas de Excel ! ¡ Compatible con el módulo de exportación ! Puedes encontrar nuestro módulo en: http://shop.grafeco.com/es/prestashop/9-excel-all-in-one-import.html Un saludo!
  13. ¡Hola de nuevo! Ya ha pasado tiempo... Estoy diseñando un módulo y quiero hacer (dentro de la configuración del módulo) una consulta a la base de datos. Quiero sacar el id y el nombre de los idiomas que tiene la tienda. Lo tengo escrito en php, pero no sé cómo pasarlo a la versión módulo de prestashop. el código es el siguiente: <?php $result = mysql_query('SELECT * FROM '.$pprefijo.'lang'); while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { ?> <p><?php echo $row["id_lang"]; ?> ---- <?php echo utf8_encode($row["name"]); ?></p> <?php //fin la la consulta. /* Devolverá la lista en unos valores por ejemplo: 1 ---- Español 2 ---- Inglés */ ¿Alguien sabe cómo hacer esa consulta? Gracias! Un saludo.
  14. Hola Boabdil, te informo que estamos desarrollando un módulo con importación en varios idiomas. Lo tendremos acabado en una semana aproximadamente e iremos informando. Si te esperas un poco, no tendrás que hacerlo manualmente. ¡Un saludo!
  15. La solución que he hecho es la siguiente: Me he cargado la cabecera del módulo y le he puesto la de por defecto de prestashop: <?php if ( !defined( '_PS_VERSION_' ) ) exit; class MyModule extends Module { public function __construct() { $this->name = 'mymodule'; $this->tab = 'Test'; $this->version = 1.0; $this->author = 'Firstname Lastname'; $this->need_instance = 0; parent::__construct(); $this->displayName = $this->l( 'My module' ); $this->description = $this->l( 'Description of my module.' ); } public function install() { if ( parent::install() == false ) return false; return true; } } ?> Todo funciona bien hasta ahora. Doy el tema por zanjado.
×
×
  • Create New...