Jump to content

mani313

Members
  • Posts

    112
  • Joined

  • Last visited

Everything posted by mani313

  1. hello there, i want to attach a file (example.jpg) in mailalerts module. i tried with following code. it does not work . please help me out with this. thanks in advance. #mailalerts.php line 386 if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.txt') && file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.html')){ $template->attach(new Swift_Message_Attachment(file_get_contents("path/images/logo.png"), "logo.png", "image/png")); Mail::Send( $id_lang, $template, sprintf(Mail::l('New order - #%06d', $id_lang), $order->id), $template_vars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/' ); }
  2. hello there, i want to attach a file (example.jpg) in mailalerts module. i tried with your code. it does not work . please help me out with this. thanks in advance. #mailalerts.php line 386 if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.txt') && file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.html')){ $template->attach(new Swift_Message_Attachment(file_get_contents("path/images/logo.png"), "logo.png", "image/png")); Mail::Send( $id_lang, $template, sprintf(Mail::l('New order - #%06d', $id_lang), $order->id), $template_vars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/' ); }
  3. Hello there, i need to send two different order confirmation email (ie two recipient) one is customer & shipping admin. second email might have few more details in order email, like texts and image attachments. to do this where i have to edit whether i edit in PaymentModule classes' validateOrder method, or the Mail::Send method ? so how do i this. help would be appreciated. thanks in advance
  4. thanks anyway but we really need to generate and send invoices after order confirmation (ie auto). can we get this from your extension ? we are eagerly waiting for this feature. thanks in advance.
  5. is it ? with your extension , will it generate two different invoices and send two emails when order confirmation ?
  6. yes slightly different which are static texts like certificate authenticity, media sketch image etc. for printing company invoice (customer invoice remain same ).
  7. hum, but i want generate two different invoices after order confirmation. how i do this any hints ? thanks in advance
  8. vekia, thanks for the reply. can you give some hints where i have to edit in the core ? thanks
  9. i'm eagerly waiting to know is this possible or not ? can anyone help ? thanks in advance
  10. yes slightly different for printing company invoice. which are static texts like certificate authenticity, media sketch image etc. no worries, its not payment invoice for printing company , its like an order info for them. is it doable ?
  11. Hello there, My artshop needs a solution. i want to generate two different invoices, one for customer and another to my printing media company. i want to do this after order is confirmed. very few infos differs from each which are static texts added.
  12. hi there, i have facing a small issue from these weeks, it have not happened yet. for some orders 'I confirm Order' at end of completion. i don't think its because of paypal.is it necessary indeed? can i remove this kind validation ? thanks in adv
  13. thanks for the help.. the suggestion of M4 PDF Extensions seems good in invoice control, i have few ques will it support custom styles directly? (i mean can i add styles in invoice.tpl ) i want do a invoice pdf exactly like this .. is anyother tutorial need to study ?
  14. hi there, i want to change invoice (pdf) design, i tried background images, font etc, but no result. it accepts only size, color and alignments how do i do? is it not possible anyway? help/suggestions would be appreciated thanks in advance
  15. awe! thanks for reply i found another solution as you suggested with one page checkout . i decide to wrap up all elements after DOM loaded and lift one page check out to four stage using jquery. indeed it ugly method but no other idea to achieve this
  16. i have a solution for this..with same theme of prestashop you can include your wordpress blog (to do this there is no extra module needed) if you need ask here
  17. yes ! but we need to convert five into four without skipping any page. one page check out is one good feature but it too far to our needed requirement (i.e., shrink steps ). can you explain how do i do this ? is it easy ? thanks in advance ..
  18. hi there , i've small doubt , can we combine or join two steps into one barely not one page checkout ? is it possible ? yes i want combine step 4 (shipping) and step (payment) into one... do you have any clues? thanks in adv
  19. hi , i got it exactly. its wonder ! i've used wordpress theme for blog. which embeded in awesome. it simple solution , but i stressed about it over 5 months. anyway no worry about blogging in prestashop,without any modules.
  20. hi there, i could not explain my question in tilte. actually in our shop i want give optional product when buy buying a product. for example : mobile phone ($100) + memory card ($2) = $102 , but quantities should not differ with memory card without memory card if few products bought. i tried with 'product combination' Memory card : yes / no (selection) but quantities relay on each combination value. how do i overcome this issue or any other feature to buy optional product ?
  21. yes it of course! js is much familiar for me though java codes always better to choose for DOM solutions
  22. hi, i don't be sure how much its possible passing user agent on module expressions (i didn t tried it in php). hope should work coz no idea than UA to find IE. my bit of issue was only module's scripts conflicts on IE 7 , 8 and IE 10 . i fixed it by stop the script execution i did it in jquery, usual code to target specific version if (!$.support.leadingWhitespace) { // your stuff for IE 7 or 8 }elseif(/*@[email protected]*/false){ // your stuff for IE10 }elseif ($.browser.msie && parseInt($.browser.version, 9) > 8) { // your stuff for IE 9 }
  23. hi there, my site running on server and my localhost. whenever error encountered on form validation then in result it clears all entered values from the input fields. it happens only on server not on localhost. nothing is wrong i think, same code as in localhost.. <input type="text" class="light" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{else}{if isset($address->company)}{$address->company}{/if}{/if}" /> what's the reason exactly? could anyone help ? thanks in advance
  24. okay thanks, though it needs large update, its awesome! and i need one more help! i want to remove steps in checkout. for example 'summary' it almost duplicate in payment steps. so how do i gonna remove summary steps where i have to update ? is removing include line in (order-steps.tpl , authentication.tpl, order-address.tpl, order-carrier.tpl, order-confirmation.tpl, order-payment.tpl and shopping-cart.tpl) appropriate files enough ? thanks in advance
×
×
  • Create New...

Important Information

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