Jump to content

Xurxo DZ

Members
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Location
    Spain
  • Activity
    Developer

Xurxo DZ's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. Hi everyone! I'm trying to display the wholesale/cost price of combinations but I had no luck with this... I can display the product wholesale price using $product.wholesale_price but I can't find the way to do the same with combinations. Anyone knows hot to do this? And will it update on selecting different combinations? Thanks!
  2. Hi everyone! I have a problem with orders with more than one carrier in a PrestaShop 1.7.6. I have configured several carriers for different zones and products and PrestaShop divides them into several orders in the Back Office (so far it is correct). The problem is that it also does it with products that cannot be sent to some zones. I give you an example: Product A can be sent to all zones and has a generic carrier. Product B can only be shipped to some areas and has a specific carrier. If I create an order only with Product A or Product B alone, PrestaShop works correctly. If I create an order with both products, PrestaShop allows me to create the order and send the products, even to the areas where one of them is not allowed. Should PrestaShop not prevent it? Or show a warning stating that one of the products cannot be sent to that place? Moreover, by dividing the order in two, the product that cannot be sent has no shipping costs!
  3. Hi! I'm facing the exact same problem in 1.7.6. Did you find any solution to this issue?
  4. Somos dos con el mismo problema... He intentado borrar la caché de los navegadores, lo he intentado desde otros equipos e IPs... Nada de nada. He modificado los permisos, he comprobado las versiones de PHP... He activado el modo debug y no da ningún error. Lo he desactivado y sigue sin funcionar. He probado a borrar el .htaccess... La verdad es que he llegado a un punto muerto y no sé por dónde seguir. En mi caso, la versión es 1.6.1.9, pero los síntomas son exactamente los mismos. ¡Gracias!
  5. Hi everyone, Maybe someone can help me with this question. I wanted to show each product's stock in category list and it went well, but the value showed is the available stock, not the physical stock, which I want to display there. Any ideas? PS version is 1.6.1.17 This is the line I added to product-list.tpl to show the stock: <span class="detalles_producto"><strong>STOCK: </strong>{$product.quantity|truncate:4:''|escape:'html':'UTF-8'} UD.</span><br />
  6. So, no ideas? I didn't manage to solve this so far...
  7. Nobody? I found this line in StoresController.php but I don't know if it's safe to remove it or change it to 'removeJS'. Edit: I can't paste the code, so I attach a screenshot...
  8. Hi everyone! I'm trying to reduce the loading time of my store. I detected this call in the header: <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script> Is there a way of removing it? In the header.tpl file I just found this: {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script> {/foreach} I can't find what module/controller/whatever is inserting it... Any ideas?
  9. Buenas a todos, PrestaShop 1.6.x Tengo una duda con respecto a los vales de descuento de PrestaShop. Quiero aplicar un descuento en los pedidos, exceptuando algunos productos. Si configuro los filtros por productos (en la pestaña "Condición"), puedo seleccionarlos todos, excepto aquellos que no me interesa rebajar, todo bien. El problema es que esto sólo se puede hacer con un descuento por porcentaje y no por cantidad. En el último paso (Acciones), si selecciono "Importe" desaparece la opción "Producto(s) seleccionado(s)". ¿Hay alguna manera de configurarlo para que realice el descuento por cantidad en la suma de los productos seleccionados e ignore a los que no lo están? Edit: Ay, que me he equivocado de foro...
  10. I have a similar issue with a module. I want the friendly URLs option on, but as soon as I do that, the infinite scroll module stops working. It calls to /module/infinitescroll/ajax?p=2&current_id=3&scroll_type=category&orderby=position&orderway=asc and with friendly URLs this goes to a 404 page... Any ideas?
  11. A ver si queda aquí para otra gente que le ocurra. Tuvimos el mismo problema con RedSys, el Sabadell y el error SIS0334 (o "denegada 9334" desde el panel de Sermepa). Hablando con ellos me dicen que ese error lo devuelve cuando la transacción excede algunos parámetros de seguridad que se configuran en el TPV. Por ejemplo, que una misma tarjeta o una misma IP no haga más de X operaciones al día, que no superen determinado importe, etc. En nuestro caso, la configuración de seguridad de nuestro TPV tenía marcado que si se utilizaba una tarjeta extranjera, debía utilizarse desde el país de origen. Un cliente francés con tarjeta de Francia quiso realizar una compra con su tarjeta desde España y el sistema la rechazó con este código. En cualquier caso, todos estos parámetros te los cambian en la sucursal del banco, por lo que si te ocurre por la tarde o en fin de semana, te hacen una faena del copón. Pero bueno, la cosa es que tiene arreglo, así que si no os ha pasado, pero tenéis un TPV virtual de RedSys, preguntad en el banco cómo está configurado, por si acaso.
  12. Actualizo para añadir la respuesta del firebug: Aparece uno nuevo cada vez que hago click en enviar... ¿Me podéis echar un cable?
  13. Básicamente ese es el problema. En cualquier producto, abro el formulario para enviar un comentario, escribo lo que sea y al hacer clic sobre el botón "Enviar" no ocurre absolutamente nada. He revisado el tpl de los comentarios y no veo errores: <form id="id_new_comment_form" action="#" onsubmit="return false;"> <h2 class="title">{l s='Write your review' mod='productcomments'}</h2> {if isset($product) && $product} <div class="product clearfix"> <img src="{$productcomment_cover_image}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product->name|escape:html:'UTF-8'}" /> <div class="product_desc"> <p class="product_name"><strong>{$product->name}</strong></p> {$product->description_short} </div> </div> {/if} <div class="new_comment_form_content"> <h2>{l s='Write your review' mod='productcomments'}</h2> <div id="new_comment_form_error" class="error" style="display:none;padding:15px 25px"> <ul></ul> </div> {if $criterions|@count > 0} <ul id="criterions_list"> {foreach from=$criterions item='criterion'} <li> <label>{$criterion.name|escape:'html':'UTF-8'}</label> <div class="star_content"> <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="1" /> <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="2" /> <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" /> <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="4" /> <input class="star" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="5" checked="checked" /> </div> <div class="clearfix"></div> </li> {/foreach} </ul> {/if} <label for="comment_title">{l s='Title for your review' mod='productcomments'}<sup class="required">*</sup></label> <input id="comment_title" name="title" type="text" value=""/> <label for="content">{l s='Your review' mod='productcomments'}<sup class="required">*</sup></label> <textarea id="content" name="content"></textarea> {if $allow_guests == true && !$logged} <label>{l s='Your name' mod='productcomments'}<sup class="required">*</sup></label> <input id="commentCustomerName" name="customer_name" type="text" value=""/> {/if} <div id="new_comment_form_footer"> <input id="id_product_comment_send" name="id_product" type="hidden" value='{$id_product_comment_form}' /> <p class="fl required"><sup>*</sup> {l s='Required fields' mod='productcomments'}</p> <p class="fr"> <button id="submitNewMessage" name="submitMessage" type="submit">{l s='Send' mod='productcomments'}</button> {l s='or' mod='productcomments'} <a href="#" onclick="$.fancybox.close();">{l s='Cancel' mod='productcomments'}</a> </p> <div class="clearfix"></div> </div> </div> </form> He comprobado también la consola del FireFox y veo que cada vez que hago clic sobre el botón me devuelve un error de JS: Cadena vacía pasada a getElementById(). ¿Alguien tiene alguna idea?
  14. Hi Vitazzz, You can disable the changes by editing /modules/blocklayered/blocklayered.php in line 3107. Where you find this code: if (is_array($filter_block['title_values'])) foreach ($filter_block['title_values'] as $key => $val) { $title .= ' > '.$key.' '.implode('/', $val); $keywords .= $key.' '.implode('/', $val).', '; } You must delete the second part, so the result is like this: if (is_array($filter_block['title_values'])) foreach ($filter_block['title_values'] as $key => $val) {}
×
×
  • Create New...