Support » Plugin: WooCommerce added to cart popup (Ajax) » Poor support, even for the paid plugin

  • As a WordPress developer, I’ll give you the fixes, you just need to copy / paste them & release a new version, ok?

    The file /templates/xoo-cp-content.php needs the following changes:

    First problem:
    get_permalink( woocommerce_get_page_id( 'shop' ) );
    needs to be replaced with
    get_permalink( wc_get_page_id( 'shop' ) );
    in order to avoid this notice:

    The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.

    2. Another really important bug to be fixed:

    $attributes .= WC()->cart->get_item_data( $cart_item );

    should to be:

    $attributes .= wc_get_formatted_cart_item_data( $cart_item );

    Thank me later,
    Alex Spataru

    • This topic was modified 1 year, 9 months ago by Alex Spataru. Reason: Didn't format the review text
    • This topic was modified 1 year, 9 months ago by Alex Spataru.
  • The topic ‘Poor support, even for the paid plugin’ is closed to new replies.