madeincosmos
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How do I make stock number required?Hi @hellsdesire,
Even though there’s no option in WooCommerce to require product stock to be set, you can try and check programmatically if the stock value is passed when saving the product. Here is how you can hook into the saving event:
https://www.mootpoint.org/blog/woocommerce-hook-product-updated-added/
The stock level is saved in a meta field called
_stock
, so you can check if it’s empty and do the needed action.Cheers!
Forum: Plugins
In reply to: [WooCommerce] woo ‘guest checkout’ not functioningHi @ryankanwal,
I can see the site you linked to is selling subscriptions. I’m not 100% sure what subscription plugin you are using, but most subscription plugins require the customer to create an account – the subscription needs to be tied with some customer. If you’re in doubt, you can check this with the authors of your subscription plugin directly.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] Sale not showing upHi @aprodigygraphic,
If you’re still having this problem, it’s most probably caused by a conflict with the theme code. The easiest way to verify this will be to:
1. Temporarily switch your theme to default [WordPress Twenty Sixteen Theme](https://www.ads-software.com/themes/twentysixteen)
2. Disable all plugins except for WooCommerce
3. Refresh the shop page to see how the prices look this time.If that resolves the issue, then you can re-enable features one or two at a time until you find the one that is to blame.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] Webmaster Tools Google errorHi @uebas,
If you’re still having this problem, it’s possible that Google uses outdated link information. To fix it you can go to Settings > Permalinks and click the Save Changes button:
Screenshot: https://cld.wthms.co/jUIqig
This will force all links in WordPress to refresh and hopefully solve the problem.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] Unable to Complete Checkout ProcessHi @redf150flames,
Problems like this usually mean there’s a JavaScript error on site – WooCommerce uses JavaScript code at the checkout, so if there’s an error the standard flow may be broken. I just checked the page you mentioned, and both the credit card form and Place Order button are there. If I’m missing something, please let me know and I’ll take another look.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] Protect this Category?Hi @rockytt,
That’s a tough case we have here! ‘Protect this Category?’ is not a default option in WooCommerce, so it must come from one of installed extensions. Plugins with a ‘password’ or ‘protected’ in their names can be potentially responsible. If all else fails, you can try deactivating the plugins one by one to see when exactly this checkbox disappears. The authors of this plugin will be in a much better position to solve this problem than we are.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] Free Shipping method does not account for feesHi @valkala,
The shipping calculator only adds up the prices of all products in cart when checking if a customer qualifies for free shipping. If a part of the price is added as a fee, it won’t be included in the subtotal and account for free shipping. If this is what you need, you can look for the Advanced Free Shipping plugin. Haven’t tested this myself but it has advanced options and conditions for when free shipping should be enabled, so there should be a way to work this around.
Cheers!
Forum: Plugins
In reply to: [WooCommerce] invalid download linkHi @taswegienne,
Problems like this usually mean that some parameters are missing in the download link – possibly due to a plugin or theme conflict. The fastest way to rule this out will be to:
1. Temporarily switch your theme to default WordPress Twenty Sixteen Theme(https://www.ads-software.com/themes/twentysixteen)
2. Disable all plugins except for WooCommerce
3. Buy the product yourself (you can use a 100% coupon), and see how the download link works in this case.
3. Enable the plugins back one by one, refresh the My Account > Downloads page and keep downloading the file until the link starts breaking again.Cheers!
Forum: Plugins
In reply to: [WooCommerce] how do i sort products by Tag in the admin All Products page?Hi @mikami123,
There’s no option on the product list to sort by tags – this is because each product can have multiple of them. If you go to Product > Tags and click on the number of items, it will show you all products that have a certain tag:
Screenshot: https://cld.wthms.co/p6KS0o
Cheers!
Forum: Plugins
In reply to: [WooCommerce] paypal check out issueHi luketapis,
We’re not aware of any problems that would cause this error. If you’re still having this problem, can you please send the link to your site so we can try adding some products to cart and take a look what happens at the checkout?
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Coupon codes conflictingHi there,
Even though there’s no option in WooCommerce settings to set conditional rules for combining certain sets of coupons but not the others, you could try to programmatically check if both 10% and 5% coupons are in cart at once, and remove one of them if they are. The first answer here explains how you can check if a certain coupon is currently applied:
https://stackoverflow.com/questions/20100557/check-if-coupon-is-applied-in-woo-commerce
While not a complete solution, it should point you in the right direction.
Cheers!
It looks to me like a conflict with Select2 library version used in WooCommerce and Memberships. Here is a document explaining what needs to be changed in the plugin to make it compatible with latest WooCommerce versions: