Title: Ramon Ahnert's Replies | WordPress.org

---

# Ramon Ahnert

  [  ](https://wordpress.org/support/users/rahmohn/)

 *   [Profile](https://wordpress.org/support/users/rahmohn/)
 *   [Topics Started](https://wordpress.org/support/users/rahmohn/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rahmohn/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rahmohn/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rahmohn/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rahmohn/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rahmohn/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 96 total)

1 [2](https://wordpress.org/support/users/rahmohn/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/rahmohn/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/rahmohn/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/rahmohn/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/rahmohn/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/rahmohn/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Orderable - Restaurant & Food Ordering System] Order time restriction does not work with the block checkout](https://wordpress.org/support/topic/order-time-restriction-does-not-work-with-the-block-checkout/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [10 months ago](https://wordpress.org/support/topic/order-time-restriction-does-not-work-with-the-block-checkout/#post-18682838)
 * Hi [@aipok](https://wordpress.org/support/users/aipok/)
 * This issue is fixed in Orderable Pro 1.18.2. Just make sure that the Checkout
   page is properly set up in WooCommerce (WooCommerce -> Settings -> Advanced -
   > Page setup).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Orderable - Restaurant & Food Ordering System] Order time restriction does not work with the block checkout](https://wordpress.org/support/topic/order-time-restriction-does-not-work-with-the-block-checkout/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/order-time-restriction-does-not-work-with-the-block-checkout/#post-18454583)
 * Hi [@aipok](https://wordpress.org/support/users/aipok/)
 * The Max Orders (Slot) works on the checkout block. However, you have to make 
   sure the page using the checkout block is properly configured as the Checkout
   page in WooCommerce.
 * You can check that in WooCommerce -> Settings -> Advanced -> Page setup.
 * If you want to use the Checkout block on another page (other than the Checkout
   page defined by WooCommerce), it’s necessary to use the code snippet below:
 *     ```wp-block-code
       add_filter(	'orderable_skip_orders_remaining_check',	function( $skip_orders_remaining_check, $available, $type, $timestamp, $time_slot_settings ) {		global $post;		if ( is_checkout() ) {			return $skip_orders_remaining_check;		}		if ( empty( $post ) ) {			return $skip_orders_remaining_check;		}		$has_checkout_shortcode = has_shortcode( $post->post_content ?? '', 'woocommerce_checkout' );		$has_checkout_block     = has_block( 'woocommerce/checkout', $post ) || has_block( 'woocommerce/classic-shortcode', $post );		return ! ( $has_checkout_shortcode || $has_checkout_block );	},	10,	5);
       ```
   
 * This code snippet checks if the current page has the shortcode [woocommerce_checkout]
   or the Checkout block. If so, it doesn’t skip the orders remaining check even
   though the page is not the checkout page defined by WooCommerce.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Orderable - Restaurant & Food Ordering System] Live View Orders](https://wordpress.org/support/topic/live-view-orders/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/live-view-orders/#post-18439370)
 * Hi [@aipok](https://wordpress.org/support/users/aipok/)
 * To change the sound file, you would need to add a PHP code snippet either by 
   using the Code Snippets plugin or by adding the code to your functions.php
 *     ```wp-block-code
       add_filter(	'orderable_live_view_new_order_audio_file_url',	function() {		return 'https://yourdomain.com/path/to/sound.wav';	});
       ```
   
 * Replace the example URL with the actual URL to your sound file; this could be
   a file that exists in the media library, for example.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] Shop page loading Blank](https://wordpress.org/support/topic/shop-page-loading-blank/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/shop-page-loading-blank/#post-18417214)
 * Hi [@thomaswebdesigns](https://wordpress.org/support/users/thomaswebdesigns/),
 * The WooCommerce for Logged-in Users plugin doesn’t affect/change the permalinks.
   I’d say this issue was caused by another plugin/theme.
 * However, if you have steps to reproduce this issue in a fresh environment, share
   the steps here and I can investigate it better.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[StellarPay - Stripe Payment Gateway for WooCommerce] Disable “Save to account” function?](https://wordpress.org/support/topic/disable-save-to-account-function/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/disable-save-to-account-function/#post-18373621)
 * Hi [@ryanmvickerman](https://wordpress.org/support/users/ryanmvickerman/),
 * I don’t see any obvious issues with hiding the “Save to account” checkbox using
   CSS. If you are using the Classic Checkout, you also can hide this checkbox with
   the code snippet below:
 *     ```wp-block-code
       add_filter( 'woocommerce_payment_gateway_save_new_payment_method_option_html', '__return_empty_string' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[StellarPay - Stripe Payment Gateway for WooCommerce] Why is there a pay button on the after checkout screen?](https://wordpress.org/support/topic/why-is-there-a-pay-button-on-the-after-checkout-screen/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/why-is-there-a-pay-button-on-the-after-checkout-screen/#post-18333294)
 * [@slewisma](https://wordpress.org/support/users/slewisma/) you are right. The
   previous code snippet applies only to subscription products.
 * If you want to hide the Pay button regardless the products are a subscription
   or not, you can use the code snippet below:
 *     ```wp-block-code
       add_filter(	'woocommerce_my_account_my_orders_actions',	function( $actions, $order ) {		if ( 'stellarpay-stripe' !== $order->get_payment_method() ) {			return $actions;		}		unset( $actions['pay'] );		unset( $actions['cancel'] );		return $actions;	},	50,	2);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[StellarPay - Stripe Payment Gateway for WooCommerce] Why is there a pay button on the after checkout screen?](https://wordpress.org/support/topic/why-is-there-a-pay-button-on-the-after-checkout-screen/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/why-is-there-a-pay-button-on-the-after-checkout-screen/#post-18333280)
 * Hi [@slewisma](https://wordpress.org/support/users/slewisma/)
 * While we are fixing that, you can use this code snippet to avoid showing this
   button:
 *     ```wp-block-code
       add_filter(	'woocommerce_my_account_my_orders_actions',	function( $actions, $order ) {		if ( ! class_exists( 'StellarPay\Subscriptions\Models\Subscription' ) ) {			return $actions;		}		$subscription = StellarPay\Subscriptions\Models\Subscription::findByFirstOrderId( $order->get_id() );        if ( ! ( $subscription instanceof StellarPay\Subscriptions\Models\Subscription ) ) {			return $actions;		}		unset( $actions['pay'] );		unset( $actions['cancel'] );		return $actions;	},	50,	2);
       ```
   
 * You can add this code snippet in the functions.php file or using a plugin like
   Code Snippets ([https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/))
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] Redirect for Checkout Only](https://wordpress.org/support/topic/redirect-for-checkout-only/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/redirect-for-checkout-only/#post-18222833)
 * Hi [@holisticmissions](https://wordpress.org/support/users/holisticmissions/)
 * It’s possible by using the filter `wflu_should_redirect_not_logged_in_user`:
 *     ```wp-block-code
       add_filter(	'wflu_should_redirect_not_logged_in_user',	function() {		return is_checkout();	},	10);
       ```
   
 * By default, the plugin redirects based on this condition: `is_woocommerce() |
   | is_cart() || is_checkout()`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] Settings not visible on dashboard](https://wordpress.org/support/topic/settings-not-visible-on-dashboard/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/settings-not-visible-on-dashboard/#post-18183919)
 * Hi [@ethan1212](https://wordpress.org/support/users/ethan1212/) [@ristechnologies](https://wordpress.org/support/users/ristechnologies/)
   [@segurihost](https://wordpress.org/support/users/segurihost/)
 * This issue is happening because the React version was updated in WordPress’s 
   core. I’ve fixed that and the settings page should work on version 1.4.0
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] Settings not visible on dashboard](https://wordpress.org/support/topic/settings-not-visible-on-dashboard/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/settings-not-visible-on-dashboard/#post-18064271)
 * Hi [@ethan1212](https://wordpress.org/support/users/ethan1212/),
 * I didn’t have a chance to fix it.
 * Just to be sure, is the WP REST API enabled on your site? Asking that because
   the admin area relies on the WP REST API to retrieve the pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] Settings not visible on dashboard](https://wordpress.org/support/topic/settings-not-visible-on-dashboard/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/settings-not-visible-on-dashboard/#post-18030784)
 * Hi [@ethan1212](https://wordpress.org/support/users/ethan1212/),
 * it seems to be a JavaScript error. Could you take a look at the browser’s Console?
   It can give us a clue about what is happening.
 * Other than that, You can use the filter `wflu_redirect_after_login_page_url` 
   to bypass the setting. Example:
 *     ```wp-block-code
       add_filter(	'wflu_redirect_after_login_page_url',	function( $redirect_to ) {		$shop_page_link = get_permalink( wc_get_page_id( 'shop' ) );		if ( empty( $shop_page_link ) ) {			return $redirect_to;		}		return $shop_page_link;	});
       ```
   
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Publish & Add New] Life saver](https://wordpress.org/support/topic/life-saver-454/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [2 years ago](https://wordpress.org/support/topic/life-saver-454/#post-17929700)
 * Thanks for the review [@yannickburky](https://wordpress.org/support/users/yannickburky/)
 * 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Orderable - Restaurant & Food Ordering System] Locations Issue](https://wordpress.org/support/topic/locations-issue-3/)
 *  [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/locations-issue-3/#post-17457678)
 * Hi [@hummingbirdideas](https://wordpress.org/support/users/hummingbirdideas/),
 * Your messages were flagged as spam in our support ticket system for some reason.
   We will keep helping you with your issue from our support ticket system.
 * Sorry for any inconvenience. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] WooCommerce classic checkout shortcode unchanged](https://wordpress.org/support/topic/woocommerce-classic-checkout-shortcode-unchanged/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/woocommerce-classic-checkout-shortcode-unchanged/#post-17297469)
 * Hi [@openmindculture](https://wordpress.org/support/users/openmindculture/),
 * I tested using the shortcode `[woocommerce_checkout]` and the block Checkout 
   and it works as expected (not logged-in users getting redirected to the “My Account”
   page).
 * Please make sure you have the pages set up correctly in WooCommerce -> Settings-
   > Advanced -> Page setup.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Require Login for WooCommerce] Redirect to page Shop not working](https://wordpress.org/support/topic/redicrect-to-page-shop-not-working/)
 *  Plugin Author [Ramon Ahnert](https://wordpress.org/support/users/rahmohn/)
 * (@rahmohn)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/redicrect-to-page-shop-not-working/#post-17247340)
 * Hi [@robgol2023](https://wordpress.org/support/users/robgol2023/)
 *  You can use the filter `wflu_redirect_after_login_page_url` to bypass the setting
   and add your custom logic.
 * Example (you can add it to the functions.php file of your theme):
 *     ```wp-block-code
       add_filter(
       	'wflu_redirect_after_login_page_url',
       	function( $redirect_to ) {
       		$shop_page_link = get_permalink( wc_get_page_id( 'shop' ) );
   
       		if ( empty( $shop_page_link ) ) {
       			return $redirect_to;
       		}
   
       		return $shop_page_link;
       	}
       );
       ```
   

Viewing 15 replies - 1 through 15 (of 96 total)

1 [2](https://wordpress.org/support/users/rahmohn/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/rahmohn/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/rahmohn/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/rahmohn/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/rahmohn/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/rahmohn/replies/page/2/?output_format=md)