
poncho_333
Members-
Posts
13 -
Joined
-
Last visited
Profile Information
-
Location
Logroño
-
Activity
Freelancer
Recent Profile Visitors
2,071,652 profile views
poncho_333's Achievements
Newbie (1/14)
0
Reputation
-
How many products can PrestaShop support?
poncho_333 replied to aleksa's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Hello Oscar, I think you speak spanish as me, but ... I am using the PS 1.5.3.1 default version engine, InnoDb, but i am testing my shop yet, ( I have not inserted all my products ... ) In other topic a moderator says this: "InnoDB uses row-locking instead of table-locking, so I think it is the superior choice. It's also selected by default when you install, so I think it is what PrestaShop recommends. You can certainly set up test sites with each database engine to compare them, but I doubt the database engine would cause features to break" you can view in this post: http://www.prestashop.com/forums/topic/86265-difference-innodb-and-myisam/ Also you can read this: (it is spanish, but your name is "Oscar" so ...): http://www.jose-aguilar.com/blog/myisam-vs-innodb/ and diference between engines in MySQL webpage: http://dev.mysql.com/doc/refman/5.5/en/storage-engines.html ... but i do not know which one is the best option ... People say InnoDB is better for writing and MyIsam for reading ... but .. By the way, I see an engine that uses a CSV files : http://dev.mysql.com/doc/refman/5.5/en/csv-storage-engine.html May be this last option resolve all of our problems ??? (File of plain text usually are speedest). We will have to try if it is possible. Thanks and regards. -
Hola a todos !! Ya está por fin. He encontrado la solución para buscar por la "referencia del proveedor /fabricante" sin modificar el código de Prestashop. He añadido la "referencia del fabricante" en la ficha de producto "etiquetas" y así aparece en las búsquedas del FO. Si no se quiere que los clientes vean las etiquetas (y por tanto la referencia del fabricante) se desactiva el módulo de etiquetas (tag module) en el Back Office y ya está, continua buscando bien. No es lo ideal, porque debería de incluirlo el search pero en fin ...
- 12 replies
-
- referencia
- buscar
-
(and 1 more)
Tagged with:
-
Change price from $0 to FREE
poncho_333 replied to tmcmanus's topic in Addons, modules and themes developers
Hi all, After days of attempts I succeeded it but only in one language. it is not in the ordering process (Basket of 1-5 pages) and in the main page (I guess it uses the file "product-list.tpl" too) if anyone knows how to make this another changes please say it. I write the code to change "0.00" to "Free" on the product page: In file "product.tpl" of your theme (line 383): Original code: <p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2 <span id="our_price_display">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {/if} </p> And the solution code: <p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2 and $productPrice neq 0} <span id="our_price_display">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {else} Free {/if} </p> My PS version is 1.5.3.1 -
How many products can PrestaShop support?
poncho_333 replied to aleksa's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Thanks a lot campeom !!! I gonna try your solution adding this line with big amount memory in php.ini file. So for anyone who needs it i have find this web with many tips (as the one you said) for modifing the php.ini that do prestashop running much better: http://www.prestatraining.com/12-tips-to-optimise-your-php-ini-file-for-prestashop/ Really this is a good forum !! -
How many products can PrestaShop support?
poncho_333 replied to aleksa's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Hi, Have you find solution for your indexation ? I need to include about 100.000 products ... Thanks and regards. -
Good morning Mike, I have tried all things to do that with PS 1.5.3, but search.php is not working properly ... can you please tell me which code can i write for Search.php in classes folder for PS 1.5.3 to add the suplier reference (In PS 1.5.3 is in the DB with the table "PS_product_supplier" and with ID "product_supplier_reference" ??? I am desperate ... Thanks and best regards.
-
Search by suppliers refernece in FO
poncho_333 replied to DJPhill's topic in Configuring and using PrestaShop
Anyone knows how to do it? I have tried a lot of possibilities and i can not do it ... Thanks a lot. -
Hola a todos de nuevo, He intentado esto: public static function getAttributes($db, $id_product, $id_lang) { $attributes = ''; $attributesArray = $db->executeS(' SELECT al.name FROM '._DB_PREFIX_.'product_attribute pa SELECT pa.product_supplier_reference FROM '._DB_PREFIX_.'product_supplier pa INNER JOIN '._DB_PREFIX_.'product_attribute_combination pac ON pa.id_product_attribute = pac.id_product_attribute INNER JOIN '._DB_PREFIX_.'attribute_lang al ON (pac.id_attribute = al.id_attribute AND al.id_lang = '.(int)$id_lang.') WHERE pa.id_product = '.(int)$id_product); foreach ($attributesArray as $attribute) $attributes .= $attribute['name'].' '.($attribute['product_supplier_reference'] != "" ? $attribute['product_supplier_reference'].' ' : '');; return $attributes; } Pero no hay manera ... Ya he encontrado la tabla: PS_PRODUCT_SUPPLIER y la ID para identificarlo que es: product_supplier_reference Ahora cómo la incluyo en el search.php ?? Muchas gracias y saludos !!
- 12 replies
-
- referencia
- buscar
-
(and 1 more)
Tagged with:
-
OK, tiene muy buena pinta !! Voy a intentar incluir la variable y os comento. Muchas gracias y saludos.
- 12 replies
-
- referencia
- buscar
-
(and 1 more)
Tagged with:
-
Muchas gracias Leiro. Ya lo había pensado, pero no quiero que la vean todos los clientes ... sólo quiero que si hacen la búsqueda por la referencia del proveedor aparezca el producto en los resultados ... Supongo que habría que añadir la variable que la contiene al search.php, al igual que hace con el nombre del producto, referencia, etc .. pero no sé cómo hacerlo .. Alquien sabe en qué tabla la guarda la base sql ??? Saludos.
- 12 replies
-
- referencia
- buscar
-
(and 1 more)
Tagged with:
-
Hola Rubalcaba, Ante todo muchas gracias. Si, tengo puesto "10", pero entiendo que eso es solamente para la referencia del producto, no para la referencia del fabricante. Lo que necesito es que si un cliente pone la referencia del fabricante en el buscador le aparezca el producto (aunque sólo muestre la referencia de producto mía) por lo que veo no lo permite el buscador (o no aparece). Muchas gracias de nuevo y saludos.
- 12 replies
-
- referencia
- buscar
-
(and 1 more)
Tagged with:
-
Buenos días, A mi también me gustaría saber cómo hacerlo ... si alguien es tan amable de ayudarnos se lo agradecería ... He modificado el search.php como dicen en el foro pero no funciona (PS 1.5.3.) Muchas gracias y saludos.
- 12 replies
-
- referencia
- buscar
-
(and 1 more)
Tagged with: