Jump to content

Zet4

Members
  • Posts

    43
  • Joined

  • Last visited

Zet4's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. You can see in the attached file. Is point to the chunk of code I wrote, line 169.
  2. Anybody can help me? I have headache with this problem, I don't know what to check for solve. I replace chunks of code with default prestashop file ajax-cart.js, but it still not working. Any help is appreciated. Thanks.
  3. Hi, I have a problem when I try to delete a item in my block cart(I can delete in checkout process) but when I try to delete by ajax block cart but it is not work. Using Chrome's inspector shows where is the error and going to the line 169 I see this: // Common product management if (!customizationId) { //retrieve idProduct and idCombination from the displayed product in the block cart var firstCut = $(this).parent().data('id').replace('cart_block_product_', ''); //ERROR firstCut = firstCut.replace('deleteCustomizableProduct_', ''); ids = firstCut.split('_'); productId = parseInt(ids[0]); if (typeof(ids[1]) != 'undefined') productAttributeId = parseInt(ids[1]); if (typeof(ids[2]) != 'undefined') idAddressDelivery = parseInt(ids[2]); } The line 169 caused the problem. I try to replace this file with the file by default of Prestashop and I replaced just one part as well... but no results. Can anyone help me? Thanks.
  4. So easy! just do this: Go to Orders > States, uncheck "Send email customer" (or similar because I use Spanish as language) I'll mark the thread as SOLVED.
  5. I see that the two emails correspond with pay by cheque and order confirmation. Can I just send this last mail? i don't want to send a mail because the customer paid with cheque. Thanks.
  6. Hi, Can someone where I have to modify for cheque module send just one mail? Actually it is send two mails, one for "in waiting for pay by cheque" and another for "confirmation order". I need only the last mail that correspond with "confirmation order". Can anybody help me? Thanks.
  7. Hi, I have a menu with a link "Log in" and always is static. I need change Login/logout when user is logged in or logged out but in this module i can't use typical {if $logged...} because the chunk of code that check this is for any link that you put in menu, and I just need change this link. I though use javascript but i can't check from javascript if a user is logged in or not and after change html title and "a" tag. What do you suggest? Thanks.
  8. Yes, I though that. But is a little uncomfortable that customers have two accounts. So well, now I think this is a temporally solution. Thanks for your answer.
  9. Thanks for your answer, I tell you what I pretend to do. The shop is private, then my customers need to show the products to their customers without prices(catalog mode) and they need see the prices when they want to buy. Then my customers are in one group with you suggestion, or they are in other. Therefore, they have catalog mode, or they haven't. They need both. Thanks again.
  10. I found a variable which allow to switch the state that I want change, is PS_CATALOG_MODE, but this is a global variable. How can I change from my index view? Thanks.
  11. Hi, I need to put a button in my shop for allow to my customers switch between "catalog mode" and "shopping mode". Where can I find information about it? I am reading the oficial documentation in Prestashop's site but I don´t find anything related. I suppose that I have to modify header.tpl from my theme for html elements, but in the controller(I don't know what controller modify) I have to call to any prestashop's function for switch between both modes. Can you help me? Thanks.
  12. Hola, tengo un problema con Prestashop, concretamente la versión 1.3. Resulta que tengo 300 pedidos en lo que va de año y por ejemplo hay pedidos que fueron cancelados, devueltos.. etc. El problema viene cuando quiero llevar al gestor la facturación y ahora tengo facturas salteadas y no coinciden. Por otro lado, me gustaría que cuando marque un pedido como enviado, entonces se generara la factura, ¿es posible realizar esto? Y por último, para reordenarlas otra vez, tendré que tocar sobre la base de datos directamente supongo, por que desde el back office no deja, así tampoco te deja que cuando empieces un año, trimestre o algo, empiece una nueva facturación. Bueno sin más espero alguna respuesta que me ayude, un saludo y gracias!
  13. How i can add a new attribute to my products?? like Type, and later access to this data from frontoffice via smarty variables? i need represent this content in a table. Thanks.
  14. Nadie sabe nada sobre el tema? yo creo que va a ser mejor que cree nuevas entradas enla tabla de productos con esos campos q necesito, modifique el Products.php y alguna clase mas y asi lo podria conseguir? alguien que me arroje un poco de luz? Gracias.
×
×
  • Create New...