- Posts: 28
- Thank you received: 1
Hikashop and Akeeba Subscriptions duplicates
12 years 1 month ago #166704
by TheBeacon
Hikashop and Akeeba Subscriptions duplicates was created by TheBeacon
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3
WIth Hikashop and Akeeba Subscriptions installed, when order status is changed to shipped in Hikashop, an additional/duplicate unpublished renewal subscription is added to Akeeba Subs and a notification email is sent to the customer.
-- Joomla version -- : 3.3
WIth Hikashop and Akeeba Subscriptions installed, when order status is changed to shipped in Hikashop, an additional/duplicate unpublished renewal subscription is added to Akeeba Subs and a notification email is sent to the customer.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166710
by nicolas
Replied by nicolas on topic Hikashop and Akeeba Subscriptions duplicates
Hi,
Change the line:
if(($order->order_status == 'confirmed' && @$this->old->order_status != 'shipped') || ($order->order_status == 'shipped' && @$this->old->order_status != 'confirmed')){ //if new or update subs
to:
if(($order->order_status == 'confirmed' && @$order->old->order_status != 'shipped') || ($order->order_status == 'shipped' && @$order->old->order_status != 'confirmed')){ //if new or update subs
in the file plugins/hikashop/akeebasubs/akeebasubs.php
and that should avoid the problem.
Change the line:
if(($order->order_status == 'confirmed' && @$this->old->order_status != 'shipped') || ($order->order_status == 'shipped' && @$this->old->order_status != 'confirmed')){ //if new or update subs
to:
if(($order->order_status == 'confirmed' && @$order->old->order_status != 'shipped') || ($order->order_status == 'shipped' && @$order->old->order_status != 'confirmed')){ //if new or update subs
in the file plugins/hikashop/akeebasubs/akeebasubs.php
and that should avoid the problem.
Please Log in or Create an account to join the conversation.
Time to create page: 0.139 seconds