stupidchief
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Import Broken on TablePress 2.2[02-Nov-2023 15:46:16 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to TablePress_Admin_Page::_admin_footer_text() must be of the type string, null given, called in /home/omalleyferries/public_html/wp-includes/class-wp-hook.php on line 310 and defined in /home/omalleyferries/public_html/wp-content/plugins/tablepress/classes/class-admin-page-helper.php:108 Stack trace: #0 /home/omalleyferries/public_html/wp-includes/class-wp-hook.php(310): TablePress_Admin_Page->_admin_footer_text() #1 /home/omalleyferries/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/omalleyferries/public_html/wp-admin/admin-footer.php(48): apply_filters() #3 /home/omalleyferries/public_html/wp-admin/admin.php(297): require_once('/home/omalleyfe...') #4 {main} thrown in /home/omalleyferries/public_html/wp-content/plugins/tablepress/classes/class-admin-page-helper.php on line 108
I’m seeing this fatal error when I visit the import screen
Forum: Plugins
In reply to: [Multisite Language Switcher] woocommerce issuesI was able to resolve my issues through some fairly complex custom coding.
We are using the Impreza theme which allows complete replacement of woocommerce templates so perhaps it is related to that. Though pages seem to work fine. It seems specific to woo.
Forum: Plugins
In reply to: [WP-FormAssembly] Latest update caused a fatal error on our website?This new line is in the code:
do_action( 'wp_head', 'fa_referrer_header');
it should be
add_action( 'wp_head', 'fa_referrer_header');
Forum: Plugins
In reply to: [WP SAML Auth] redirect_to possible?Thats Great. Thanks.
Forum: Plugins
In reply to: [WP SAML Auth] redirect_to possible?Thanks.
Is it possible to have people brought back to the page they logged in from?
Our users have to login to access various protected areas on the the website and we would like it if they were brought back to the page they came from rather than just brought back to the home page or account page.
Like you can do using redirect_to normally in wordpress.
Forum: Plugins
In reply to: [Easy Table of Contents] Feature Request: Show counter in headersI was being dumb – it’s actually easy to do with CSS counters:
https://philarcher.org/diary/2013/headingnumbers/- This reply was modified 5 years, 11 months ago by stupidchief.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Mapping to Categories from SalesforceThe above solution works apart from this line:
$store_id = $result['data']['ID'];
I am mapping to a custom post type so I changed the line to:
$store_id = $result['parent'];
I’m using Version 1.7.0
- This reply was modified 6 years, 1 month ago by stupidchief.
ok thanks. Shame it’s not staying free but i understand why.
Forum: Plugins
In reply to: [Contact Form 7] WARNING: CF7 v4.8 may break many extension plugins4.8 also breaks this plugin I had installed:
contact form 7 multi step
https://codecanyon.net/item/contact-form-7-multistep/15232990- This reply was modified 7 years, 10 months ago by stupidchief.
I know I can just change DB_CHARSET to utf8 but thats not ideal
Forum: Plugins
In reply to: [WooCommerce] woocommerce rounding issueTo reiterate the issue:
The final total displayed is:
740.46 (includes €138.46 Tax)I then apply the filter woocommerce_calculated_total to round the total
Now what is displayed is:
740 (includes €138.46 Tax)As you can see the tax does not change and this is obviously incorrect.
Forum: Plugins
In reply to: [WooCommerce] woocommerce rounding issueThanks for your time James.
That doesn’t work either
Forum: Plugins
In reply to: [WooCommerce] woocommerce rounding issueYou are exactly right.
But how do you do that rounding? what filter can you use.
woocommerce_calculated_total does it after.
If I was able to round the shipping + shipping tax that would also work I think.
I basically need to round everything.
BUT the final tax must be 23% and MUST NOT be rounded. This is because in my country the tax people do not let you round VAT.It is a complete pain in the neck and is the reason I don’t simply use 0 decimals
Forum: Plugins
In reply to: [WooCommerce] woocommerce rounding issuevar_dump($this->cart_contents_total);
float(525)var_dump($this->tax_total);
float(120.75)var_dump($this->shipping_tax_total);
float(17.71)var_dump($this->shipping_total);
float(77)var_dump($this->fee_total);
int(0)var_dump(( $this->cart_contents_total + $this->tax_total + $this->shipping_tax_total + $this->shipping_total + $this->fee_total ));
float(740.46)var_dump(round( $this->cart_contents_total + $this->tax_total + $this->shipping_tax_total + $this->shipping_total + $this->fee_total, $this->dp ));
float(740.46)Forum: Plugins
In reply to: [WooCommerce] woocommerce rounding issueNumber of decimals in woocommerce is set to 2
The value coming into the filter is 740.46
using the woocommerce_calculated_total does not update the tax value.