Caleb Burks
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Moving Checkout Coupon Code & Strange Field BehaviourThe
remove_actionwon’t work for one of two reasons.1) The theme is moving the hook to a different location, at a different priority level. So you need to unhook the same priority (rather than 10).
2) The theme is moving it and you’re hook to unhook it is happening before the theme is moving it.For the second issue, it’ll be best to trace this down to the plugin or theme interfering: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Forum: Plugins
In reply to: [WooCommerce] How can I display sorting system with my custom query?Adding the select box for sorting, and actually making it sort, will probably be two steps.
Here is the orderby html: https://github.com/woocommerce/woocommerce/blob/master/templates/loop/orderby.php
Should also be able to just call
woocommerce_catalog_ordering()if you set up the loop right. https://github.com/woocommerce/woocommerce/blob/c38e0e69e9c72935f1c2507d629368d67e4154f9/includes/wc-template-functions.php#L981- This reply was modified 8 years, 2 months ago by Caleb Burks.
Forum: Plugins
In reply to: [WooCommerce] JavaScript reverts custom checkout form placeholderEh, don’t think so sadly. The
$requiredvariable doesn’t look to be filtered and is put straight into the input.I’d recommend opening an issue in Github asking for a filter there, else even better, submitting a pull request for one 🙂 https://github.com/woocommerce/woocommerce/issues
Forum: Plugins
In reply to: [WooCommerce] Stock levels wrongHey Chris,
Well, we’ve seen plugins do this – so you can’t rule it out without knowing.
The most likely culprit is in the payment gateway plugin though.
Forum: Plugins
In reply to: [WooCommerce] My Shop Screen Doesn’t Show ProductsHmm, and you are 100% sure this problem still happens when only the WooCommerce plugin is active, and and default WordPress theme is enabled?
After disabling everything but the above, also try re-saving the settings page where the shop page is configured. And try re-saving the shop page.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce login page redirect to custom login pageRedirect before or after they login?
Can use this page to return a different ID for the my account page if they aren’t logged in perhaps: https://github.com/woocommerce/woocommerce/blob/860a575f940e60cf9a1f3c3cf80c69dae4ad6810/includes/wc-page-functions.php#L53
Or can use the
woocommerce_login_redirectfilter to redirect somewhere after login.Forum: Plugins
In reply to: [WooCommerce] The basket icon is not working on the checkout pageGoing to need a little bit of customization to accomplish this. Probably need to refresh the page or trigger an ajax refresh on the whole checkout section as well.
Forum: Plugins
In reply to: [WooCommerce] Multiple prices for one productThese filters give you access to changing the price display: https://www.skyverge.com/blog/change-woocommerce-price-display/
But first you need to store the secondary price somewhere (like custom meta), and find out how to access it.
Forum: Plugins
In reply to: [WooCommerce] 504 Gateway When Viewing All PagesThat’s pretty strange. WooCommerce itself is very unlikely to be the culprit since this isn’t happening for hundreds of others.
Could you try disabling all plugins except for WooCommerce, and switch to a default WordPress theme temporarily. Then see if the problem still occurs. See https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
If it does still happen when only WooCommerce is active with a default theme, then this might be something to bring up with your web host as I suppose it could be a resources issue.
Forum: Plugins
In reply to: [WooCommerce] Product Title Moved Outside WooCommerce DivI have a feeling your theme might not properly declare support for WooCommerce, and with 3.3 it’s now using your theme’s other templates. See https://github.com/woocommerce/woocommerce/wiki/Declaring-WooCommerce-support-in-themes
Ultimately this is something the theme devs need to address.
Forum: Plugins
In reply to: [WooCommerce] PyaPal Standard problem after WooCommerce 3.3.3 updateThere are two reasons why line items might not all be sent. See https://docs.woocommerce.com/document/paypal-standard/#section-12
Forum: Plugins
In reply to: [WooCommerce] Get price of product at time of saleAs far as I know, the order item price at time of sale will only be stored in that object. So
WC_Order_Item_Product ->get_total()is what you have to work with.If you’ve altered the price manually since time of sale, then that record is likely gone. Might need a custom meta if you have specific needs.
Forum: Plugins
In reply to: [WooCommerce] Missing Product Image on Admin SideIf the sidebar featured image and gallery images section is missing, then something is interferring: https://docs.woocommerce.com/document/adding-product-images-and-galleries/
Rule out theme and plugin conflicts following this guide: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Forum: Plugins
In reply to: [WooCommerce] shipping feeI think maybe you need an address entered on your site to get the shipping rates? This is based on your shipping settings.
When you log in, there may be an address saved to your profile, which is why you are then noticing shipping rates.
You could enable the shipping calculator on the cart page to help solve this, could also play around with the “default customer location” settings in the General settings tab.
Forum: Plugins
In reply to: [WooCommerce] Attributes IDGlobal attributes are a taxonomy, stored in the
wp_term_taxonomydatabase table. They will be calledpa_termName. From there, you can get the attribute/taxonomy ID.Then the terms for each attribute are in the
wp_termstable.And lastly,
wp_term_relationshipstable stores the relations of the taxonomy to the term.So you can build SQL queries from those tables, or you could find a plugin that does taxonomy exports like you’re looking for.