Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by jordiob

  1. I'm using one page checkout and everything works perfect except for the phone_mobile field, which is missing on the order_conf.html email once the order is placed. All the others fields are arriving correctly and phone_mobile is displayed in order-detail, invoked by {$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'} Anyone knows what can be the problem? {delivery_phone_mobile} returns nothing {invoice_phone_mobile} returns nothing {phone} returns nothing {phone_mobile} returns nothing
  2. Boss!!!!!!!!!!!!!!! Second solution worked. Thanks a lot!!!!!!!!!!!!
  3. it's not working with any email the error is "not valid e-mail" I uploaded the old version now, just let me know if you find something please Thx!
  4. Yes I did because I wasn't receiving any message Here's the contact-form.php code <?php $useSSL = true; include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $errors = array(); $smarty->assign('contacts', Contact::getContacts(intval($cookie->id_lang))); if (Tools::isSubmit('submitMessage')) { $message = Tools::htmlentitiesUTF8(Tools::getValue('message')); if (!($from = Tools::getValue('from')) OR !Validate::isEmail($from)) $errors[] = Tools::displayError('invalid e-mail address'); elseif (!($message = nl2br2($message))) $errors[] = Tools::displayError('message cannot be blank'); elseif (!Validate::isMessage($message)) $errors[] = Tools::displayError('invalid message'); elseif (!($id_contact = intval(Tools::getValue('id_contact'))) OR !(Validate::isLoadedObject($contact = new Contact(intval($id_contact), intval($cookie->id_lang))))) $errors[] = Tools::displayError('please select a contact in the list'); else { if (intval($cookie->id_customer)) $customer = new Customer(intval($cookie->id_customer)); if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $from, '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, (intval($cookie->id_customer) ? $customer->firstname.' '.$customer->lastname : $from))) $smarty->assign('confirmation', 1); else $errors[] = Tools::displayError('an error occurred while sending message'); } } $email = Tools::safeOutput(Tools::getValue('from', ((isset($cookie) AND isset($cookie->email) AND Validate::isEmail($cookie->email)) ? $cookie->email : ''))); $smarty->assign(array( 'errors' => $errors, 'email' => $email )); $smarty->display(_PS_THEME_DIR_.'contact-form.tpl'); include(dirname(__FILE__).'/footer.php'); ?>
  5. Never modified the code on contact-form.php but I always get the same error (no matter if user is logged in or not). I can't send e-mails through the contact-form because "email is not valid". Could anybody help me? This is the url: http://playandtour . net/contact-form.php Thanks a lot
  6. Hi! What I want is Prestashop to automatically send a new e-mail template (not the password) 2 days after the user registration offering the user a voucher in case he has not purchased any products. On my site, users can register to download free products which we use to grow the DB and send them vouchers. Thanks!
  7. Is there an easy way to do that just as the password e-mail is send once a user is registered? I'm not trying to create a CRM there, but, is there a module for this or is it easy to develop? Thanks!
  8. Thanks a lot for your help! I'm using 1.3.6 and did this: in order-detail.php add this after line 89 'order_state' => intval($id_order_state), //add this 'id_order_state' => intval($id_order_state), then, in order-detail.tpl: {if $id_order_state == 2}{else}Error{/if}
  9. Well, maybe not. I'm trying it on order-detail.tpl UPDATED: it's in line 74 id_order_state = intval($order->getCurrentState());
  10. Found this id_order_state ID 2 is payment accepted But when I use it, it doesn't work properly {if $id_order_state == 2}showThis{else}showThat{/if} The result is showThat all the time
  11. Hi! Anybody knows how can I define something like {if paymentstatus == error}showThis{/else}showThat{/if} I can't find where payment status are defined. Thanks!
  12. Thanks Artizzz! I tried your code but I get the same error
  13. Thanks for your answer! I know I can do that but I have more than 100 products, it's impossible for me to duplicate them all Thanks again!
  14. guess it has to be a modification into AdminDiscounts.php to invoke not just the categories but the products too, ins't it?
  15. hi there! I'd like to know if is there an easy way to create specific vouchers for a product. For example, let's say that a customer has downloaded one of my products, but got an error in the downloading process. I'd like to be able to add a new code to download just that specific product. Can I? Thanks!
  16. Hi Heather! I tried to integrate it following the steps at http://addons.qualityunit.com/integration-methods/_iPresta Shop/ but got no result using the TPV of the bank i'm working with. Never trid it out with Paypal, but it will work for sure. Anyway, at least you can ask some of the PAP guys to help you, which is something you cannot do if you're in a hurry with the developers of the module. It took me 2 weeks to get in touch with the developer and we tried to work it out to integrate the module and make it work properly. He had my FTP account and so on, but never found a solution. The last mail I sent is from 10 days ago and I never got a reply. Hopefully the pshop guys will give me my money back but, let me warn all the people on this post: please do not purchase the module I do not recommend it. My experience: it's not working 100% and it's f***ing difficult to get in touch with the developer! 15 e-mails later, he couldn't make the module work. Plus, you'll find some issues like this one: "When I activate the module, it is impossible to go to the paypal or TPV payment page once you click on Next button in the order page", you'll get a fatal error and will have to uninstall the payment modules, the one page checkout module (if you're using it), install the again, and configurate them again. Otherwise, the checkout process won't work. As you can see, this module is a box of surprises... If you can, do it on your own or get in touch with the PAP guys. They're more professional and will help you out.
  17. I did, but had to send an email to the pshop guys first Can't say it's working. The system is registering every sale that it's coming from a "comission per click" campaign, but it's not registering sales coming from a "comission per sale" campaign. So, to be honest, it's not working at all.
  18. I have the same problem and couldn't find a solution. Anyone please?
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More