Jump to content

josal

Members
  • Posts

    17
  • Joined

  • Last visited

Profile Information

  • Location
    Madrid
  • Activity
    Freelancer

Recent Profile Visitors

2,339,856 profile views

josal's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Alguna idea sobre esto? He pegado el código del formulario de los vales que tiene shopping-cart.tpl a order-carrier.tpl, para ponerlo en el paso 4 del carrusel. Funciona bien, aunque aparece en inglés, pero al añadirlo redirecciona al paso 1 del carrusel. ¿Sabéis si se puede hacer a mano o hay algún módulo para hacerlo? Gracias!!
  2. I've seen in the mail log of the server these lines: 2012-12-07 13:32:39 u51077209 49vF8R-1T6AQc3l5Z-017pNv |< REMOTE=81.44.21.197 SCRIPT=/008_prestashop/contact-form.php -- /usr/sbin/sendmail -t -i 2012-12-07 13:32:39 u51077209 49vF8R-1T6AQc3l5Z-017pNv EE invalid mail addresses: "Problemas t\303\251cnicos con la web <[email protected]>" 2012-12-07 13:32:39 u51077209 49vF8R-1T6AQc3l5Z-017pNv EE no valid recipient addresses I suspected the special chars were not supported in the recipient addresses, I removed them and it worked!!!! Yeah!! I guess is a bug of my version: 1.4.6.7
  3. Hi, I don't know the reason to not receive the contact form email while I'm receiving the rest of emails (orders, registration, etc). I'm using the mail() function. I want to test with an external custom smtp server but my hosting is shared by now and they don't allow me to connect to an external server even to port 25. But the weird thing is that with mail() I receive one kind of emails and not the others.... How can I debug the email function in order to have more info in this context? I've turned on error_reporting(E_ALL); and @ini_set('display_errors', 'on'); in config but the message in the front end is "message sent ..." with no errors... Any hint would be welcome. Thanks in advance
  4. Hola, el sistema de vales funciona muy bien pero creo que la opción está un poco escondida en el carrusel, ya que sólo puedes aplicar el cupón si vas al resumen de la compra (paso 1 del carrusel). Si das a pagar directamente (que es lo más normal) te va al paso 2 del carrusel para que te logues o al paso 3 si ya estuvieras logado, y en esos pasos no se pueden aplicar los cupones, no aparece el campo para introducirlos. ¿Cómo lo hacéis vosotros? - tengo prestashop 1.4.6.2. Si hay que tocar alguna plantilla, pues se toca, pero ¿cómo? - quizás copiando la parte del vale descuento que hay en la plantilla del primer paso del carrusel y copiándolo por ejemplo en el paso 3 siempre? Gracias de antemano!!
  5. Prueba a cambiar los valores de cantidades disponibles, que por defecto están a 0. A mí se me resolvió. Un saludo.
  6. Yo he añadido esto, y funciona bien: {convertPrice price=$product.price/$product.weight} por {$product.unity|escape:'htmlall':'UTF-8'}
  7. Anyone to explain a little better the final modifications? At last, the place to do them is not clear at all... I've tested some places but it's not working. Thanks in advance!!
  8. You can set it this way: <span id="unit_price_display">{convertPrice price=$product.orderprice} per {$product.unity|escape:'htmlall':'UTF-8'}</span>
  9. Hi, and do you know how to do the same but regarding the subcategory names? I've looked for something similar than truncate:... in the source code, concretely in /modules/productscategory/productscategory.tpl, but it doesn't change anything (with recompilation). {$categoryProduct.name|truncate:15:'...'|escape:'htmlall':'UTF-8'} Thanks in advance!!
  10. Hi, did you find the way to do it in a separate column? Moreover, if you have more than one attribute, the $product['product_name'] variable only shows the first one, at least for me. So that it appears the complete list of selected attributes, what do I have to write instead? Thanks in advance, PS1.4.6.2
  11. Great, and what about adding all the combinations (not only the first one) in the product description for the new order email template? If it works I'll add it to more places in the backoffice... I'm currently trying to do it because it seems the $itemsTable variable inside /modules/mailalerts/mailalerts.php file only refers to $product['attributes_small'] variable, which seems to have only the first combination. Maybe there is a $product['attributes'] with all the combinations, not only the first one? Another strange thing is that if I modify this $itemsTable variable, for example, in order to change the background of the table, it doesn't change at all. So, I haven't been able to write a var_dump in order to see the $product fields... I'm using Prestashop 1.4.6.2. Thanks in advance!!
  12. Me gustaría mostrar todas las combinaciones de atributos del producto en el email de confirmación de nuevo pedido, y si esto funciona en algunos sitios más. Por tanto, estoy modificando el fichero /modules/mailalerts/mailalerts.php, donde la variable $itemsTable se asigna. Concretamente, quiero cambiar el valor de $product['attributes_small'], porque sólo muestra la primera combinación, pero la segunda es fundamental para nuestro negocio en el backoffice. La primera pregunta está relacionada con el valor de esta variable, porque quizás existe otra $product['attributes'], que tiene todas las combinaciones, no sólo la primera... La segunda cuestión es extraña, porque si modifico /modules/mailalerts/mailalerts.php para por ejemplo cambiar el color de una fila en la variable $itemsTable, hago un nuevo pedidoi para ver el nuevo email y no cambia nada, parece como si no utilizara este fichero para construir el cuerpo del correo... :s Si esto funcionara, podría hacer un simple var_dump($product) para ver los campos de la variable, pero no cambia nada... Algo se me escapa, gracias por vuestra ayuda de antemano! Estoy con Prestashop 1.4.6.2.
  13. Following this discussion, I would like to add the descriptions of all the combinations in the new order confirmation email (and later in some places more). So, I'm trying to modify the /modules/mailalerts/mailalerts.php file, where the $itemsTable is assigned. Concretely I want to change the value of $product['attributes_small'], because it has only the first combination for the product, and the second combination is very important also for our business. The first question is regarding this value, because maybe there is a $product['attributes'] variable or similar with all the combinations, not only the first one. Second question, it's strange because if I modify the /modules/mailalerts/mailalerts.php file, for example, changing the color of a row inside the $itemsTable, if I make a new order, the table has the same format, not including the modification. It seems like it's not taking this file to build the email... :s If this can work, I would write a simple var_dump($product) there to see the fields of the variable, but it doesn't change anything... I don't know what I'm doing wrong. Thanks for your help in advance! I'm using Prestashop 1.4.6.2.
  14. Pues por un lado he visto este: http://www.embutidoscarrasco.com/quesos-cabra-sierra-de-cazorla/38-queso-cabra-romero-1-2-kg.html. Sin embargo yo creo que no es una concatenación como os decía, sino que ha hecho el "truco" ese de asignar los productos a una categoría "fantasma" para que aparezca en la url. Tiene toda la pinta. Lo mismo parece que ocurre en http://www.jewelleryluis.es/oro-amarillo/479-pendiente-oro-blanco.html. Voy a buscar más ejemplos que esté claro que se concatenan, ya os digo que juraría que lo he visto, aunque no sé si es que estoy acostumbrado a verlo y ahora en prestashop me ha parecido raro que no se vea. Por ejemplo se me ocurre así rápido http://www.carnevillamaria.com/cordero-y-cabrito/chuletas-y-carres.html, están concatenando una subcategoría con una categoría padre, pero no tengo muy claro que esto sea un prestashop... ¿hay alguna forma de saberlo? En cuanto al link, nadie, sería una solución, tocar el rewrite, pero fíjate, tendría que estar metiendo a mano todas las subcategorías... La otra solución es tocar ya el php a saco, si es necesario lo haremos, pero preguntaba por algo sencillo, o si es algo común... Gracias por vuestra ayuda, me sirve de mucho!!!
  15. Gracias statictic, por tu respuesta. Juraría haber visto algunas instalaciones que sí que las concatenan, pero no sé si es que son antiguas, o tienen algún módulo instalado, o alguna opción de configuración que no he visto para activarla... A ver si alguien más sabe algo y nos saca de dudas :-)
×
×
  • Create New...