[SOLVED]order status change - ajax popup shows

  • Posts: 155
  • Thank you received: 4
10 years 2 months ago #192801

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4
-- PHP version -- : 5.3.10-1ubuntu3.16
-- Browser(s) name and version -- : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

Hallo.

I have updated my Joomla site from 2.5 to 3.3 and now to 3.4 followwing the howto from joomla. All worked fine only some issues.

When i change the status of an order (in the order list view) normally there was an an popup showing me if i want to notify the customer. cliccing on yes there appeared the html email massege which i could change.
Now there appears my website in the popup window (see the screenshot)





Also if i change the status in the order details and check the "mail customer " box there arrives an error in the mail message

Notice: Undefined index: 10975 in /srv/www/ilmondodiwit.com/media/com_hikashop/mail/order_status_notification.preload.modified.php on line 113


What is wrong ? how can i debug where can be the problem. Thanks for help

Attachments:
Last edit: 10 years 2 months ago by Cattelan.

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

  • Posts: 4
  • Thank you received: 1
10 years 2 months ago #192811

They're working on a release to fix things that J3.4 broke. In the mean time you can fix that problem by reviewing this thread here.
www.hikashop.com/forum/5-support-en-fran...ristique.html#192105
download popup.php and change code accordingly from this thread
www.hikashop.com/forum/install-update/87...g-orders.html#192264
Change the code:

						jQuery('#modal-' + id + '-container').find('iframe').attr('src', url);
to:
						if(document.getElementById('modal-' + id + '-container'))
							jQuery('#modal-' + id + '-container').find('iframe').attr('src', url);
						else
							jQuery('#modal-' + id).find('iframe').attr('src', url);
in the file media/com_hikashop/js/hikashop.js and that will fix the problem.[/quote]

You may have to clear all your caches, but is a working fix.

Last edit: 10 years 2 months ago by Bures.
The following user(s) said Thank You: Cattelan

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

  • Posts: 155
  • Thank you received: 4
10 years 2 months ago #192841

Ok thanks... that's working for me ;-)

Now there comes the error

Notice: Undefined index: 10975 in /srv/www/mysite.com/media/com_hikashop/mail/order_status_notification.preload.modified.php on line 113


in the head of the email (i opened a new topic)

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

  • Posts: 72
  • Thank you received: 0
9 years 7 months ago #216323

Dear Sir
I am facing same problem but in Hikamarket module (in front-end while editing order status)
I tried edit himakerket.js but could not find the same line of code above

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

  • Posts: 83779
  • Thank you received: 13567
  • MODERATOR
9 years 7 months ago #216330

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

  • Posts: 72
  • Thank you received: 0
9 years 7 months ago #216396

dear sir
I tried both editing layouts/joomla/modal/main.php and layouts/joomla/modal/iframe.php with the suggested changes but still the same
I have
Joomla 3.4.3
hikashop 2.5.0
Hikamarket 1.6.3

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

  • Posts: 83779
  • Thank you received: 13567
  • MODERATOR
9 years 7 months ago #216411

Hi,

Update both Joomla and HikaShop to their latest version, then apply the patch of the github link of the thread I gave you and then it should work.
If not, then please provide a backend access to your website along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
9 years 7 months ago #216580

Hi,

I applied a patch in your view "ordermarket | show_vendor" in order to fix an issue with the bootstrap popup.
I couldn't reproduce the issue with Firefox in my local website but I got it with Google Chrome.
Next HikaMarket release will have the patch I put you.

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: 72
  • Thank you received: 0
9 years 7 months ago #216587

dear sir
its working now, however, in the backend, when edit order status, there is a filed where you can write the Modification reason as well can notify the client by email, is it possible to have the same on the front end in order edit status by vendor
thanks

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
9 years 7 months ago #216590

Hi,

When a vendor edit an order status, he can't notify the customer.
Nevertheless, there is an option in HikaMarket to automatically notify the customer when a vendor edit the order status (of his sub sale) and that modification affect the main order.
The setting name is : "Notify customer when subsale update main order status"
With that feature, the notification will be automatic.

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: 72
  • Thank you received: 0
9 years 7 months ago #216706

thanks for your quick feedback, however
1. can I also notify the administrator
2. what about adding the field Reason for change status, I can see it in the order history but the change order status do not have it
thanks

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
9 years 7 months ago #216723

Hi,

For such kind of question ; the HikaMarket forum section is much more appropriate.

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: 29
  • Thank you received: 0
9 years 3 months ago #226710

Hi. I am using hikashop 2.6.1 and joomla 2.5.6. Ever since I updated the new version of hikashop 2.6.1,there isn't any pop up when I change the customer's order status. Usually there will be a pop up where I can choose if I want to notify customer. If I want to, then the email will appear where I can change the contents. But now there's no pop up and the email is automatically sent to customer. Please help

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
9 years 3 months ago #226724

Hi,

Please re-download HikaShop 2.6.1
The package has been updated yesterday with a fix for Joomla 2.5

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.

Time to create page: 0.124 seconds
Powered by Kunena Forum