johannestranan
Forum Replies Created
-
Forum: Plugins
In reply to: [Gift Wrapper for WooCommerce] Undefined Errors, Buttons missing textI’m trying to set up the plugin for my site but can’t get the buttons to work. They display no text and it doesn’t seem to be a css issue, because the source code shows no text either. My site has a different language, but I also tried adding a translation to Cancel using Loco translate, but no change. Also, if I don’t change the prompt text using the hooks, no “Add gift wrap?” text is displayed either. Is there a filter hook for the button text?
Forum: Plugins
In reply to: [Order Weight for WooCommerce] WooCommerce Customer/Order/Coupon ExportSorry, I now noticed that the column is added automatically.
Thank you for your swift reply. I understand 1 and 3. Sorry for being a bit unclear about 2.
In the config process of the plugin, in step three, before the initial sync, there are fields for a standard e-mail, but it’s unclear to me when this e-mail is sent out. Is it a confirmation e-mail that will be sent out to those who opt-in, or will it be sent to everyone in the audience after sync?
I hope you understand my question.
Best,
JohannesI need help with this, too. I’ve edited the three templates as suggested and I now get the admin alert when a customer has entered an e-mail address, but when I re-stock the product, no e-mail is sent.
I get the following debug message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Kadence_Woomail_Designer::add_email_header(), 1 passed in /home/NNN/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/NNN/public_html/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php:538 Stack trace: #0 /home/NNN/public_html/wp-includes/class-wp-hook.php(286): Kadence_Woomail_Designer->add_email_header(‘A product…’) #1 /home/NNN/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/NNN/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/NNN/public_html/wp-content/themes/cheerup-child/woocommerce/emails/stock_alert_email.php(13): do_action(‘woocommerce_ema…’, ‘A product…’) #4 /home/NNN/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include(‘/home/NNN/…’) #5 /home/NNN/public_html/wp-content/plugins/woocommerce-product- in /home/NNN/public_html/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php on line 538
Any suggestions how to solve this?
Best,
JohannesForum: Plugins
In reply to: [WooCommerce] Shortcode only partially workingHi,
I’m dealing with the same issue, perhaps you could help me?I have a snippet to change the default sort order for woocommerce products, which I would like to keep. However, for the [products] shortcode, there are times when I would like to change the order from DESC to ASC.
This is the snippet I use:
add_filter('woocommerce_get_catalog_ordering_args', 'am_woocommerce_catalog_orderby'); function am_woocommerce_catalog_orderby( $args ) { $args['order'] = 'DESC'; } $args['orderby'] = 'meta_value_num'; return $args; }
For a certain shortcode, I would like to be able to change the order to ASC. It could probably be done with a if argument, but I’m not sure how to do it.
Example shortcode:
[products columns="6" limit="6" category="forthcoming" orderby="date" order="ASC" class="nyabocker-startsidan"]
Any help would be appreciated!
Johannes