Caleb Burks
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Make a custom field required on checkoutwoocommerce_checkout_update_order_metais too late to do validation.woocommerce_after_checkout_validationis the correct place I believe: https://github.com/woocommerce/woocommerce/blob/1f16ad0a03237d19d41d2b237c0ed6df81ea8dd8/includes/class-wc-checkout.php#L729. If your field isn’t chosen, add an error.So if you didn’t finish the import or if it timed out due to server resources, then that would explain why it couldn’t clean up after itself. The above code / query is what you’ll need to run to clean up – though it should run after the next successful import.
…but according to documentation it should skip not matched records.
That’s correct, it should update existing records and add new ones at the same time. Existing records will match by SKU or ID.
Forum: Plugins
In reply to: [WooCommerce] Categories and Sub Categories not sorted correctlyDefault orderby is
menu_orderI believe. Meaning the order of drag n drop in the backend.> I found this bit of code to add to functions.php which sorts it on the shop pages. Not the menu though.
Which menu are you referring too? Like a navigational menu you’ve put together, or maybe a widget?
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Variation Not WorkingThis is happening with the latest version of this theme: https://wordpress.org/themes/storefront/? That’s quite odd.
Are you sure this happens when using only the WooCommerce plugin and Storefront theme? Would recommend temporarily disabling caching as well if possible.
And then could you paste your system status report here if it’s still happening with only the WC plugin active? You can find it at WooCommerce > Status.
Forum: Plugins
In reply to: [WooCommerce] stripe payment processing failed.please retryFirst, make sure you have caching disabled on the checkout page: https://docs.woocommerce.com/document/configuring-caching-plugins/
Secondly, you can enable debug logged in the Stripe settings, then view the logs at WC > Status > Logs. It could show more details of what is going wrong.
And lastly, there is likely a plugin or theme conflict. So rule this possibility out by testing with only WooCommerce and Stripe plugins active, while using a default WP theme. More info here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Forum: Plugins
In reply to: [WooCommerce] Importing ProductsSorry, wrong link at the top. This is the one I meant: https://docs.woocommerce.com/document/product-csv-importer-exporter/
Forum: Plugins
In reply to: [WooCommerce] Trying to import the data from csv but it failsUsing the default importer built into WooCommerce core: https://docs.woocommerce.com/document/product-csv-importer-exporter/ ?
Double check the columns. Maybe try with this sample csv to make sure everything is working first: https://github.com/woocommerce/woocommerce/blob/master/sample-data/sample_products.csv
Forum: Plugins
In reply to: [WooCommerce] Free Shipping when Woocommerce Members spend over XSo this only applies when the user belongs to a certain membership?
I know of a few extensions for conditionally applying shipping rates, but not any that work with memberships in this way exactly. So this will likely take some custom code, something like: https://wordpress.stackexchange.com/questions/245090/how-to-have-free-shipping-for-woocommerce-membership-members
Forum: Plugins
In reply to: [WooCommerce] Anything related to a purchase not showing?Either your theme or another plugin is likely causing a conflict. So test for this first, and see if you can find the culprit: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Forum: Plugins
In reply to: [WooCommerce] single product galleryThis is something your theme has control over. You’ll need to contact the theme authors: http://themeforest.net/user/edge-themes
Forum: Plugins
In reply to: [WooCommerce] Product Price IssueI suppose this relates to https://wordpress.org/support/topic/indexes-keys/ ?
So looking at your site now, I see that you’re using a variable product with many attributes (and I’m assuming many variations). So it’s not the price that is taking long to load per-se, it’s actually the process of finding the matching variation. Every variation is it’s own “post” (follows the same system as a product post type, except it’s a variation post type – see the other thread).
Unless every variation has it’s own inventory, or very very specific pricing needs, I would recommend avoiding so many variations on a single product when possible. Instead, you could use a plugin like Product Add-Ons to add extra costs based on selections. This will be a lot better for performance: https://www.woocommerce.com/products/product-add-ons/
Forum: Plugins
In reply to: [WooCommerce] Indexes/keysProducts are stored as “posts” in WordPress. So you will find them stored in the
wp_poststable with the post_type of product.The price, and most other product related info, is stored in the
wp_postmetatable. There are three metas:_price,_regular_price, and_sale_price. Thepost_idcolumn in this table relates to the wp_posts table.That said, and I don’t know too many details, but I would recommend keeping an eye on the development blog here: https://woocommerce.wordpress.com/, as there will a post fairly soon I believe about the possibility to store product data in a more efficient way. Can’t say if it will for sure help your situation, but worth being aware of 🙂
- This reply was modified 8 years, 2 months ago by Caleb Burks.
Are you importing products with an ID column, or with a SKU? I’m curious which code path it’s taking.
Cleanup happens here: https://github.com/woocommerce/woocommerce/blob/869fb52927b675bd4c200cf3480a8813c9465a28/includes/admin/class-wc-admin-importers.php#L233-L244
It’s removing the temp products, as they should have the
importingstatus.Forum: Plugins
In reply to: [WooCommerce] The basket icon is not working on the checkout pageMind if I ask why? The checkout page is the final step, they have already finalized their cart. This seems counter intuitive to the checkout process.
I suppose it could be done though with some customization.
Forum: Plugins
In reply to: [WooCommerce] Getting Duplicate OrdersAre you able to replicate this error? As in, when you make a test order, is it duplicated?
There is quite likely a plugin or theme conflict, as this isn’t happening on other sites. So first, I would recommend looking for the culprit: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4.
Start out by just leaving WooCommerce activated and a default theme while testing w/ a default gateway. Then move on to testing with just Authorize.Net, then start slowly enabling other plugins.