AJD
Forum Replies Created
-
Okay thanks
I figured it out, it seems that COD orders are handled differently so this works:
add_filter( 'woocommerce_cod_process_payment_order_status', 'change_cod_payment_order_status', 10, 2 ); function change_cod_payment_order_status( $order_status, $order ) { return 'completed'; }
It looks like the setting for event single template doesn’t retroactively apply that template to previous events, but it does become the default for events created after. Since we are just getting started this will work.
@chuchy10 Thanks, that does fix it.
Thanks.
I get warnings when I create an event but fatal errors when deleting in php 8.1.10 and 8.0.23.
- This reply was modified 2 years, 1 month ago by AJD.
I was able to resolve the multiple languages being shown in the dropdown by modifying the code snippet for the custom search attribute. But there remains the issue of the search not working and the category dropdown open by default.
Okay, thank you. I was trying to use the Quadmenu search form but it wasn’t working (I’ll reopen a new ticket if I need help on that.) so was looking to hook a different search form. I may have found a solution instead of using the Quadmenu search, using a custom search form in a megamenu.
Thanks.
Hello,
Here’s a screenshot:
https://www.webpagescreenshot.info/#v2=IodnDJQTn
for example:
add_action(‘quadmenu_responsive_after’, ‘my_hook’);
Thank you
Thanks!
For some reason I couldn’t get that snippet to work, even changing the placeholder but it put me on the right track and I got it to work like this:add_filter( 'relevanssi_search_form', function( $form ) { $posttype1 = 'FAQ'; $posttype2 = 'product'; if ( strpos( $form, $posttype1 ) !== false) { $form = str_replace( 'placeholder="Search this website', 'placeholder="Search FAQs', $form ); } if ( strpos( $form, $posttype2 ) !== false) { $form = str_replace( 'placeholder="Search this website', 'placeholder="Search the shop', $form ); } return $form; } );
Thank you, that is working perfectly.
Hello,
Any update on this functionality?Thanks, this or another way to manage unused locations would be great. The underlying issue that we need to address is that locations without events still show up on the events location drop down, country. So if there was an event, but then it passed and was deleted for New Zealand, New Zealand still shows up in the events country drop down.
Okay thanks. I was hoping there was a way within Events Manager, which seems like a good idea, even a column in the locations admin page which would show which locations have events and which do not…
I’m not sure I understand. How to identify which locations do not have any events attached to them?
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI is causing duplicate comment submission to displayHi, sorry I missed your comment above.
The comment system is upgraded with Woocommerce Photo Reviews Premium, it doesn’t use a widget or shortcode, but it modifies the comment/review system for products with photos and other features.