Hi,
Thanks for the report, there is indeed an issue.
Please edit the view "product / compare" and add the line:
<input type="hidden" name="cart_type" value="cart"/>
Before:
<input type="hidden" name="return_url" value="<?php echo urlencode(base64_encode(urldecode($this->redirect_url)));?>"/>
And then edit the view "product / quantity" and replace:
$wishlistAjax = 'if(hikashopCheckChangeForm(\'item\''.$formName.')){ return hikashopModifyQuantity(\'' . (int)@$this->row->product_id . '\',field,1' . $formName . ',\'wishlist\','.$module_id.'); } else { return false; }';
By:
$cleanFormName = str_replace(array('\'',','),'',$formName);
$wishlistAjax = 'if(hikashopCheckChangeForm(\'item\''.$formName.')){ document.querySelector(\'form[name='.$cleanFormName.'] input[name=cart_type]\').value = \'wishlist\'; return hikashopModifyQuantity(\'' . (int)@$this->row->product_id . '\',field,1' . $formName . ',\'wishlist\','.$module_id.'); } else { return false; }';