-
Posts
23 -
Joined
-
Last visited
mistik777's Achievements
Newbie (1/14)
5
Reputation
-
Alguien ha solventado este tema con prestashop 1.7 ?? Tu página tiene 2 redireccionamientos. Los redireccionamientos añaden retrasos adicionales antes de que la página se pueda cargar. Evitar redireccionamientos a la página de destino para esta cadena de URL redireccionadas. http://dominio.com http://www.dominio.com https://www.dominio.com
-
Hola! Desde que se activó el SSL en mi server me estoy voliendo loco con la demora del TTFB y las redirecciones que hace prestashop inicialmente.. Alguien sabe como solventar este tema?? Llevo mucho tiempo detrás de esto y ya no se que más hacer Alguna idea? Gracias de antemano
- 17 replies
-
Tema duplicado. Aqui se trata: https://www.prestashop.com/forums/topic/591769-module-gratuit-ajouter-une-image-pour-une-caractéristique/ Por favor pon como SOLUCIONADO en el asunto. Gracias
- 2 replies
-
- imagens
- caracteristicas
-
(and 1 more)
Tagged with:
-
create product without image "No Image Available" graphic
mistik777 replied to jokerstar's topic in 1.7.2.x [Current]
A temporal solution for PS 1.7.4.3 until prestashop fix it in an official way: 1º Go to /img/p/ and download files: es-default-cart_default.jpg es-default-home_default.jpg es-default-large_default.jpg es-default-medium_default.jpg es-default-small_default.jpg change with the image you want and upload again. Go to /theme/YOURTHEME/templates/catalog/_partials/miniatures/product-listrgrid.tpl And add this in product-listrgrid.tpl {if count($product.images) < 1 } <a href="{$product.url}" class="thumbnail product-thumbnail"> <img src = "https://www.YOURWEBSITE.com/img/p/es-default-medium_default.jpg" alt = "{$product.cover.legend}" data-full-size-image-url = "{$product.cover.large.url}" > {/if} <a href="{$product.url}" class="thumbnail product-thumbnail"> <img src = "{$product.cover.bySize.home_default.url}" alt = "{$product.cover.legend}" data-full-size-image-url = "{$product.cover.large.url}" > {if count($product.images) > 1 } {hook h="displayTmHoverImage" id_product=$product.id_product home='home_default' large='large_default'} {/if} Go to /themes/YOURTHEME/templates/catalog/_partials/product-cover-thumbnails.tpl And add this in product-cover-thumbnails.tpl change green <img class="js-qv-product-cover" src="https://www.YOURWEBSITE.com/img/p/es-default-large_default.jpg" alt="{$product.cover.legend}" title="{$product.cover.legend}" style="width:100%;" itemprop="image"> Clear cache -
Default "No Image Available" image does not work ?
mistik777 replied to gray's topic in 1.7.2.x [Current]
A temporal solution for PS 1.7.4.3 until prestashop fix it in an official way: 1º Go to /img/p/ and download files: es-default-cart_default.jpg es-default-home_default.jpg es-default-large_default.jpg es-default-medium_default.jpg es-default-small_default.jpg change with the image you want and upload again. Go to /theme/YOURTHEME/templates/catalog/_partials/miniatures/product-listrgrid.tpl And add this in product-listrgrid.tpl {if count($product.images) < 1 } <a href="{$product.url}" class="thumbnail product-thumbnail"> <img src = "https://www.YOURWEBSITE.com/img/p/es-default-medium_default.jpg" alt = "{$product.cover.legend}" data-full-size-image-url = "{$product.cover.large.url}" > {/if} <a href="{$product.url}" class="thumbnail product-thumbnail"> <img src = "{$product.cover.bySize.home_default.url}" alt = "{$product.cover.legend}" data-full-size-image-url = "{$product.cover.large.url}" > {if count($product.images) > 1 } {hook h="displayTmHoverImage" id_product=$product.id_product home='home_default' large='large_default'} {/if} Go to /themes/YOURTHEME/templates/catalog/_partials/product-cover-thumbnails.tpl And add this in product-cover-thumbnails.tpl change green <img class="js-qv-product-cover" src="https://www.YOURWEBSITE.com/img/p/es-default-large_default.jpg" alt="{$product.cover.legend}" title="{$product.cover.legend}" style="width:100%;" itemprop="image"> Clear cache -
With this code you get info you want and more Set @product_id="8800"; SELECT g.`id_customer` AS id_customer, g.firstname AS Customer, g.email AS email, d.id_order, o.date_upd AS fecha, d.product_name AS producto, d.product_reference AS REF, z.upc AS UPC, d.product_quantity AS uds, d.unit_price_tax_incl AS PVP, -x.total_discount_tax_incl AS CUPONES, x.total_shipping_tax_incl AS PORTES, x.total_paid_tax_incl AS TOTAL, y.name AS ESTADO, w.payment_method AS PAGO FROM ps_order_detail d LEFT JOIN ps_orders o ON ( d.id_order = o.id_order ) LEFT JOIN ps_customer g ON ( o.id_customer = g.id_customer ) LEFT JOIN ps_stock_available s ON (d.product_id = s.id_product) LEFT JOIN ps_address ad ON (o.id_address_delivery = ad.id_address) LEFT JOIN ps_address ai ON (o.id_address_invoice = ai.id_address) LEFT JOIN ps_group_lang gl ON ( g.id_default_group = gl.id_group ) LEFT JOIN ps_order_state_lang os ON ( o.current_state = os.id_order_state ) LEFT JOIN ps_order_invoice x ON (d.id_order = x.id_order) LEFT JOIN ps_order_state_lang y ON (o.current_state = y.id_order_state) LEFT JOIN ps_product_attribute z ON (d.product_reference = z.reference) LEFT JOIN ps_order_invoice_payment v ON (d.id_order = v.id_order) LEFT JOIN ps_order_payment w ON (v.id_order_payment = w.id_order_payment) WHERE [email protected]_id GROUP BY d.id_order, d.product_name ORDER BY d.id_order ASC;
-
[PS 1.7] How to show manufacturer/brand page
mistik777 replied to NicolasIT's topic in General topics
If you want something like the image attached is easy with CSS... .brand { display: block; float: left; padding: 10px; border: dotted 1px; margin: 5px; text-align: center; } .brand:hover { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .brand-products { display: none; } .brand-img { width: 200px; height: 100px; } Regards -
-
Prestashop 1.7.4.2
-
Could some one paste the full and correct code ?? with this doesn´t work Thanks in advanced {*hook h="DisplayILabsManufacturerLogo" product=$products type=product*} {assign var=logos value=(int)Configuration::get('manufacturerlogo_name')} {if isset($logos) && $logos==1} {Manufacturer::getNameById($product->id_manufacturer)} {/if} <A href="{$base_dir}index.php?id_manufacturer={$product->id_manufacturer}&controller=manufacturer&id_lang={Tools::getValue('id_lang')}"> <IMG src="{$base_dir}/img/m/{$product.id_manufacturer"}-small_default.jpg" alt="{Manufacturer::getNameById($product->id_manufacturer)}" title="{Manufacturer::getNameById($product->id_manufacturer)}"> </A>
-
Lo único que he conseguido es que los resultados de la búsqueda se ordenen por los más nuevos al principio con este cambio. /controllers/front/listing/SearchController.php protected function getProductSearchQuery() { $query = new ProductSearchQuery(); $query ->setSortOrder(new SortOrder('product', 'date_add', 'desc')) ->setSearchString($this->search_string) ->setSearchTag($this->search_tag); pero muestra más resultados de los deseados.... muestra todo lo que lleva las palabras sueltas En los pesos de búsqueda también he deshabilitado (poniendo a 0) otros campos pero nada....
-
Se puede hacer de alguna manera que el motor de busqueda que se utiliza en el backend sea igual que en el frontend ??? Si voy desde la administración a productos > buscar por referencia --> muestra los productos correctos mientras que si hago la busqueda desde el frontend muestra otros resultados (ordenados por revelancia) Gracias
-
mistik777 changed their profile photo
-
Crazy with explorer, header and global.css
mistik777 replied to pemeclama's topic in Configuring and using PrestaShop
Alguna solución?? A mi también me pasa... Hay un salto de linea o linea en blanco antes de empezar el codigo... Linea 1: Linea 2: <!DOCTYPE HTML> <!--[if lt IE 7]><html class="no-js .... Ni en el index.php ni header.tpl ni global.tpl ni index.tpl.... Alguien ?? -
Atributos equivalentes TALLAS zapatillas:: EU, UK, USA ?
mistik777 replied to mistik777's topic in Discusión general
Ese es solo un ejemplo .... ya que el resto esta todo puesto solo en tallaje EUROPEO A día de hoy no he encontrado ningún modulo ni codigo para cambiar en el core que permita mostrar las tallas como una tabla por pestañas... para poder elegir EU, USA o UK... en este mundillo de zapatillas hay mucha gente que busca por tallas USA/UK (el tallaje cambia según cada marca) Seguimos esperando a ver si alguien se le ocurre algo... Gracias