Title: yitwail's Replies - page 5 | WordPress.org

---

# yitwail

  [  ](https://wordpress.org/support/users/yitwail/)

 *   [Profile](https://wordpress.org/support/users/yitwail/)
 *   [Topics Started](https://wordpress.org/support/users/yitwail/topics/)
 *   [Replies Created](https://wordpress.org/support/users/yitwail/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/yitwail/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/yitwail/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/yitwail/engagements/)
 *   [Favorites](https://wordpress.org/support/users/yitwail/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 61 through 75 (of 77 total)

[←](https://wordpress.org/support/users/yitwail/replies/page/4/?output_format=md)
[1](https://wordpress.org/support/users/yitwail/replies/?output_format=md) [2](https://wordpress.org/support/users/yitwail/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/yitwail/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/yitwail/replies/page/4/?output_format=md)
5 [6](https://wordpress.org/support/users/yitwail/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/yitwail/replies/page/6/?output_format=md)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WooCommerce] Cart widget incompatible with super cache](https://wordpress.org/support/topic/cart-widget-incompatible-with-super-cache/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cart-widget-incompatible-with-super-cache/#post-7741186)
 * You’ve certainly reinforced my point that I’m not a Woocommerce developer. 🙂
 * Again, skimming the code, I had the impression you only saved sessions in DB 
   for logged in users.
 * I agree, if cart is loaded by ajax, it bypasses caching. But I have 2 concerns.
   One is cache compatibility, the other is performance, and it’s a clear negative
   performance impact if the php that’s invoked by the ajax post will require/include
   wp-load.php. Supposing you did this on a page that isn’t cached in the first 
   place–you would be including wp-load.php twice–once to display the page, then
   once more to load the cart.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WooCommerce] Cart widget incompatible with super cache](https://wordpress.org/support/topic/cart-widget-incompatible-with-super-cache/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cart-widget-incompatible-with-super-cache/#post-7741184)
 * Mike,
 * Thanks for taking interest in this. I’ve only skimmed your revised code but I’m
   pretty sure your approach is not what I had in mind. In woocommerce-ajax-handler.
   php, you have the following:
    `require_once( $parse_uri[0] . 'wp-load.php' );`
   Essentially, you’re loading wordpress core. This isn’t much different from running
   super cache with Late init enabled. The point of a cache plugin is not to load
   the core and thus reduce server load.
 * I found an article discouraging this practice here: [http://ottopress.com/2010/dont-include-wp-load-please/](http://ottopress.com/2010/dont-include-wp-load-please/)
   
   I’m sure there are others.
 * I’ve also experimented some with the cart widget, so I realize that $_SESSION[‘
   cart’] unfortunately doesn’t contain all the data needed by the cart widget. 
   Mainly, it lacks a WC_Product or WC_Product_Variation object for each product
   in the cart. So to do this the right way, in my opinion, your widget needs to
   be refactored so that this data can be retrieved without loading WP core. Maybe
   you can json_encode the product object and save it in the session variable — 
   I’m just brainstorming here, have no idea if the json_encode idea is practical.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WooCommerce] Cart widget incompatible with super cache](https://wordpress.org/support/topic/cart-widget-incompatible-with-super-cache/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/cart-widget-incompatible-with-super-cache/#post-7741182)
 * Mike,
 * If I had the time I might. I’m a web/wordpress developer, but not a woocommerce
   developer. It might take me a substantial length of time to learn the API well
   enough to do this without breaking anything.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] [Plugin: WooCommerce – excelling eCommerce] Please read before posting :)](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-please-read-before-posting-links-to-documentaion-and-other-resources/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-please-read-before-posting-links-to-documentaion-and-other-resources/page/2/#post-3009095)
 * I just wanted to say I’m disappointed that the woocommerce cart widget does not
   work when WP Super Cache is activated, even with the “Late init” setting, which
   is a last resort, because it makes the cache plugin almost useless. The WP E-
   commerce cart, to give an example, works perfectly in pages cached by Super Cache,
   by using an ajax call to update the widget whenever a page is displayed. Why 
   can’t woocommerce do this? I will go ahead and submit a feature request in the“
   ideas board” but I think this feature has already been requested. As things stand,
   this is a show stopper for me. I’m not willing to sacrifice site speed to accomodate
   the cart widget.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WP eCommerce] Abysmal quality](https://wordpress.org/support/topic/abysmal-quality/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/abysmal-quality/#post-7738125)
 * Since I was asked politely twice, I will oblige. But for the record, allow me
   to insert the code & the proposed fix here, since it consists of just one line,
   before following up at Github.
 * wpsc-widgets/shopping_cart_widget.php line 83 is:
    `<div class="wpsc_cart_loading"
   ><p><?php _e( 'Loading...', 'wpsc' ); ?></p>`
 * it should be:
    `<div class="wpsc_cart_loading"><p><?php _e( 'Loading...', 'wpsc');?
   ></p></div>`
 * This was causing the page footer to display in the middle of the page on a site
   I worked on. I traced it down after the page did not validate with the w3c validator.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WP eCommerce] Abysmal quality](https://wordpress.org/support/topic/abysmal-quality/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/abysmal-quality/#post-7738122)
 * Before then, you could submit issues to code.google.com. It so happens that in
   Aug. 2011, I submitted a request to modify code that was breaking a theme. Here’s
   the discussion (you may need to login to read it): [http://code.google.com/p/wp-e-commerce/issues/detail?id=564#c11](http://code.google.com/p/wp-e-commerce/issues/detail?id=564#c11)
 * I just checked the code in question–they still haven’t implemented my suggestion.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] template for rounded corners](https://wordpress.org/support/topic/plugin-nextgen-gallery-template-for-rounded-corners/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-template-for-rounded-corners/#post-2955697)
 * Justin, thanks for your css. works great!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Blocks (Custom Post Widget)] [Plugin: Custom Post Widget] paragraphs added by wpautop](https://wordpress.org/support/topic/plugin-custom-post-widget-paragraphs-added-by-wpautop/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-custom-post-widget-paragraphs-added-by-wpautop/#post-2415007)
 * that’s terrific! i’ll use it in my next project i’m sure. just the other day 
   i discovered texturize filter turning an html `<!-- comment -->` into gibberish.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPaudio MP3 Player] WPaudio JS quotation marks error in wp3.2](https://wordpress.org/support/topic/js-quotation-marks-error/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/js-quotation-marks-error/page/2/#post-2165317)
 * It worked for me as well, but the fact that this plugin was last updated 3.0.5
   and hasn’t been updated to fix the problem described here, and is described as
   only “Compatible up to: 3.0.5” is strong incentive to go with something else.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Using YARPP on pages](https://wordpress.org/support/topic/using-yarpp-on-pages/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/using-yarpp-on-pages/page/2/#post-2189838)
 * mister_r,
 * click on Screen Options at the top of the page, then check “Relatedness” options
   to get the “cross-relate posts and pages” option. This should be in the FAQs 
   or something.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding a custom field to all existing posts](https://wordpress.org/support/topic/adding-a-custom-feild-to-all-existing-posts/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/adding-a-custom-feild-to-all-existing-posts/#post-1630810)
 * ambrosite’s SQL worked pefectly. Sure beats adding 230 custom fields by hand.
   Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Cufon] font file not loaded](https://wordpress.org/support/topic/font-file-not-loaded/)
 *  Thread Starter [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/font-file-not-loaded/#post-2128959)
 * Solved my own problem by looking in the plugin code. The font I wanted to load
   looked like this:
    _Quicksand Book Regular_
 * to get plugin to load it, the font file had to be named this:
    Quicksand_Book_Regular.
   cufonfonts.js
 * maybe this will help someone in the same predicament.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fast Secure Contact Form] [Plugin: Fast Secure Contact Form] get rid of all of the inline styling?](https://wordpress.org/support/topic/plugin-fast-secure-contact-form-get-rid-of-all-of-the-inline-styling/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-fast-secure-contact-form-get-rid-of-all-of-the-inline-styling/#post-1817865)
 * This is an old topic, but I sort of found a work-around for eliminating inline
   styles. You can replace each with `class=''`. Of course, you can also supply 
   an actual class name when you want to style the element in question.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] .htaccess file](https://wordpress.org/support/topic/plugin-w3-total-cache-htaccess-file/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [16 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-htaccess-file/#post-1435430)
 * PS: Rewrite URL structure still won’t work, so I turned it off. It doesn’t concern
   me too much anyway.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: W3 Total Cache] .htaccess file](https://wordpress.org/support/topic/plugin-w3-total-cache-htaccess-file/)
 *  [yitwail](https://wordpress.org/support/users/yitwail/)
 * (@yitwail)
 * [16 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-htaccess-file/#post-1435429)
 * Frederick,
 * Thanks for the quick reply & a great plugin. The error is now gone. Should I 
   keep development version for now? Incidentally, I had turned off Rewrite URL 
   structure because css & js didn’t minify. I’ll trying turning it on, just in 
   case that’s been fixed as well.

Viewing 15 replies - 61 through 75 (of 77 total)

[←](https://wordpress.org/support/users/yitwail/replies/page/4/?output_format=md)
[1](https://wordpress.org/support/users/yitwail/replies/?output_format=md) [2](https://wordpress.org/support/users/yitwail/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/yitwail/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/yitwail/replies/page/4/?output_format=md)
5 [6](https://wordpress.org/support/users/yitwail/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/yitwail/replies/page/6/?output_format=md)