Thomas Shellberg
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Customising WooCommerce Single Product Page@jack1121 – your other option would be to create custom pages and add products using shortcodes.
https://docs.woocommerce.com/document/woocommerce-shortcodes/
Forum: Plugins
In reply to: [WooCommerce] Yoast Conflict with Woocommerce?Thanks @barryruss – sounds like it’s caused by an old PHP version. I recommend PHP 7, at the very least, 5.6+.
Forum: Plugins
In reply to: [WooCommerce] Sold out button + requiring numerics@jessedebakker – 1) There are multiple tutorials out there(perhaps even plugins) that could help you do this:
https://www.cloudways.com/blog/add-woocommerce-sold-out-badge/
Forum: Plugins
In reply to: [WooCommerce] WooCommerce display Price From while using Dynamic PricingI would install the Debug Bar plugin along with the Action and Filter Hooks Add-On which allows you to comb through the filters applied when viewing the single product page. At first I thought that Dynamic Pricing was just using a higher priority number but I think Dynamic Pricing is not using those filters at all and thus overrides the price in another way, perhaps through
woocommerce_variation_prices_price.When looking at the Filter Hooks output you can search for
WC_Dynamic_Pricingto see how it interacts with filters.Forum: Plugins
In reply to: [WooCommerce] Yoast Conflict with Woocommerce?Hey @iamtheallspark- I installed the Yoast plugin from the wordpress.org repository but didn’t see any console errors and everything worked fine:
Perhaps it’s conflicting with another plugin.
Forum: Plugins
In reply to: [WooCommerce] How to remove Product from Product %s@moxie – removing the text through a Gettext translation is perfectly fine here. Marking as resolved.
Forum: Plugins
In reply to: [WooCommerce] Can not add product to cart@ngothoai – Please paste in the full code, please? Are you using the code from here?
https://docs.woocommerce.com/document/automatically-add-product-to-cart-on-visit/
I just tested it and it worked fine; even when I remove the product from the cart(not logged in), it is re-added when the page reloads.
I would check for any caching on the site(make sure your Cart and Checkout pages are exempt from caching) and test with a default theme(Storefront).
Forum: Plugins
In reply to: [WooCommerce] Product Add-ons with min/max values?@plinth – if you’re using a Bookings plugin you can use Add-Ons in tandem with the Bookable product to add additional fees, although, it doesn’t have the conditional pricing that is based on the number of nights booked(it would charge the same amount per day or per booking regardless of the nights booked, you can’t make a “tiered” system of add-ons).
This sounds like something that would need to be totally custom-developed.
Forum: Plugins
In reply to: [WooCommerce] Can’t edit product description – blank part@sqleila – Glad that you were able to find that. The plugin was likely creating a JavaScript error which prevented parts of the interface from functioning. I would update that plugin if possible and let the developer of the plugin know about it.
Forum: Plugins
In reply to: [WooCommerce] 500 server error during update@triep – this sort of thing really makes it clear how important it is to test updates on a staging site before doing the updates on the live site.
There is likely a Fatal Error happening when WooCommerce is updated. Most often, this occurs because a plugin or customization on your site is referencing a deprecated function. You can check your server’s PHP Error logs to find the exact error message and script location.
Generally speaking, you also want to update your WooCommerce extensions before updating WooCommerce itself.
Forum: Plugins
In reply to: [WooCommerce] Sold out button + requiring numericsHey @jessedebakker:
1) What would the purpose of the ‘Sold out’ button be? By default, WooCommerce shows that a product is out of stock and the ‘Add to Cart’ button is disabled since it cannot be purchased.
2) You could use a plugin that performs an address verification; that’s probably easier and better than trying to force numbers to be used in the address. I’ve seen some weird instances in which house numbers are not used at all.
You can search around for “WooCommerce Address Verification” or “Post/Zip Code Verification”, there are numerous plugins, including this one:
https://woocommerce.com/products/postcodeaddress-validation/
Forum: Plugins
In reply to: [WooCommerce] Changing options to buttonsNever used this myself but this plugin claims to do it:
https://wordpress.org/plugins/woo-variations-style-buttons/Forum: Plugins
In reply to: [WooCommerce] Business account detail in woocommerce account@bogdan100 – Do you want separate user roles, or do you just want to add extra fields to a ‘Customer’ user profile?
How to add new roles:
https://www.cloudways.com/blog/add-custom-user-roles-in-wordpress/How to add custom fields to user profiles:
https://iconicwp.com/blog/the-ultimate-guide-to-adding-custom-woocommerce-user-account-fields/Forum: Plugins
In reply to: [WooCommerce] Customising WooCommerce Single Product Page@jack1121 – A visual editor won’t give you the ability to edit this as each product is rendered using a template file – they aren’t each their own page.
There are a ton of tutorials on how to accomplish this but here’s a couple:
https://www.pootlepress.com/2018/05/how-to-customize-the-woocommerce-product-page/Forum: Plugins
In reply to: [WooCommerce] Hide Product Price from Google Search “Product”@kezn715 – You should never edit plugin code directly. You should add that code using a plugin like the following: