blueedge
Forum Replies Created
-
As you suggested, I have been experiencing with $item[‘thumbnail’]. Using that, the image now appears. Now, it is a matter of working on the formatting so that it fits.
Thanks again for your help and fast response.
Not all of the code was copied to the link above.
https://pastebin.com/A1aSFMqzOops. It seems that the echo line did not show in the post above.
Here is the entire custom code for the invoice: https://pastebin.com/ESFyxvY7
The echo appears on line 110.
On the Status tab, allow_url_fopen is listed as “yes.”
Additionally, the product image appeared when using version 1.6.6 and earlier. However, after install the newest versions, the image does not appear. Version 2.0.4 is currently installed.
In looking at the custom code, it appears (to me, based on my lack of knowledge) that this is what is supposed spit out the image:
echo “
“;
I don’t understand how my custom code worked for you, meaning the product image was displayed, but not for me.
You had mentioned “You can also try if $item[‘thumbnail’], which uses server paths instead of urls, works for you too.” Although that may seem basic to most, unfortunately, I don’t know how to implement that.
I don’t think that it is the server disabling images from appearing because the images appeared when using the 1.6.5 version of the plugin. However, after upgrading to the latest version, the images no longer appear.
As you suggested, I have removed the floats from the css. That appears to have eliminated the HTTP 500 error. It seems really strange that the floats would have caused the error.
However, the product images do not appear in the invoice or packing slip. Its states “Image not found or type unknown” where the image show appear.
I see that the product images appear in the example in your previous post. So, I guess I’ll try, as you recommend, copying over the current Simple bundle and make the needed customizations (if I can).
Thanks so much for your help.
As requested, here is teh css: https://pastebin.com/2H8hWDb1
Thanks for your help.
Thanks for your reply. Yes, you are correct. A customer template is being used.
As you requested, I changed to a simple template (from the default customer template). After doing so, the invoice does appear. Unfortunately, the only drawback to the simple template is that the image of the product does not appear. Where the image would appear, its states “Image not found or type unknown.” I would not mind using the simple template if the product product would be displayed.
As you requested, I posted the code to the customer invoice here: https://pastebin.com/zHddDgMN
Thanks for your help.
I checked “debug output” and tried calling up an invoice but received the following:
Notice: Undefined offset: -1 in /home8/my-site/public_html/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/Block.php on line 65
Notice: Trying to get property of non-object in /home8/my-site/public_html/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Positioner/Block.php on line 33
Notice: Undefined offset: -1 in /home8/my-site/public_html/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/Block.php on line 65
Fatal error: Call to a member function get_float_offsets() on null in /home8/my-site/public_html/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Block.php on line 758
Forum: Plugins
In reply to: plugins: SEO by Yoast – problem changing meta descriptionHas a solution been found?
I’m experiencing the exact same problem (using the Twenty Thirteen theme). After the title and description are entered for the home page and saved, the entries disappear and the title reverts back to the default. Check marking the Yoast “Title Settings” has no impact.