Gerhard Potgieter
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Cart and Checkout wrong totalHi Lorenzo, WooCommerce Bookings is not part of WooCommerce core. If you purchased the bookings extension you are entitled to premium support so please get in touch with support so they can assist you, you can create an ticket via your WooCommerce.com account or use the contact form at https://woocommerce.com/contact-us/
Forum: Plugins
In reply to: [WooCommerce] Forgot shop password links to wordpressI would suggest you change all the passwords of accounts that has access to your admin area immediately, the only way an account can be upgraded to an Administrator account would be if someone with admin access changes the user role to Administrator. WooCommerce will not assign the admin role to any accounts, it just creates accounts with the customer account.
My suspicion is that one of you admin accounts got hacked or the password was figured out and the user logged in and changed their account role.
I would also double check all your payment gateway settings and even files as an admin user has access to change pretty much everything on your site so they could potentially have changed things or added malicious code to your site that would benefit them.
Forum: Plugins
In reply to: [WooCommerce] Stripe Symbols not showingHi, it seems your site is running in https mode, but you are still loading non https content causing insecure warnings. This is likely the cause of the issue.
Look at installing an plugin called WordPress HTTPS and then force all content on your site to load over HTTPS https://wordpress.org/plugins/wordpress-https/ and see if that fixes the issue for you.
You can read more about SSL and HTTPS for WooCommerce here https://docs.woocommerce.com/document/ssl-and-https/
Forum: Plugins
In reply to: [WooCommerce] billing field required errorYour issue is probably then with the multistore woocommerce checkout plugin, we do not support 3rd party plugins so you will have to contact the developers of that plugin for assistance.
As mentioned in my last comment, you can test the conflict by following the steps I outlined there.
When I test this with just WooCommerce and a default theme like Storefront or Twentyseventeen the validation works as it should.
Forum: Plugins
In reply to: [WooCommerce] Lost Password Page issue?OK, if you cannot see any of the WooCommerce pages I suggest you do the following, in WP-Admin go to WooCommerce -> Status -> Tools tab, find the
Create default WooCommerce pagesoption and click the button next to it. This will create all the pages, after that you should be able to access yoururl.com/my-account/lost-password/ which is the default lost password page for WooCommerce.Forum: Plugins
In reply to: [WooCommerce] Admin email notifications not firingNo, that is not true. New order notification do get sent when orders are completed and you initiate it via the edit order page. See my example http://cld.wthms.co/6y0j18 and the email arrived http://cld.wthms.co/iZfP13
Forum: Plugins
In reply to: [WooCommerce] Stacking feeHi, you can achieve this with an extension like Checkout Addons https://woocommerce.com/products/woocommerce-checkout-add-ons/
Forum: Plugins
In reply to: [WooCommerce] Order goes to On Hold by itselfHi Ralf, nothing in WooCommerce core will change the order status from Completed to On-Hold. Have you ruled out a plugin/theme conflict? On-Hold orders is reserved for Bank Transfer orders, and then the order will only be created with the On-Hold status, it will not change completed order to On-Hold so I think this is likely due to some sort of conflict happening on your site.
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Forum: Plugins
In reply to: [WooCommerce] Can related products be restricted in sub-categories?Hi, unfortunately, this is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the following places for more development-oriented questions:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
Basically you wan’t to hook into the woocommerce_product_related_posts_relate_by_category filter and then return only child terms, an example of how to only get child terms here https://wordpress.stackexchange.com/questions/23916/how-to-only-list-the-child-terms-of-a-taxonomy-and-not-their-parents
Forum: Plugins
In reply to: [WooCommerce] How can I change the phrase “Related Products”Hi, you have a couple of options, override the single-product/related.php template and change it in there https://docs.woocommerce.com/document/template-structure/
Or use a translation plugin like Loco Translate and change the text via that.
Forum: Plugins
In reply to: [WooCommerce] New sortby – option for added taxonomyHi, please see https://docs.woocommerce.com/document/custom-sorting-options-ascdesc/ for details on extending the order by functionality of products.
Forum: Plugins
In reply to: [WooCommerce] Bug on checkoutHi, I am also using the latest version of Storefront and tested it with Stripe and PayPal and my checkout works fine.
What payment gateway are you using, do you have any customisations to your Storefront theme? If you are able to recreate this in a clean install with the latest Storefront then I would say please open an issue on https://github.com/woocommerce/storefront
Forum: Plugins
In reply to: [WooCommerce] Admin email notifications not firingThese are all the actions the admin order email is firing on
add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_pending_to_completed_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_cancelled_to_processing_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_cancelled_to_completed_notification', array( $this, 'trigger' ), 10, 2 ); add_action( 'woocommerce_order_status_cancelled_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );So it will definitely fire for completed emails, unless your theme or a plugin is altering the emails in a way causing it not to fire.
Forum: Plugins
In reply to: [WooCommerce] Admin email notifications not firingCan you see the order in the admin area? What status is the order? Have you tried ruling out a theme/plugin conflict?
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Forum: Plugins
In reply to: [WooCommerce] Can you get a race condition with Paypal?Hi, I just tested this on a clean install and it works as expected.
I set the stock for a product to 1, then I added to cart and initiated a PayPal payment, it redirect to PayPal and I closed the page. I then checked the backend and the order was created with a Pending payment status. Then I opened a new incognito window and tried to add the same product to the cart and got this error http://cld.wthms.co/1Pvtv4 which means that the stock has been reserved sucessfully for the unpaid order.
Once the hold stock period passed the stock was released back for purchase again so all is functioning as it should.
A not on variable products, you can manage stock on a variable product level, or on a variation level so be sure to check how you are entering stock for variations.