1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. The arrow-right.svg image returns ‘Mixed Content’ error
  1. Home
  2. Knowledge Base
  3. Troubleshooting
  4. The arrow-right.svg image returns ‘Mixed Content’ error

The arrow-right.svg image returns ‘Mixed Content’ error

If you get a console error telling you that the ‘arrow-right.svg’ resource is being served over HTTP instead of HTTPS, you can add a function like this to your functions.php file:

<?php
// Replace HTTP with HTTPS in arrow resource
function prefix_filter_cart_remove_linked_product( $arrow_right, $cart_item_key ) {
return str_replace( 'http://', 'https://', $arrow_right );
}
add_filter( 'pewc_filter_cart_remove_linked_product', 'prefix_filter_cart_remove_linked_product', 10, 2 );
view raw arrow-resource.php hosted with ❤ by GitHub

Was this article helpful?

Need More Support?

If you can't find the answer that you're looking for, then please use the link below to raise a support ticket.
Contact Support

Related Articles