dailce
Forum Replies Created
-
I found the issue, seems that they are all being triggered. I’m using Bricksbuilder and checkoutwc. When I switch to default theme, only the selected one is showing… I will have to trouble shoot what’s going on.
SOLVED. Had a piece of code that was causing the issue. Thanks for the quick responses, much appreciated!- This reply was modified 1 year, 2 months ago by dailce.
In the admin I have: “Credit Cards (Stripe) by Payment Plugins” Enabled.
API is in test mode also.
On the checkout page, all the payment methods are showing up. That is what I’m referring too? I just need Credit Cards enabled for testing…. so I wonder if they are all shown by default when test is enabled?
Thanks for the quick replies! Awesome!Great thanks! Another question is it normal for Sandbox/Test mode to show all the payment methods?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Bricksbuilder AJAX Search and RelevanssiSmall update, but I’ve been testing this version and it’s all working great now. The relevanssi ajax search bar results match the results using the bricks search filter. Only need to remove the relevanssi_prevent_default_request.
add_filter( 'bricks/posts/query_vars', function( $query_vars, $settings, $element_id ) {
if ( $element_id === '56f380' ) { //the brick query loop element
remove_filter( 'posts_request', 'relevanssi_prevent_default_request' ); //interferese with bricks search filter parameter
//remove_filter( 'posts_pre_query', 'relevanssi_query', 99 );
add_filter( 'relevanssi_orderby', function( $orderby ) { return 'menu_order'; } ); //should match bricks query menu order
add_filter( 'relevanssi_order', function( $order ) { return 'asc'; } );
$query_vars['relevanssi'] = true; //APPLY relevanssi to the bricks ajax search see: https://www.relevanssi.com/user-manual/using-relevanssi-outside-search-pages/
//print( '<pre>' . print_r( $query_vars, true ) . '</pre>' );
}
return $query_vars;
}, 10, 3 );}, 10, 3 );
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Bricksbuilder AJAX Search and RelevanssiAny way I can send you a copy for testing, just let me know how? I made this fix seems to be working:
add_filter( ‘bricks/posts/query_vars’, function( $query_vars, $settings, $element_id ) {
if ( $element_id === ’56f380′ ) { //the brick query loop elementadd_filter( 'bricks/posts/query_vars', function( $query_vars, $settings, $element_id ) {
if ( $element_id === '56f380' ) {
remove_filter( 'posts_request', 'relevanssi_prevent_default_request' );
remove_filter( 'posts_pre_query', 'relevanssi_query', 99 );
//print( '<pre>' . print_r( $query_vars, true ) . '</pre>' );
}
return $query_vars;
}, 10, 3 );}, 10, 3 );
- This reply was modified 1 year, 3 months ago by dailce.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Bricksbuilder AJAX Search and RelevanssiI did testing. If I keep my bricks URL search FILTER parameter as “s” it works. but the bricks options says “Define a unique, more readable URL parameter name for this filter.” I’m not sure is there a way to define a unique bricks parameter here and then do I try to update the “s” in WP? Or is there some other filter that can be used?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] No Search Results – Query OffForum: Plugins
In reply to: [WooCommerce] Order Edit Page: How to Add Negative Fees?So I found a workaround… unless there is a better way. Currently if you enter a negative value for the fee the totals are calculated correctly but the negative fee doesn’t’ show on the totals (the total line items).
I added the following function which will add a line items showing the negative amount. Tested and seems to work well for me.
add_action('woocommerce_admin_order_totals_after_tax', 'custom_admin_order_totals_after_tax', 10, 1 ); function custom_admin_order_totals_after_tax( $order_id ) { global $woocommerce; $order = wc_get_order( $order_id ); $fee_items = $order->get_fees(); // Get fees //SEE WC_Order_Item_Fee FOR FUCNTIONS YOU CAN USE //https://woocommerce.github.io/code-reference/classes/WC-Order-Item-Fee.html // Here set your data and calculations $label = ''; $value = ''; foreach ( $fee_items as $item_id => $item ) { if( $item->get_total() < 0 ) { ?> <tr> <td class="label"><?php echo $item->get_name(); ?>:</td> <td width="1%"></td> <td class="custom-total"><?php echo wc_price($item->get_total() + $item->get_total_tax() ); ?></td> </tr> <?php } } }Forum: Plugins
In reply to: [Meta Box] Product Categories Meta?I tried the above to add meta boxes to Woocommerce product categories but no luck…. is it possible?
Forum: Plugins
In reply to: [WooCommerce] wp_woocommerce_session_activity vs wp_woocommerce_sessionsThere isn’t a “Clear All” button…. but what is the wp_woocommerce_session_activity table for? I cleared sessions and trainsients and expired transients. But wp_woocommerce_session_activity is still full. Wonder if this large table affects performance at all.
Forum: Plugins
In reply to: [WooCommerce] Anaytics Menu Missing from AdminFixed. I found another plugin that was using add_submenu_page option and that was causing Analytics menu to be bumped out.
Forum: Plugins
In reply to: [WooCommerce] Anaytics Menu Missing from AdminSorry – got side tracked. I don’t have that side menu in my woo-commerce install.
I have the same issue using the latest version.
I downgraded to Version 1.19 and it works.
Latest version of WOO.- This reply was modified 5 years, 4 months ago by dailce.
I just made a ticket. Also seeing this error now…
Errors:
2020-10-26 12:43:55: Error occurred while updating SpamFireWall local base. Error: SERVER_ERROR NO: 10 MSG: Calls limit exceeded, method name 2s_blacklists_db().also just told your plugin is blocking the woocommerce app (phone app that gets order info). Was also on chat with shipstation they gave me the ip’s, I entered them under “SpamFireWall” they show up with a /32 at the end. But Shipstation is still blocked. When I deactivate your plugin shipstation connects.