Caleb Burks
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Shop Page and Cart on the same pageThe cart widget sounds ideal for this.
Widget: http://cld.wthms.co/7DKfkR
Frontend: http://cld.wthms.co/rgSmC5It is up to your theme how this looks, or if there is a sidebar on the shop page though.
Forum: Plugins
In reply to: [WooCommerce] Show only products of the same category in related productsReturning false on
woocommerce_product_related_posts_relate_by_tagis the correct path to take. Note that related products are cached, so you might just not be noticing the results yet.Clear cache & transients after setting up the filter to see results π
Forum: Plugins
In reply to: [WooCommerce] Make a custom field required on checkoutYea, I don’t think you’ll get to use the data arg. Will need to look for your data being posted if possible.
Before
woocommerce_after_checkout_validationis called, shipping methods themselves are brought in via$chosen_shipping_methods = WC()->session->get( 'chosen_shipping_methods' );So maybe save your custom fields to the session then access that way?
I did a quick looksy, and seems that is how the Local Pickup Plus extension goes about doing things with their custom fields in the same area. The WooCommerce Mailchimp plugin might be another one to look at as I think it also adds a field outside the traditional area.
Forum: Plugins
In reply to: [WooCommerce] JavaScript reverts custom checkout form placeholderThe optional text is there by default: https://github.com/woocommerce/woocommerce/blob/c98e0ac43b98f87845364187714b4504a2239a58/includes/class-wc-countries.php#L657
I think you might be fighting against the localization script. It changes field labels and placement based on the selected country.
If you filter the placeholder text with
woocommerce_default_address_fieldsfilter, does that help solve the second problem?Forum: Plugins
In reply to: [WooCommerce] SKU in Order HistoryWhen doing the conflict testing (default theme, all other plugins disabled), I recommend doing two things:
1) Re-saving a specific product with a SKU. Just save the product admin page.
2) Doing a test checkout with that product, using a gateway like check payments.Then see if the SKU shows up or not.
SKUs show for me in the order preview: http://cld.wthms.co/ws04rs, and in the order details: http://cld.wthms.co/4fv9sS. So there is definitely something on your site intefering with default behavior (assuming you are using the latest version of WooCommerce)
Forum: Plugins
In reply to: [WooCommerce] Stock levels wrong> Thanks, but this standard advice to disable all plugins and switch to the default theme is not helpful.
It is actually the best advice you can get. The alternative is debugging the code plugin by plugin which will cost you a lot more time and money if you are paying a developer. If you aren’t comfortable disabling plugins on a live site for testing, you should have a staging/test site.
Here are some plugins I have seen cause this issue often:
– WooCommerce Poor Mans Swiss Knife (or something like that)
– WooCommerce Germanized (and the family of extensions)Forum: Plugins
In reply to: [WooCommerce] Add item to woocommerce shop page display comboboxJust adding a setting won’t do much, what you really need is to display nothing on the main shop page.
And doing that will take some customization. Will need to check if the archives are pulling up the main shop page, and conditionally not output products:
https://github.com/woocommerce/woocommerce/blob/master/templates/archive-product.php
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Shop Displays HomepageSo
[woocommerce_cart]is showing on the cart page. Your theme or another plugin is 100% involved here – something is preventing it from parsing shortcodes.Please screenshot this happening with a default WordPress theme and only the WooCommerce plugin active.
Forum: Plugins
In reply to: [WooCommerce] Email does not contain links to download the fileHave you tested this with only the WooCommerce plugin, and a default WordPress theme?
I believe the cause of your problem is separate from the original user’s though, so please open up a new thread if you find the problem to still occur after following this guide: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Forum: Plugins
In reply to: [WooCommerce] Scheduled (cronjob) transaction emails.Glad I could help π
We tried it being a default like you mentioned, but alas, some shared hosting environments / random servers had troubles with Cron jobs and the result was no emails being sent.
So, it actually does do some fancy injecting now in WC 3.3+ if the theme doesn’t declare WC support specifically: https://woocommerce.wordpress.com/2017/12/09/wc-3-3-will-look-great-on-all-the-themes/
If the theme does declare WC support (or a default WP theme), then a page like “Shop” is taken over. The reasoning, afaik, is pretty much just that WP didn’t and doesn’t have a great way to manage post type archives. So we have a shop page that allows for content editing, but then have to inject that into the actual archive template. The alternative is not using an actual archive, but shortcodes instead to list out a posts (products) loops.
You’ll find this is the same behavior as the “posts page” in WP core. This page is manually set as the posts page in settings (same as shop page), and is then overridden as an archive page rather than an actual page. You just don’t notice this case as much, because themes all adjust for the posts page.
Forum: Plugins
In reply to: [WooCommerce] Sidebar issues (Bootstrap theme)This guide is fresh of the press: https://docs.woocommerce.com/document/woocommerce-theme-developer-handbook/ π
Forum: Plugins
In reply to: [WooCommerce] Filter Products based on Geo LocationThis is probably what you will want: https://developers.google.com/maps/documentation/distance-matrix/start
We integrated with this API in https://woocommerce.com/products/woocommerce-distance-rate-shipping/. Not useful for your situation, but just a use case π
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Variation Not WorkingOkay, I’m seeing this error on your site: http://cld.wthms.co/E6Utat
Here is some more information on this error, and how to fix: https://docs.woocommerce.com/document/jquery-cookie-fails-to-load/
Forum: Plugins
In reply to: [WooCommerce] stripe payment processing failed.please retryCould you paste a copy of your siteβs System Status Report here? You can find it at WooCommerce > Status.