petedan
Forum Replies Created
-
Forum: Plugins
In reply to: [Customer Email Verification for WooCommerce] Customise Logo and MessageI’m sorry, I meant on the email verification page, not the emails.
Thanks.
Forum: Plugins
In reply to: [Customer Email Verification for WooCommerce] Can Still Create OrderDuring the user sign up and verification the user is logged in, so at the “Sign Up Verification” message (email verification page), a user can simply navigate to other areas of the site, including the shop, and then place an order as a logged in user (not verified). Is that correct?
Rather than allow non-verified users to make possible fraudulent orders, I’ve added my own redirect. I still allow customers to add to their cart, and view the cart page, but to get to the checkout page, unless they are verified they will be redirected to the email verification page. Does this better fit your plugin’s intended use? Can this be added as an option to your plugin?
// Redirect non verified users to email verification page add_action('template_redirect', 'redirect_to_email_verification'); function redirect_to_email_verification() { // If is checkout page, redirect to email verification page if( current_user_can( 'customer' ) && 'true' !== $verified && is_checkout() ) wp_redirect( wc_get_account_endpoint_url( 'email-verification' ) ); }
- This reply was modified 4 years, 8 months ago by petedan.
You can fix the 404 on the my-account/email-verification page by going to:
Settings -> Permalinks -> Save Changes.
This fixed the issue for me.
Forum: Themes and Templates
In reply to: [OceanWP] OceanWP support still here?Forum: Themes and Templates
In reply to: [OceanWP] Custom link for mobile logo and sticky logoAre you just not interested to answer this question, or do you not know the answer?
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Remove From Menu For User RoleThank you for this. I actually took a different route, I disabled the plugin for a user role. For anyone interested, just change the “user-role-here” in the code below:
add_action( 'disable_plugins_user_role', 'disable_plugins' ); function disable_plugins() { $active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); // Get active plugins $plugin = 'ti-woocommerce-wishlist/ti-woocommerce-wishlist.php'; // TI Woocommerce Wishlist plugin if ( in_array( $plugin, $active_plugins ) ) { // Check if plugin is active if( current_user_can( 'user-role-here' ) ) { // Check user role deactivate_plugins( $plugin ); // Deactivate plugin } } }
Forum: Themes and Templates
In reply to: [OceanWP] Custom link for mobile logo and sticky logoAre you telling me this is a difficult ask? For the main logo, I can follow this example:
https://docs.oceanwp.org/article/473-change-custom-logo-url
But for the mobile logo, and the sticky logo, can you help me out here? Using the above example, is it just the logo ID and class that I need for these two other logo instances?
I hope you can offer a solution in a future update, I don’t think it instils confidence when the maths is wrong.
The subtotals should not be rounded if the product price is rounded. For example, I have two (2) product @ price of €14 each in the cart, and the subtotal = €28.05. That just looks amateurish, don’t you agree? Not having gone through all the support messages, but I can’t believe I’m the only one pointing this out?
Forum: Themes and Templates
In reply to: [OceanWP] TI Woocommerce Wishlist PositionNot really good solutions… that hook is not working, and I’d rather not make extra menus, but thanks for the suggestions.
I hope OceanWP theme developer can offer a new feature to allow the Wishlist icon to show in the header, next to the cart icon.
So then, is there a way not to round the subtotal and total?
Forum: Themes and Templates
In reply to: [OceanWP] TI Woocommerce Wishlist PositionBut then it also displays in the mobile menu. I don’t want that. I only want it to show in the header, exactly as the cart icon does.
What is the hook for the cart icon to show in the header, can that be used for the wishlist icon?
Forum: Themes and Templates
In reply to: [OceanWP] TI Woocommerce Wishlist PositionThanks Amit, we are almost there…
This only shows the wishlist on mobile, for desktop it’s not showing. Is there another hook for that?
Thanks.
Forum: Themes and Templates
In reply to: [OceanWP] TI Woocommerce Wishlist PositionSorry, still developing on localhost.
You don’t need to see my site to understand what I mean, just look at any of the shop demos on oceanwp site: https://oceanwp.org/demos/
You will notice, when on mobile device, the shop cart will remain in the header, but all the other menus from the main menu will move to the mobile hamburger menu, including the wishlist menu.
Would be nice to have the option of the wishlist menu to stay next to the shop cart in the header.
Forum: Themes and Templates
In reply to: [OceanWP] Top Bar Menu Moves To Mobile MenuHi @lestexas60,
These are two separate menus, the main menu and the top bar menu.
For the main menu, yes, I want it to be a mobile menu for mobile device viewing. For the top bar menu, I only have a few links that I’d like to always show in the top bar.
This is actually the first theme I’ve come across that either behaves like this by default, or doesn’t give you the option to not merge the top bar menu into the main menu. I’m not saying it’s right or wrong, I really love OceanWP theme, I just wish I was smart enough to work out how to fix this myself.
??
Forum: Themes and Templates
In reply to: [OceanWP] Top Bar Menu Moves To Mobile MenuThanks Amit.
For me to create a custom template just for this simple issue, seems a very complex solution, making the template and adding custom CSS to get it right.
Whereas, I’m hoping for an update from the developer to add a common sense setting so we can choose to have the menu stay in the top bar area, or behave as it is now, like a crazy child on a sugar high, jumping about into another menu area. Just give us the choice please!
Even a suggestion of a little code to put in my functions.php to get it to behave correctly, I’d be grateful for that. Just hoping for an easier solution.
??
- This reply was modified 6 years, 6 months ago by petedan.