Problems with invoices

  • Posts: 13
  • Thank you received: 0
10 years 6 months ago #179116

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.27

Hello everyone. This is the problem:

We set the shop to pay by credit card and initially the bank receives the payment notification. However, neither the user nor the administrator receive any mail notification or invoice. We tested our contact section on joomla and apparently, is working and we receive the contact mail, so we think the joomla mail configuration is ok. (We are using php mail. )

We've taken a look at the orders. Both the invoice as the shipping invoice is created and stored on the server, but no mail is sent.

Any idea what could be happening?

Last edit: 10 years 6 months ago by Bibok.

Please Log in or Create an account to join the conversation.

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 6 months ago #179128

Hi,

Or plugin or A PHP error could explain the trouble.
Please check your PHP error log.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
10 years 6 months ago #179311

Hello again.

We checked the website and finally we have seen that the problem was in the mail accounts. Now seems everything is in order, but we have doubts about the invoices:

• What can I do to make the user receive the invoice directly on his mail? (Now he only receives the order confirmation and creation mails)
• Is there a way for the admin to see all invoices at once?
• When the user clicks in his order, he go to the index screen an receive this error (Up To the right)



• What can I do to change the invoice number? I don't want random numbers like U18, T16, etc. I would like the numbers are consecutive.

Thanks

Last edit: 10 years 6 months ago by Bibok.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #179432

Hi,

1. To have the invoice as PDF attached to the email, you will need:
hikashop.com/component/hikashop/product/cid-18.html

2. The admin can see the listing of the orders in backend, but not all the invoices at once.

3. Do you have added custom order fields ? Please try to disable the added ones to see if it's working that way.

4. You can edit the value of the option "Invoice Number format" in Configuration > Main > Order.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
10 years 6 months ago #179452

1. Ok. I'll check this. Thanks.
2. Ok. If the plugin works I'll send the same invoice to the shopper and the admin, right?
3. I don't have any custom order field, so I think is a problem with the template... Can we desable the link and leave without it? We can add custom text on the mail to the customers? To add a simple "Go to the panel for more information" and avoid the problem.
4. Ok. Can you provide us some examples of the possibilities to edit this? For example, If I want only consecutive numbers without a letter?

Thanks for the information!

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #179488

Hi,

2. No the email with the pdf attached is only sent to the customer by default, but you can add some code to the email to add your address as bcc. You should find other topics about that on our forum.

3. As you said it seems to be more a Joomla / template issue than an HikaShop one. The link can be removed by editing the email via the menu System > Emails and instead of using custom field, you can directly add your text string in the email content.

4. You just have to use

id

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
10 years 6 months ago #179590

2. Ok, We'll check that and we''ll see if we can make it works. Can I reset the number invoices and order? How?

3. Ok, I've tried to edit the email, but I broke it, so I supose, once again ,I don't know what line I need to edit to remove the link. For example, on the notification mail, I have three codes:

HTML

** Original content of the order notification html of HikaShop 2.3.4 **

TEXT:
** Original content of the order notification text of HikaShop 2.3.4 **

PRELOADED VERSION
** Original content of the order notification preload of HikaShop 2.3.4 **

I tried to edit and delete de $url, but then the whole message dissapears... So I think I'm not editing the correct line, right?

Last edit: 10 years 6 months ago by Jerome. Reason: Removing email content which is the same than the original HikaShop files

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #179602

Hi,

In the preload part, replace:

'ORDER_CHANGED' => JText::sprintf('ORDER_STATUS_CHANGED_TO', $url, $data->mail_status),
By:
'ORDER_CHANGED' => JText::sprintf('ORDER_STATUS_CHANGED_TO', $data->order->order_number, $data->mail_status),

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
10 years 6 months ago #179933

Thanks a lot! The link is now removed! Now we can send emails without think on the template.

We have a few of questions:
1. If we want to delete all the invoices we created for test purpose and reset the order and invoices ID? Do we need to modify some files or...?
2. When a product is out of stock, how can i know it? I mean, is there any option that allows to send me an email when a product is out of stock?

Thanks!

Last edit: 10 years 6 months ago by Bibok.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 5 months ago #182414

Hello,

1. You have to do go to your phpMyAdmin interface and on the #__hikashop_order and #__hikashop_order_product tables use the "empty table" functionality. This way it will erase the data and reset the ids.

2. Sure, you can enable the "'Out of stock notification" email via "Hikashop->System->Emails" which will notify you when a product is out of stock.

Last edit: 10 years 5 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum