Ron Troyer
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Uninstall of w3 Total Cache Crashes whole WP siteWillie Jackson- Thanks for that info on editing the wp-config and htaccess files! My site was not down but I was receiving these errors and those edits removed the errors.
Warning: include(/home/“name”/public_html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/bank/public_html/wp-settings.php on line 65
Warning: include(): Failed opening ‘/home/bank/public_html/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/“name”/public_html/wp-settings.php on line 65
Forum: Plugins
In reply to: [WooCommerce] Showing quantity with add_to_cart shortcodeForum: Plugins
In reply to: [WooCommerce] Showing quantity with add_to_cart shortcodeHi ouverz,
No I didn’t have the problem of all the product variations showing. Sorry I can’t help you.Forum: Plugins
In reply to: [WooCommerce] Showing quantity with add_to_cart shortcodeAfter editing the add-to-cart.php I then inserted the woo short code for: Product price/basket button in a post, page or product. That is all.
The other thing I did since then was save the edited php file in my theme folder: themefolder/woocommerce/loop/
this will overide the original add-to-cart.php file which can remain unedited om the woocommerce plugins folder.Hope that helps
Forum: Plugins
In reply to: [WooCommerce] Showing quantity with add_to_cart shortcodeI found this solution:
Override loop template and show quantities next to add to cart buttons.It worked for simple products but not for variable products – the variables still show up without quantity options.
Note that I pasted the code into add-to-cart.php replacing all the existing code. I backed up the original first!I found add-tocart.php in plugins/woocommerce/templates/loops/
After doing the above I was able to reinsert the short code for add to cart… and the result was that quantities showed next to theadd-to-cart button!
Forum: Plugins
In reply to: [WooCommerce] Shortcode for Quantityjebernier – I would like the same short code – add the Quantity along with add-to-cart.
Forum: Plugins
In reply to: [WooCommerce] Showing quantity with add_to_cart shortcodeI am also looking for a solution to this – there MUST be an answer to this
Forum: Plugins
In reply to: [WooCommerce] WooCommerce – Cannot add a Variable Product to Grouped ProductJames – thank you confirming that. I’ll have to live with it!
Forum: Plugins
In reply to: [WooCommerce] Hide PricesHi
Like Brad I would like to hide ALL pricing – even when the user is logged in. The shopping cart would still function as an ordering tool but billed or quoted per other means.So I still want the add to cart button to be usable.
Does anyone know how I could modify this code from bheadrick?
I do not need the “Login or Register to see price”add_filter('woocommerce_get_price_html','members_only_price'); function members_only_price($price){ if(is_user_logged_in() ){ return $price; } else return '<a href="' .get_permalink(woocommerce_get_page_id('myaccount')). '">Login</a> or <a href="'.site_url('/wp-login.php?action=register&redirect_to=' . get_permalink()).'">Register</a> to see price!'; }
Forum: Plugins
In reply to: [Edge Suite] Activation error after installation of Edge Suite PluginNo not a multisite (from what I understand a multisite to be). It is a WP installation set up on a subdomain of another site for development purposes until we can move it to its own domain.
Forum: Plugins
In reply to: [Edge Suite] Activation error after installation of Edge Suite PluginOK
deleted line 87 to 93 first (the option block),
tried activation and received this error:The plugin generated 226 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
THEN: without restoring lines 87 to 93 also deleted the line: mkdir_recursive(trailingslashit(EDGE_SUITE_PUBLIC_DIR));
RESULT: Plugin activated.
Forum: Plugins
In reply to: [Edge Suite] Activation error after installation of Edge Suite Pluginreverted your edge-suite.php file to what I uploaded yesterday.
then deleted line 99.
Deactivated and Reactivated in WordPress and got NO ERRORS!(And yes I can activate other plugins not problem)
Forum: Plugins
In reply to: [Edge Suite] Activation error after installation of Edge Suite PluginYes to your last question – the ‘edge_Suite” folder was created. AND inside that are three folders. The ‘project folder’ and I just noticed two others: ‘tmp’ and ‘edge_tmp’
in the ‘tmp’ foledre are several .oam files I tried to upload!To your previous comments:
I deactivated the plugin and changed line 64 of edge-suite.php code to: // global $wpdb;
and upon attempting to activate received the following error message:
Plugin could not be activated because it triggered a fatal error.Notice: Undefined variable: wpdb in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 65
Notice: Trying to get property of non-object in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 65
Notice: Undefined variable: wpdb in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 66
Fatal error: Call to a member function get_var() on a non-object in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 66
——
Then I deleted lines 64 -84 of edge-suite.php code
and upon attempting to activate received this error message:The plugin generated 226 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
————-Forum: Plugins
In reply to: [Edge Suite] Activation error after installation of Edge Suite Pluginti2m
this just now came up – if this helps you! when loading the home page:Notice: Trying to get property of non-object in /home/SITE/wp-content/plugins/edge-suite/edge-suite.php on line 178
Forum: Plugins
In reply to: [Edge Suite] Activation error after installation of Edge Suite PluginI have the debug set to true – although I didn’t know that I did – I am picking up an unfinished project someone else started ?? Good to know!
permissions for the wp-content, uploads and edge_suite directories are set to 777.
Regarding your comment on the DB user – I will check in to that possibility – though I am not sure what I’ll be looking for.
And regarding the “Zip” error message: that means I am not able to use the plug-in at all?
Thank you again