After installing AwoCoupon Pro on Hikashop: wishlist becomes cart completely


  • Default avatar
    WW Solutions    
     7 months ago
    0

    I installed AwoCoupon Pro on latest Joomla & Hikashop version.

    The wishlists are created programatically.

    Now when looking into a wishlist, all products of the wishlist are all put in the shopping cart, and the wishlist disappears.

    Remove Awo restored the functionality.

    Any ideas?


    Wilfried

  • Your avatar
    seyi    
     7 months ago
    0

    Hello,

    I believe I have found the issue.  You will need to make a file modification.

    in www/administrator/components/com_awocoupon/helpers/estore/hikashop/couponhandler.php, around line 92 is this:

    <?php
            $current_cart_id 
    = !empty($cart->cart_id) ? $cart->cart_id $app->getUserStateFromRequestHIKASHOP_COMPONENT.'.cart_id''cart_id'0'int' );
    ?>

    Please change it to this:

    <?php
            $current_cart_id 
    = !empty($cart->cart_id) ? $cart->cart_id $app->getUserStateHIKASHOP_COMPONENT.'.cart_id'0'int' );
    ?>

    That should fix it.