katdidit
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] FieldsWhat I was meant was to try the hook woocommerce_default_address_fields rather than the checkout hook, not to change the name of your function, since billing address fields are generated from that function and in some cases that is the only way to change the default fields for billing addresses.
A couple of notes: in your revised code, your first function is not corresponding to your named function in your filter `add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’);
function woocommerce_default_address_field( $fields ) {`
in this case woocommerce_checkout_fields is the hook and your function needs to be named the same as your second parameter.
Then, you are referencing the woocommerce_default_address_fields hook in the second filter of your code but it is not going to recognize $address_fields is why you are getting the invalid callback. Use $fields for both filters.
The only other suggestion that I could make about your labels not changing is that you might try changing the code to
$fields[‘billing’][‘billing_city’][‘label’] = ‘__(‘City and Region’, ‘woocommerce’);- This reply was modified 7 years, 8 months ago by katdidit.
Forum: Plugins
In reply to: [WooCommerce] FieldsCan you please post the code you tried?
Forum: Plugins
In reply to: [WooCommerce] FieldsTry using the woocommerce_default_address_fields hook instead of the checkoutout fields hook.
Forum: Fixing WordPress
In reply to: Adding menu is not workingThen it is probably theme related, but since we don’t know which theme you are using it is hard to help you. Try activating a standard wordpress theme and see if that changes anything.
Forum: Fixing WordPress
In reply to: Adding menu is not workingwhat theme are you using?
- This reply was modified 7 years, 8 months ago by katdidit.
Forum: Plugins
In reply to: [WooCommerce] Fatal Exception ErrorIt looks like your Midway theme class “themex.woo.php” line 170 and the theme template for checkout is not compatible with the current woocommerce.
Forum: Fixing WordPress
In reply to: How can i find my wordpress database username and password?Sign into your GoDaddy account, go to your products, Click Web Hosting.
Next to the hosting account you want to use, click Manage.
In the Databases section of the Hosting Control Panel or the Websites and domains tabs you should see a list of databases along with user names, and there you should be able to change your password to the existing user or add a new user. Also I’m not sure your getting your host name correct, so you might want to look at their help sections or setup info to make sure that using the ip is the correct way to connect to the dbThis plugin ticks all the boxes for me. https://www.ads-software.com/plugins/popup-maker/
Forum: Themes and Templates
In reply to: [One Page] WordPress 4.8I commented out the whole class in the One Page theme function file starting at around line 728 through 851
/one-page/functions.php
*** This is not recommended practice, it was an emergency measure – and without seeing your error/knowing your site set up, I cannot promise that this will work for you. ***
- This reply was modified 7 years, 8 months ago by katdidit.
Forum: Developing with WordPress
In reply to: Exclude AdSense on attachment page for a given set of IDs?I think you would have to call all attachments as well as your excluded attachments otherwise its going to call it for all posts.
if (is_attachment() && !is_attachment($exclusions))
not tested.
Have you tested that the slug actually does change? I don’t think it does, but I could be mistaken.
Forum: Developing with WordPress
In reply to: jQuery version included in WordPressOr… If you are trying to figure out which version is loading on a site, you can hit ctl-u and look at the scripts being loaded in the source code, just in case a plugin or theme is de-enqueueing the jquery that comes with the WordPress standard release and enqueueing another version.
Forum: Plugins
In reply to: [WooCommerce] Problem page my accountthis is due to an error in your SSL configuration on your local installation.
“Secure connection (HTTPS): ?Sua loja n?o está usando HTTPS. Saiba mais sobre HTTPS e certificados SSL.”
google “xamp windows apache local install ssl errors” for your solution(s) ??
Forum: Plugins
In reply to: [WooCommerce] WC somehow adding unwanted product to customers orderWell there are a couple of things go with to pursue and troubleshoot the problems
To try and narrow down what’s happening, look at the orders where the previous customer ordered the product and the order where its being added, the products being added, the other products in the orders, and even the customer accounts. Look for common denominators. Is it only happening when say, its from a certain category, or a certain type of product, was a coupon used or a certain payment gateway even shipping method. Are the products chained?
– create a duplicate site (files and database) either locally or in a separate folder on your website turn on error and query logging create dummy accounts and starting with the products that are in the orders involved, place orders until it recurs. Change the theme, does it still happen? and back trace how it gets put in the order
3 was a big change, the way the order and other data is accessed especially, and and as they tighten it up, I think many plugins will either need to be updated or replaced.
- This reply was modified 7 years, 9 months ago by katdidit.
Forum: Plugins
In reply to: [WooCommerce] WC somehow adding unwanted product to customers orderWhat plugins besides woocommerce are you running? Have you excluded the Woocommerce from the caching plugin?