dochara
Forum Replies Created
-
Thanks, no endpoints yet, but there will be so thanks for flagging that.
Marking resolved.
Yeah, the WooCommerce Legacy REST API was installed. I have absolutely zero idea how, because I know I didn’t install it, or how I missed it when I was deactivating plugins one by one before (though it was at ridiculous o’clock!)
All good now. ?? TY
It probably would, but that’s disappointing. I’d much prefer to use Orbital.
Thank you. I’ve done that – big reduction in used space, am very happy with that.
Forum: Plugins
In reply to: [PW WooCommerce Gift Cards] Json error after importPro version btw
Forum: Plugins
In reply to: [WooCommerce] Changing tax inclusive/exclusive setting based on userIn the USA and other countries this may be the case. In Ireland (and the EU) it is not. Retail customers do not have tax on their receipt, it’s just included in the price and not mentioned. You would never see it mentioned when buying a coffee.
I’ve kind of worked out something that works for me exactly as you describe. It’s not perfect, but will suffice.
Forum: Plugins
In reply to: [WooCommerce] Changing tax inclusive/exclusive setting based on userThanks for replying. I’ll try to clarify.
Whatever way I set VAT to show on products, I can create a suffix that I can show or hide based on user role or cookie to only show the price a particular user should see, which I’ve sorted out, so I am not concerned about that bit.
I am aware that you can see the VAT amount on the total row. For Retail Customers I need to hide this because these customers should not see ANYTHING about VAT at ALL.
If I set tax exclusive in the cart then VAT is shown separately in the checkout/receipt, with item prices excluding VAT and the VAT given as a total. This is ideal for Vat Registered Customers, it’s the kind of receipt they need for their records, but it cannot be shown to Retail Customers.
So, really the checkout/receipt is the issue. I need a way to show one version to retail customers, another to VAT registered customers.
I think I can probably do this by making my own templates, but I never like using templates, I much prefer to work with hooks/filters if I can at all.
Forum: Plugins
In reply to: [WooCommerce] Woocmmerce related products image size is too bigChanging the settings for catalog image size does not change the size of the actual thumbnail images. They will still be whatever size they were when created with the previous settings.
Download this plugin, which will allow you to rebuild your thumbnails and generate images of the correct size:
https://www.ads-software.com/plugins/ajax-thumbnail-rebuild/
I see that plugin hasn’t been updated in a while, but I use it practically daily and it works perfectly.
Forum: Plugins
In reply to: [Theme My Login] Change the Sidebar's Widget "Welcome" GreetingI know this is old, but I was looking for a solution to exactly the same issue and came up with this, which changes the title but not the logout text.
function my_tml_title( $title, $action ) { if ( is_user_logged_in() ) { if (strpos($title,'Welcome') !== false) { $title = sprintf( __( 'Hello %s', 'theme-my-login' ), wp_get_current_user()->display_name ); } } return $title; } add_filter( 'tml_title', 'my_tml_title', 10,2);
All I’ve done is check for the work ‘Welcome’ in the title and only change it if it contains the word ‘Welcome’.
Forum: Plugins
In reply to: [ReOrder Posts within Categories] get_queried_object() throwing errorsThank you, saved me a ton of hair and time.
Forum: Plugins
In reply to: [WP Help] Is there a way to change the menu title?I second this. If there is not a setting for it, then it would be useful to just use ‘Help’ maybe. It is not always publishing that help is needed with.
Wonderful plugin though, thanks.
Forum: Plugins
In reply to: [Yoast SEO] Disabling plugin on external pages where WP is includedI figured this out myself. Just posting the solution here in case someone is looking for something similar.
I added the following function in my theme functions file:
function remove_plugins_from_external($remove=false) { if ($remove) { if (defined('WPSEO_VERSION')) { // Checks for presence of plugin global $wpseo_front; remove_action('wp_head',array($wpseo_front,'head'),1); } } } add_action('wp_head', 'remove_plugins_from_external', 1);
Then before the wp_head on the external pages, I just call the function:
remove_plugins_from_external(true);
Forum: Reviews
In reply to: [Private Messages For WordPress] BugfixThank you!