pictogram
Forum Replies Created
-
Hi,
I have a related issue, but exactly the opposite :
I have one parent category and 5 sub-categories.If I select the parent cat, nothing is displayed, but if I select on of the sub-cat, there it goes !!!
Is it possible to select parent cat and get all sub cat related product to be displayed ?
If not, is it possible to select more thant just one cat in settings ?Thanks
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] Default product tax status changeHere is a working code. Thanks to LoicTheAztec
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] Default product tax status changeHi,
+1. Same for me. Should be an option in WC for that.
If you happen to get some code to make tax status set to none by default without deactivating all tax module, that would be super.
Forum: Plugins
In reply to: [Code Snippets] Conflict btw CS and ElementorOK, here is a video explaining with more delails this issue.
https://drive.google.com/file/d/1nzhdA7X2XVadwlLKKLMZaOylTbb1KP6d/view?usp=sharing
Thanks for any help here.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Hide search box labelThanks for your quick reply,
I would suggest that you add some options for that in the settings. That would simply not need another plugin just for one or two words.
Thanks for your great work,
Hi,
I still have problem with WP Mail SMTP running aside Simple Calendar !!!
Running WP 4.9.8, WP Mail SMTP 1.3.3 and Simple Calendar 3.1.19 … all this running on PHP 7.1
Thanks for your support
Forum: Plugins
In reply to: [WooCommerce Advanced Free Shipping] Conditional hidingExactly what I was looking for.
Thanks a lot,
Forum: Plugins
In reply to: [Related Products for WooCommerce] Plugin does not work anymore ?Ah !!!
My client did check the catalog visibility to hidden in the edit product page.
All set now ! Thanks for your support
Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Thanks aecorn
I’m giving up. This plugin is too risky for live environment.
Thanks for all your support and follow-up.Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Hi aecorn,
Thanks for support and sorry for the delay to give some feedback.
I did try your latest variation of the function but it returns with a fatal error
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (25 octobre 2017 15:47) at position 6 (o): The timezone could not be found in the database in /home/user/public_html/capricesdelectables.com/wp-content/themes/yolo-rubino-child/functions.php:116 Stack trace: #0 /home/user/public_html/capricesdelectables.com/wp-content/themes/yolo-rubino-child/functions.php(116): DateTime->__construct('25 octobre 2017...') #1 /home/user/public_html/capricesdelectables.com/wp-includes/class-wp-hook.php(298): aecorn_fix_hide_add_to_cart('') #2 /home/user/public_html/capricesdelectables.com/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #3 /home/user/public_html/capricesdelectables.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/user/public_html/capricesdelectables.com/wp-content/plugins/woocommerce/includes/wc-template-functions.php(992): do_action('woocommerce_var...') #5 /home/user/public_html/capricesdelectables.com/wp-content/plugi in /home/user/public_html/capricesdelectables.com/wp-content/themes/yolo-rubino-child/functions.php on line 116
I’m not really a PHP specialist and this issue gives me the taste of what I should learn next ?? .
I can’t find what would be the problem here. I did look in ” hide-add-to-cart-button.php ” and the reference to
$set_time = $st_dt->format('Y-m-d H:i:s');
seems identical.You mention about the name of the function ! Should I rename it ? In that case, can I just pick any name ?
Thanks again for your interest in my issue. Really appreciated
Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Hi aecorn,
Are you this plugin’s dev ? Thanks for your support.
No, I don’t use a specific WC variation plugin on this project. But I use the Rubino theme which, I think, customized a lot the user experience of WC. Maybe that’s one cause of this issue !!
As mentionned before, my client needs a solution as user friendly as possible. So no, I can’t offer her to work with pasting code all around. That’s why I’m looking for a solution that would let her schedule some of her products to disable Add to Cart button on specified date and time.
I did try your last piece of code and it works … almost !!
The show/hide dropdown makes the product show or hide accordingly.
But the expiration date/time is not working. That functionality would be my deal.Thanks for your support, Really appreciated
Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Thanks aecorn,
Your CSS snippet do work by adding it to single product description. I did modified it a little bit to :
<style> div.woocommerce-variation-add-to-cart { display: none; }</style>
to hide only the Qty field and Add to Cart button. The rest should stay visible.But when I add this css slector to your function, it does not work. Here is the function including what I want to be hidden :
add_action( 'woocommerce_single_product_summary','aecorn_fix_hide_add_to_cart',11); function aecorn_fix_hide_add_to_cart(){ if (is_product()) { global $product; $show_hide_option = get_post_meta( $product->get_id(), 'woo_disable_add_to_cart_checkbox', 'false' ); if($show_hide_option == 'disable_button'){ echo '<style> div.woocommerce-variation-add-to-cart{display:none !important}</style>'; } } }
It seems to me that everything is correct, even in the plugin’s settings for this product on edit page. See https://1drv.ms/i/s!Ai6-reACWWLHgaFVNPjjQolJ-oPrOg
What am I missing ??
Phewww ! That was suppose to be a simple plugin stuff !!!
Thanks
Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Hi Aecorn,
For the sake of this plugin, I did re-enabled it, re-added the snippet you provided above in function.php and added your CSS snippet. I did try switching from my custom theme to 2017.
Nothing happens !!!!
The website of my client is still in development but is reachable at : https://alexgauvin.com/capricesdelectables.com
I’m actually trying to make the plugin work for one product, which is : https://alexgauvin.com/capricesdelectables.com/produit/lasagne-au-saumon/
Thanks
Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Hi Aecorn,
Thanks for taking time to answer me.Neither of your code snippets will make this plugin work. I tried changing time, toggle Hide or show. It just doesn’t work.
I’m using variations for my products.
Actually the need of my client, who managed a food catering with delivery to customers, is to be able to aotamtically disabled the capacity for some product, at a certain time, to be buyable but still visible.
I’ve been looking everywhere for this specific functionaly without success. The closest thing I found for this is this plugin and Helios Solutions WooCommerce hide price and add to cart button.
But neither works at all !!!
Thanks anyway
Forum: Plugins
In reply to: [Woocommerce Hide Add To Cart Button] Still working?Can’t make this plugin to work !!
No matter what I do, the Add to cart button is still visible.