ashu2982
Forum Replies Created
-
Yes this worked. Now i am not getting any error after updating your code.
Thanks for your help. This plugin definitely deserve 5 Star from me 🙂
Ok i deleted these lines in product-quantity-validations.php and so far plugin is working great.
I am sorry but i don’t have much knowledge about php and wp programming so i am completely unaware of what it does. Please let me know if there is any other alternative.if ( $step != null && $cart_qty_rem % step != 0 ) {
$woocommerce->add_error( sprintf( __(“You may only purchase %s in multiples of %s.”, ‘woocommerce’ ), $title, $step ) );
return false;
}I am not marking this question as resolved because i know deleting code written by author is definitely not a solution 🙂
An update to my problem.
Just figured out that the site goes blank with ‘error’ message was because of Better WP Security Plugun. It says ‘Site is locked down due to too many attempts to open a file that does not exist.’ though every time this lock down came after the error in plugin.Forum: Plugins
In reply to: Change landing page after login in Minglei was looking for same but could not found the answer. so tried to fix it myself
you have to make changes to plugin file in your plugin directory
open
mingle/classes/views/shared/login_form.phpSearch for
<input type="hidden" name="redirect_to" value="<?php echo $redirect_to; ?>" />change it with
<input type="hidden" name="redirect_to" value="<?php echo bloginfo('url'); ?>" />
this will redirect users to blog home page
you can change
bloginfo('url');
with anything you want.
hope you find it usedul