forgetfuljames
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to add Product Description to Category or shop page@oksanaar: This probably should be a new thread, but…
…from within the WooCommerce cart contents loop (the
$_productvariable is then available to you) you can use theget_attributes( 'attribute-slug' )function to retrieve any product attribute, where'attribute-slug'is any attribute slug, like so:<?php echo $_product->get_attribute( 'attribute-slug' );?>Forum: Plugins
In reply to: [WooCommerce] Advanced Product Filters@Tyguy: I’d be interested in helping — I’m just starting out but I’m a workhorse.
forgetfuljames [at] mac [dot] com
Forum: Plugins
In reply to: [WooCommerce] How to add Product Description to Category or shop page@fatz: yes. i ended up using
echo var_dump( $values );to look at the entire
$valuesvariable — WC_Product class has a lot to offer. 🙂Forum: Plugins
In reply to: [WooCommerce] How to add Product Description to Category or shop page@fatz: Thanks. I used
$productshort_cart = $_product->post->post_excerpt; echo $productshort_cart;to get what I needed. Wish I could have saved you the hassle :/
Forum: Plugins
In reply to: [WooCommerce] How to add Product Description to Category or shop page@fatz : I’ve coincidentally come across your posts here, on github, and on the phpforum.de while trying to solve the same problem…
Have you finally figured this out?
Hi tc and blue,
I’m having essentially the same problem as tc.
I currently have:
-
31 entries
1 entry returning parse error below (a)
1 entry entry returning (b)I’ve tested all of the other entries and they display as PDFs without a problem.
This happens no matter where I click (both the link that shows while hovering over the entry date and the two single entry buttons ‘View’ or ‘Download’ are creating the same statements)
(a)
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: no name in Entity, line: 44 in /mnt/web3/e2/87/53531087/htdocs/WordPress_03/wp-content/plugins/gravity-forms-pdf-extended/render_to_pdf.php on line 109
Unable to stream pdf: headers already sent(b)
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I’m new to PHP — could this be caused by a PHP memory issue?
The end user has had connectivity issues (currently using WLAN at a convention) — could it be a data corruption issue?
Thanks in advance for any help you can lend.