Caleb Burks
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Get product price range in loopYou aren’t accessing
get_price_htmlfrom the variable product object because you are directly asking for a method straight from theWC_Productclass.Don’t use
new WC_Product( $pid ). Usewc_get_product(): https://github.com/woocommerce/woocommerce/blob/197e16269d83bb82bbcc1b6d6d00edba6e1c4401/includes/abstracts/abstract-wc-product.php#L113-L118- This reply was modified 8 years, 1 month ago by Caleb Burks.
I’d like to help get to the bottom of this so we can find out the cause. But first, need to be able to replicate / understand the source of the problem.
To do that, could you please rule out all other factors such as other plugins and the theme? Follow this guide to do so: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
If the issue doesn’t happen on WooCommerce 3.3.4 while only the WC plugin is active along with a default WordPress theme, then start to re-enable things till you find a conflict.
Also worth noting that PHP 5.3 is extremely old. Updating from that version is crucial at this point, as your are both at a security risk and losing free performance gains. Updating to 7.0+ will likely more than double your site speed.
If your web host can’t help you update from 5.3, you should look into switching web hosts asap: https://woocommerce.com/hosting-solutions/
Forum: Plugins
In reply to: [WooCommerce] Can’t see customer notesThe “extra notes” left at checkout is generally not something needed to be seen on an overview page. For example, what does this information provide out of context from the whole order? It would generally only really matters when fulfilling the order, which you would be clicked into the order at that point.
Items purchased was removed for performance reasons. Querying every order and every order item on the page didn’t scale well.
For #1, here is a code snippet to bring it back: https://wordpress.org/support/topic/customer-messages-and-notes-no-longer-displaying-in-separate-column/
For #2, there are a couple of plugins for this, so perhaps try another 🙂
Forum: Plugins
In reply to: [WooCommerce] Error with WPML after updating to 3.3.4Probably has to do with this item in the changelog:
> Fix – Use relative scheme for AJAX endpoint to avoid errors when using a mix of HTTP and HTTPS.
More info here: https://github.com/woocommerce/woocommerce/issues/19116
If this only breaks when WPML is enabled, I would reach out to them as well so they can take a look at the changeset.
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixThe wishlist system is sending a direct copy of your web page? Seems strange?
I think the problem might lie within the wishlist plugin, as emails should be sent with absolute URL’s I’d imagine if some clients have trouble with relative.
Forum: Plugins
In reply to: [WooCommerce] Restrict email editHere is a plugin you could try: https://happyplugins.com/downloads/prevent-email-change/
It is quite possible this will need some customization though since WooCommerce has a special My Account area that most snippets / plugins won’t be accounting for.
If you can’t find a solution, you may need to hire a developer if this is an important business need:
– http://jobs.wordpress.net/
– https://codeable.io/
– https://woocommerce.com/experts/Forum: Plugins
In reply to: [WooCommerce] Thumbnail generator creating 1000’s of unneeded image sizesYou can remove image sizes you don’t need: https://codex.wordpress.org/Function_Reference/remove_image_size. Then regenerate all thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/
Just hook in after WooCommerce / other plugins declare their image sizes: https://github.com/woocommerce/woocommerce/blob/dc7aa3069466f1b7e23fd7ef468760a6a9ddd241/includes/class-woocommerce.php#L550
In WC’s case, this is on the
inithook at a default priority. So usinginitwith a priority of 25 or so will allow you to remove them.Forum: Plugins
In reply to: [WooCommerce] Add small text below priceWooCommerce > Settings > Tax > Price display suffix is what you are looking for I believe.
- This reply was modified 8 years, 1 month ago by Caleb Burks.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce – Close order on custom payment methodThis is a bit outside the scope of support we can provide here I’m afraid. But I may be able to help point you in the right direction.
Returning from a third-party payment site back to your site depends on the third party site. They need to have a system that allows you to redirect back to a specific page, often specified in account settings.
The bank’s payment page needs to redirect back, you have no control over what happens with the user’s browser at this point as they are on a different site.
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixI’m not sure to be honest. Perhaps would be better to take this on from the side of the issue occurring though. What problems is this causing?
Forum: Plugins
In reply to: [WooCommerce] Single product page is not loadingThe above page is loading for me.
I’d recommend looking at the products in the admin side and seeing if anything is strange (like the permalinks). Then re-save the product.
- This reply was modified 8 years, 1 month ago by Caleb Burks.
Forum: Plugins
In reply to: [WooCommerce] Main Product image not showing upYour theme or another plugin must be causing something to go wrong, @ajay07.
Follow this guide to find the culprit: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
@nurch, your issue is something different, so please try to open up your own support threads in the future. First though, follow the above guide to rule out plugins and theme conflicts as well.
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixI’m not sure I understand what you mean exactly. Is this just how they are showing up in the HTML on the site?
Relative URLs for images is the default with how WordPress outputs responsive images, yes. Is this causing a problem?
Forum: Plugins
In reply to: [WooCommerce] Woocommerce image generatorHere’s the filter you need to disable: https://github.com/woocommerce/woocommerce/blob/dc7aa3069466f1b7e23fd7ef468760a6a9ddd241/includes/class-wc-regenerate-images.php#L50
add_filter( 'woocommerce_background_image_regeneration', '__return_false' );Forum: Plugins
In reply to: [WooCommerce] Help with Duplicate “New Order Emails”Find an order that sent out double emails to you and look at the order notes section. What do you see? Is there perhaps a message for “PayPal IPN” complete and a message for “PayPal PDN” complete?