Hikashop and Akeeba Subscriptions duplicates

  • Posts: 28
  • Thank you received: 1
10 years 3 months ago #166704

-- 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.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 3 months ago #166710

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.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum