tweakben
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyDrive] Fatal error: Allowed memory size exhaustedNo love no support from the plugin author. Deleted and removed.
Forum: Plugins
In reply to: [WooCommerce] Need quantity as dropdown<?php // Place the following code in your theme's functions.php file // override the quantity input with a dropdown function woocommerce_quantity_input() { global $product; $defaults = array( 'input_name' => 'quantity', 'input_value' => '1', 'max_value' => apply_filters( 'woocommerce_quantity_input_max', '', $product ), 'min_value' => apply_filters( 'woocommerce_quantity_input_min', '', $product ), 'step' => apply_filters( 'woocommerce_quantity_input_step', '1', $product ), 'style' => apply_filters( 'woocommerce_quantity_style', 'float:left; margin-right:10px;', $product ) ); if ( ! empty( $defaults['min_value'] ) ) $min = $defaults['min_value']; else $min = 1; if ( ! empty( $defaults['max_value'] ) ) $max = $defaults['max_value']; else $max = 20; if ( ! empty( $defaults['step'] ) ) $step = $defaults['step']; else $step = 1; $options = ''; for ( $count = $min; $count <= $max; $count = $count+$step ) { $options .= '<option value="' . $count . '">' . $count . '</option>'; } echo '<div class="quantity_select" style="' . $defaults['style'] . '"><select name="' . esc_attr( $defaults['input_name'] ) . '" title="' . _x( 'Qty', 'Product quantity input tooltip', 'woocommerce' ) . '" class="qty">' . $options . '</select></div>'; } ?>Forum: Plugins
In reply to: [WooCommerce] Use an URL to display the product image ?No.
But you can use “Add From Server” to mass import existing images. The images have to be in WordPress’ Media Library for Woo to be able to use them.
Forum: Plugins
In reply to: [WooCommerce] Mike Jolly!!! Pls Answer Qs as Plugin Author!!!!The theme authors had PLENTY of time to beta test WooCommerce as its being developed on github.
They are just lazy theme developers. All good theme developers stay on top of their support and their integrations. All lazy ones do not.
You should be complaining to your theme developer and plugin developers, not to WooCommerce or Mike. Remember, YOU can test the WooCommerce new versions locally yourself first to make sure there are no problems. Upgrading with one click to “hope” it all works out is just poor planing and poor store management on your part.
Food for thought.
Forum: Plugins
In reply to: [WooCommerce] woocommerce site crashReally easy way, actually.
1.) Install JetPack (free)
2.) Go to the JetPack settings and enable “Photon”.
3.) Profit!
Photon is a FREE CDN for images. It hosts all your images automatically on WordPress’ servers with multiple subdomains so they load incredibly fast. Soon as you publish a new product, and someone views the product, the images are copied to the Photon servers and from then on you no longer serve the images yourself, WordPress does for you. And with their automatic use of 3 or 4 subdomains for the images, they load very fast because of no parallel transfer limitations.
When you first enable Photon, your web server might slow to a crawl for 10-15 minutes for 15,000 images to be copied, but after that it’ll be just fine. Expect it, it’s normal for that much data.
The only JetPack options I leave enabled are Photon for this purpose, their stats, and the Publicize feature. You can disable the rest of the ones enabled by default if you wont need them.
Enjoy your free fix and let me know if you have any questions.
Ben
This is why you test the updates on a non-live server. People never learn.
Forum: Plugins
In reply to: [WooCommerce] Currency not showing in plain text emailsGo to the emails options in WC and click the button to copy the template to your theme folder. Then just edit the template and add it in manually. Easy quick fix.
Forum: Plugins
In reply to: [WooCommerce] Display 5 or more products per rowI wouldnt do it even if you could (and you can).
Think about your mobile and tablet customers that dont have 22 inch monitors.
Forum: Plugins
In reply to: [WooCommerce] Is Woo right for me?My sales are three times yours, with about ten times more products. WooCommerce is perfect. You’ll be just fine.
Our dedicated server is a 8 core system with 16GB of memory with a SATA hard drive – no raid. Handles about 200 pageviews per minute just fine.
For importing your existing products, I’d strongly recommend WooCommerce’s product import plugin they sell. It’ll save you a ton of time.
Good luck.
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Adding Woocommerce Product MetaPS — To find out the meta tags, just right click and “Inspect Element” in Chrome to see the meta key for any field while in wp-admin. Easy stuff!
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Adding Woocommerce Product MetaNo, that’s not correct. _price is no longer used as of WC 2.1.
Only:
_regular_price
…and
_sale_price
Forum: Plugins
In reply to: [WooCommerce] Woocommerce 2.0 to 2.1. Is it really possible?The problems are mostly when theme developers bundle their own woocommerce templates into their own theme, then dont update them when new WC comes out. Check your ./themes/yourtheme/woocommerce folder. Do you have a ton of php files in there? If so, update them accordingly from your theme developer. If not, it’ll be a painless upgrade. I run four sites with WooCommerce.
Looks like registration was a success, just got that error message, and had to “reset” the password in order to login.
I tried to register @ usersultra.com and when registering I get this error code:
Fatal error: Call to a member function user_account_status() on a non-object in /home/userltr/public_html/support/wp-content/plugins/users-ultra/xooclasses/xoo.userultra.register.php on line 136
Oops! 🙂
Forum: Plugins
In reply to: [BuddyDrive] Fatal error: Allowed memory size exhaustedIt’s nothing conflicting with a plugin or a theme, as the download begins to serve but serves an error message encoded within the actual file being downloaded. It has to do with the way php’s readfile is being used on line 193 of the code.
readfile() will not present any memory issues, even when sending large files, on its own. It might be a problem with the ob_get_level().
I know your trying to help, but back to what I asked you originally, not to clutter the thread with misguided general checklists, and to allow the plugin author who has devoted many hours to writing and using this plugin to reply to the errors generated by the plugins syntax. 😉