Save and notify on additional information

  • Posts: 719
  • Thank you received: 3
9 years 11 months ago #184083

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.28

Hi,
i ask for this on another topic maybe with a little bit of confusion (Add tracking numbers to "shipped" order status).
So i open a new didicated topic for my problem.
When i open an order on the additional information i have two button: "save" and "save and notify".
if i click on "Save and notify" Hikashop does not send the email, it just only save the information.
What's wrong?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 12953
  • Thank you received: 1778
9 years 11 months ago #184106

Hello,
Can you please :
- Active the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "maximum"
- Test it again so that we can see if it display an error message which will help us to understand from what your issue is coming.

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

  • Posts: 719
  • Thank you received: 3
9 years 11 months ago #184180

Hi,
above the additional information i have:
Strict Standards: Only variables should be assigned by reference in /public_html/plugins/system/qlue404/qlue404.php on line 39

Also, on the Language file i have:
JROOT/language/it-IT/it-IT.com_hikashop.ini : errore(i) alla(e) linea(e) 12, 1037, 1038, 1039, 1040, 1421, 2058
JROOT/language/overrides/it-IT.override.ini : errore(i) alla(e) linea(e) 12

Thanks for your help


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 719
  • Thank you received: 3
9 years 10 months ago #185281

Hi,
any news for me?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 12953
  • Thank you received: 1778
9 years 10 months ago #186711

Hello,
Sorry for the late reply :

JROOT/language/it-IT/it-IT.com_hikashop.ini : errore(i) alla(e) linea(e) 12, 1037, 1038, 1039, 1040, 1421, 2058
JROOT/language/overrides/it-IT.override.ini : errore(i) alla(e) linea(e) 12

These lines means that you have some errors through your languages files.

Also, do you only have issues with the "Save & Notify" button or with other Hikashop emails ?

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

  • Posts: 719
  • Thank you received: 3
9 years 10 months ago #186795

Hi,
ok i fixed the Language file errors.
But i discovered another hikashop Language error and i don't think it is mine.
On the checkout breadcrump there is a string to translate: HIKASHOP_CHECKOUT_PLG.SHOP.USERPOINTS
The translation works but the system report an error. I suppose it is caused by points i mean dots.
Could you fix that please?

Bye the way lets come back to the topic problem.
No, i suppose i have only a problem with save and notify.

Regards


my site with Hikashop
www.lacasettabio.it
Last edit: 9 years 10 months ago by lacasetta.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #186949

Hi,

I checked and Joomla remove the dots in the translation key.
So the real translation key is

HIKASHOP_CHECKOUT_PLGSHOPUSERPOINTS
We will fix the issues in the next release.

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: 719
  • Thank you received: 3
9 years 9 months ago #191104

Hi,
i'm sorry but my issue is still here:
When i open an order on the additional information i have two button: "save" and "save and notify".
if i click on "Save and notify" Hikashop does not send the email, it just only save the information.
What's wrong?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 9 months ago #191186

Hi,

Does it work when you edit the order status and check the box for "notify customer" ?
Does it work when you click on the "email" button in the toolbar ?

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: 719
  • Thank you received: 3
9 years 9 months ago #191241

Hi,
thanks for your help.
Yes and yes!
it does not work only with the additional information "save and notify"
Regards


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 9 months ago #191622

Hi,

Add the code:

if(!empty($data['notify'])) {
				if(empty($order->history))
					$order->history = new stdClass();
				$order->history->history_notified = true;
			}
after the code:
if(isset($data['order']['order_payment_price'])) {
				$order->order_payment_price = (float)hikashop_toFloat($data['order']['order_payment_price']);
				$do = true;
			}
in the file administrator/components/com_hikashop/classes/order.php and that should fix the issue.

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

  • Posts: 719
  • Thank you received: 3
9 years 9 months ago #191637

Hi,
yes, now it is perfect!
Thank you so much!
;)
I hope this fix should be on the next release so i will not have to update it manually.
Is'nt it?
Best regards


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 9 months ago #191649

Hi,

It will yes.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum