bwragg
Forum Replies Created
-
Thanks. I just sent the system status report to that link.
I had a better look at the issue this morning and discovered what I said originally isn’t quite right. To get it clear I will explain from the top. I will use what has recently happened rather than what happened a few weeks back.
We have set in the settings Prefix of 2, length of 10 and start number as 32553
Order 20000032766 came into the system ok at 11:23am
Next order at 12:11pm goes crazy. Order id shows as 22221000032554So it has done 2 things wrong.
1) Prefix is still there but its added 2221 to the start of the number.
2) it resets the starting order number back to the original start number I set weeks ago.When I look in the wt_last_order_number setting in wp_options the number is now set to (few days one) 2221000032575.
I’m setting up a staging environment and will try and replicate the trigger.
forgot to add running version 1.4.2 and WP 5.8.3
Forum: Plugins
In reply to: [WooCommerce] Add an image on the catalog page if there is no imageThanks. It didn’t quite work in my theme but it gave me the start I needed to fix the problem. Thanks so much
Forum: Plugins
In reply to: [WooCommerce] adding products on the checkout pageHi Mike,
Thanks so much. It was just my lack of knowledge of jquery. For future reference if anyone needs this solution below is the code that worked:
(function ($) { $('.woocommerce-checkout .add_to_cart_button').click(function(){ setTimeout(function(){ $( 'body' ).trigger( 'update_checkout' ); }, 1000); }); }(jQuery));
Thanks again Mike.
Forum: Plugins
In reply to: [WooCommerce] adding products on the checkout pageHi Mike,
Just added it and I’m getting this error when I inspect the page:
[Error] TypeError: undefined is not a function (evaluating ‘$(‘.woocommerce-checkout .add_to_cart_button’)’)
any ideas? Sorry for my cluelessness with js.
Thanks
Forum: Plugins
In reply to: [WooCommerce] adding products on the checkout pageThanks Mike. Thats awesome! Your a life saver!
I’ve done some customising of woo commerce via hooks/actions/filters but I haven’t done much on the client side. Where do I stick this code? Can I just add it in my themes custom js file?