bjornroiverhogen
Forum Replies Created
-
Forum: Plugins
In reply to: [Booster for WooCommerce] Wholesale discounts label for variable productsAnyone?
Forum: Plugins
In reply to: [Business Hours Indicator] Opening soon message not showing@maartenbelmans apologies:
On sidenote I just noticed that the title for the popup all show “Edit holidays…”
No holiday is set until christmas nor are any vacations added- This reply was modified 1 year, 4 months ago by bjornroiverhogen.
- This reply was modified 1 year, 4 months ago by bjornroiverhogen.
Forum: Plugins
In reply to: [Business Hours Indicator] Opening soon message not showingI provided them as screenshot in the edit of my initial post. Both the settings and the shortcode. For shortcode I initially did not add the openingsoonmessage parameter, but when it did not work I tried it with the parameter instead.
The <div> is solely for CSS (text-styling and use of psuedo’s). Perhaps targeting is not working due to it now being a child of <div>? Then again, that could be the case with any HTML added.Forum: Plugins
In reply to: [Business Hours Indicator] Opening soon message not showing@maartenbelmans
Thanks for the swift response.
No the website does not (yet) have any caching from any source as it is still in development. Thus also no asset-optimization or compressing/minification of any scripts or files which could block functionality.- This reply was modified 1 year, 4 months ago by bjornroiverhogen.
Forum: Plugins
In reply to: [Booster for WooCommerce] Product attributes no longer show in mail or PDFWe made a custom function to get it to work.
function add_product_info_to_email_order_item_name( $item_name, $item ) { if ( $item['product_id'] ) { $product = wc_get_product( $item['product_id'] ); $category = wp_get_post_terms( $product->get_id(), 'product_cat' )[0]->name; $attributes = $product->get_attributes(); $attribute_string = ""; foreach ( $attributes as $attribute ) { $attribute_string .= wc_attribute_label( $attribute->get_name() ) . ': ' . $attribute->get_options()[0].' <br/> '; } $item_name .= '<br/>' . $category . '<br/>' . rtrim($attribute_string, " , "); } return $item_name; } add_filter( 'woocommerce_order_item_name', 'add_product_info_to_email_order_item_name', 10, 2 );
Forum: Plugins
In reply to: [Booster for WooCommerce] Product attributes no longer show in mail or PDFThe item_variation did not work for us. The product is not a variable product but the attributes are important to the supplier.
If the email settings can work we do not need the PDF though. I just activated the PDF to test if I could get it to work through there.
Unfortunately I don’t get attributes shown in neither the email settings nor the PDF. It has always worked up until Woo 7.0 and Booster 5.6. Not sure what changed.
Hopefully it is fixable.
Forum: Plugins
In reply to: [WP Fastest Cache] .htaccess broken upon activationHi Emre,
Apologies for the delayed reply.Yes, the redirect works when WPFC is disabled. Allthough after activation the redirect keeps working.
Thanks for your time and support. I’ll mark as resolved but would like to see the .htaccess quote misplacement fixed.
Thank you!
Forum: Plugins
In reply to: [WP Fastest Cache] .htaccess broken upon activationSeveso:
Chrome – Redirect
Edge – No redirect
Firefox – RedirectForum: Plugins
In reply to: [WP Fastest Cache] .htaccess broken upon activationHi Emre,
Thank for the reply.Yes it is when I use my usual browser. But when I’m on Edge (cacheless) it no longer redirects to www.
I tested it for another website as well but there it did redirect so I’m unsure how this happens. The .htaccess appears to add a quote, also on the other site’s .htaccess. Now half my .htaccess is considered a string?
- This reply was modified 3 years, 2 months ago by bjornroiverhogen.
Hi David,
I was able to fix this.
Sure I will have to keep a note that for each update I need to check it once more but it’s a price I’m willing to pay.Inside class-wcj-shortcodes-order-items.php (line 564) case item_product_input_felds_with_titles I replaced the ‘, ‘ with ‘<br/>’
Hi @gravid7 ,
Thanks for your reply.
To show title and values in vertical format will suffice.
Below is a link of how I had it in mind. It would just require a line break after each value instead of a ‘,’.https://gyazo.com/8ed8201147aaf662541e46499d938bd6
I hope this gives a better idea visually.
Forum: Plugins
In reply to: [Contact Form 7] Form not sending, please just rollback@markob17 Perhaps it is as you say and sounds like a legit issue. But then, what bothers me; why ask on every post with the same issue for a plugin/theme conflict check? Why not just mention that they’re working on a fix or that it is out of their control for now untill WP’s new release? I have not checked for the WP_mail functionality and I’m fairly certain I use exclussively CF7 but for 1 site. I will check for that odd-duckling and see if it has the same issue. To be continued!
Forum: Plugins
In reply to: [Contact Form 7] Form not sending, please just rollback@markob17 My thought would be async loading of scripts as the new version of CF7 works for me when using
define('wpcf7_load_js' false)
in wp-config. Downside is that I would need to install redirect plugin for CF7 and create a thank-you-page for all installations. Also I feel like this solution would be error-sensitive as I think it skips scripts by CF7 alltogether.Forum: Plugins
In reply to: [Contact Form 7] Form not sending, please just rollback@markob17 Thanks for backing up the story.
I’m currently having your issue for only 1 site where it was reCaptcha. Disabling reCaptcha fixed the problem and I installed Honeypot to keep the spam to a minimum which seems to be working great so far.
Not sure why this is as it’s only for 1 site. I believe it has something to do with a script conflict with maps but as this is working for me I haven’t dug deep. Perhaps this is helpful.Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] wpgmp_local unexpected identifierTurns out this is not the same as the plugin im using. My bad