Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Clicking Magnify icon results in content cannot be loaded.
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Clicking Magnify icon results in content cannot be loaded.

Clicking Magnify icon results in content cannot be loaded. 7 years, 3 months ago #31088

On my site, www.groomersbest.com, when a user hovers over an item and the magifying lens icon appears, when clicked on, it says "The requested content cannot be loaded.
Please try again later." How can this be fixed?

Re: Clicking Magnify icon results in content cannot be loaded. 7 years, 3 months ago #31197

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear jlstaples,

Please go to file: wp-content\plugins\sw_woocommerce\includes\woocommerce-hook.php And change code:
$yith_compare = new YITH_Woocompare_Frontend();
add_shortcode( 'yith_compare_button', array( $yith_compare , 'compare_button_sc' ) );
$html .= do_shortcode( "[yith_compare_button]" );

CHANGE TO=>

$html .= '<div class="compare-button"><a href="javascript:void(0)" class="compare button" data-product_id="'. $product_id .'" rel="nofollow">'. esc_html__( 'Compare', 'furnicom' ) .'</a></div>';

Thanks!

Re: Clicking Magnify icon results in content cannot be loaded. 7 years, 3 months ago #31233

I do not have the woocommerce-hook.php file in my wp-content\plugins\sw_woocommerce\includes folder. There are two folders sw-widgets and themes. There is one php file named sw-widgets.php. Please advise.

Re: Clicking Magnify icon results in content cannot be loaded. 7 years, 3 months ago #31257

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear sir,

Please check file also wp-content\themes\shoppystore\libs\woocommerce-hook.php

Thanks & regards!

Re: Clicking Magnify icon results in content cannot be loaded. 7 years, 3 months ago #31275

I did find woocommerce-hook.php in the shoppystore\lib directory. But the line of code you want me to change does not exist in this file. Please advise.

Re: Clicking Magnify icon results in content cannot be loaded. 7 years, 3 months ago #31284

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear sir,

Because you updated woocommerce to new version, it made this issue.
Please update SW Shoppystore, SW Core and SW Woocommerce also.

Thanks & regards!
  • Page:
  • 1
  • 2
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.
Banner

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes