이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Disable Cart Fragments by Optimocha

설명

Disable Cart Fragments is a lightweight plugin which effectively speeds up your WooCommerce website by disabling the cart fragments script. It also enqueues the script back when the cart is not empty anymore; so it only works while the cart is empty.

Why is disabling cart fragments important?

WooCommerce makes an AJAX request to check your cart and update your cart totals in wherever your theme shows cart contents (like the header menu). This AJAX call is made to override caching plugins, which is good, but it generally takes time.

How does Disable Cart Fragments solve the issue?

With our plugin, you have the best of both worlds: You keep using the caching plugin and you still get to update the cart totals when the cart is not empty. This check is made via WooCommerce cart cookies, so it still employs JavaScript but doesn’t rely on slow AJAX requests. The check is made instantly, whether you’re using a caching plugin or not. How cool is that?

WooCommerce Optimization Services

Feel free to reach out to us at Optimocha.com and let us help you optimize your WooCommerce website!

Main plugin features

  • Disables WooCommerce cart fragments.
  • Checks the cart cookies and if it’s not empty, loads the cart fragments script so the cart totals are still updated.
  • Brings you joy. (WARNING: Might not bring joy in some rare cases.)

설치

  1. Download the plugin (.zip file) on your hard drive.
  2. Unzip the zip file contents.
  3. Upload the disable-cart-fragments folder to the /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.
  5. When activated, it will start working. There’s no settings page, simply activate and use.

후기

2023년 6월 26일 답글 1개
Updated my review from 1 to 3 stars as author replied here and presumably allowed the notice to be dismissed (I’ve replaced the plugin so I cannot verify). This plugin advertises speed optimization services via an admin notification but unfortunately it is dismissible for administrator level accounts but not for shop manager accounts. Either an unfortunate bug or intentionally advertising to less privileged user accounts. Either way, we replaced this plugin with one that doesn’t do this.
2023년 4월 21일 답글 1개
Fantastic and magical plugin. It should be merged as an option in the WooCommerce settings itself
2022년 9월 19일 답글 2개
Probably the best free plugin for any WooCommerce site! Thank you so much 🙂
모든 16 평가 읽기

기여자 & 개발자

“Disable Cart Fragments by Optimocha”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Disable Cart Fragments by Optimocha”(이)가 5 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Disable Cart Fragments by Optimocha”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.3

  • Tested and ensured compatibility with WordPress 6.2 and WooCommerce 7.8.0.
  • Fixed an issue: Store managers were unable to dismiss the notices.

2.2

  • Tested and ensured compatibility with PHP 8.1, WordPress 6.1.1 and WooCommerce 7.3.0.
  • Added the necessary HPOS (High-Performance Order Storage) compatibility code.

2.1.1

  • Version bumps to ensure DCF is working with WordPress 6.0 and WooCommerce 6.5.1.

2.0

  • Turns out WordPress thinks v1.21 is “newer” than 1.4 – kind of makes sense; we should’ve made v1.21 as v1.2.1. Anyway, we’re releasing v2.0 which is the same as v1.4 but this will set the record straight and people using v1.21 will get updates this time.

1.4

  • Tested up to WordPress’s and WooCommerce’s latest versions.
  • Fixed non-dismissible notice.
  • New uninstall.php.

1.21

  • Forgot to change the version name in the PHP file… (sigh)

1.2

  • Tested with WooCommerce v4.0.1.
  • Changed dependancy of the cart fragments script from woommerce(.min).js to jquery.js.

1.01

  • Edited readme.txt to fix the info on the “Installation” section.
  • Branded the plugin with a nice little icon.

1.0

  • Initial release