benlau
Forum Replies Created
-
Forum: Plugins
In reply to: [Affiliate Program Suite — SliceWP Affiliates] “405 Not Allowed openresty”Thanks for the fast response. In my case it wasn’t a caching problem, but a conflict with “All-in-one” WP Security plugin. After disabling it, it worked.
Forum: Plugins
In reply to: [Affiliate Program Suite — SliceWP Affiliates] “405 Not Allowed openresty”Login Page: https://pawlies.de/partner-konto/
Register Page: https://pawlies.de/partner-anmeldung/
Forum: Plugins
In reply to: [WooCommerce Quick View] “Quick View” is not working on variation productshey Monyane,
I had the same problem. It is caused by a Javascript error.
You can fix it by putting this code in your functions.php:
add_action('wp_enqueue_scripts', 'custom_load_scripts'); function custom_load_scripts() { wp_enqueue_script( 'wc-add-to-cart-variation' ); }
This ensures, that the Javascript for product variations is always loaded, not just on the product detail page.
Is it possible to auto-complete the orders? Why do we have to manually complete them, if the payment was handled successfully?
Is there maybe a specific ajax action or filter in your plugin that I can hook this function to?
Hi,
unfortunately that action doesn’t work either. I have also tried it with
‘pre_get_posts’.
But only after refreshing the page, the action is applied :/
This is the action:
add_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
function custom_pre_get_posts_query( $q ) {
if ( ! $q->is_main_query() ) return;
if ( ! $q->is_post_type_archive() ) return;if ( ! is_admin() && is_shop() ) {
// Get the current user
$current_user = wp_get_current_user();if ( in_array( ‘merchant’, $current_user->roles ) ) {
$q->set(‘tax_query’, array(array(
‘taxonomy’ => ‘pa_benutzerrolle’,
‘field’ => ‘term_id’,
‘terms’ => array(411) // id of “haendler” attribute
)));} else {
$q->set(‘tax_query’, array(array(
‘taxonomy’ => ‘pa_benutzerrolle’,
‘field’ => ‘term_id’,
‘terms’ => array(411), // id of “haendler” attribute
‘operator’ => ‘NOT IN’
)));}
}
remove_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
}
Forum: Plugins
In reply to: [PayPal for WooCommerce] Paypal Plus – Woocommerce Subscriptions SupportHey angelleye,
any updates on the new plugin and the subscription support?
Forum: Plugins
In reply to: [PayPal for WooCommerce] Paypal Plus – Woocommerce Subscriptions SupportThat sounds great! Looking forward to it ??
Forum: Plugins
In reply to: [PayPal for WooCommerce] Paypal Plus – Woocommerce Subscriptions SupportHi there,
any update on the Paypal PLUS integrations for Woocommerce Subscriptions?
It this something we can except in the near future?Thanks for your great plugin!
I’m also getting this error. Any solution yet?
Fatal error: Call to undefined function wc_clean() in \wp-content\plugins\woocommerce\includes\class-wc-geolocation.php on line 105
Forum: Reviews
In reply to: [WooCommerce Add Charges To Payment Gateway] Doesn't work :(Haha I installed that plugin 2 hours ago before I read your comment. You’re right, it’s working great.
But thanks anyway! ??Forum: Reviews
In reply to: [WooCommerce Add Charges To Payment Gateway] Doesn't work :(Seems like the plugin is not working on the new WP version.
Will there be a fix soon?