Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi!
    Since all the data is already displayed properly, I recommend to temporarily enable ‘HTML output’ on the Status tab of the PDF Invoice settings. This will let you inspect the HTML source of the invoice. The data will probably be wrapped in specific HTML elements or classes, then you can control the layout of these elements with custom CSS.

    To give you an example, the default WooCommerce meta data is listed in the format:

    <dl class="variation">
        <dt class="variation-custom">Label:</dt>
        <dd class="variation-custom"><p>Content</p></dd>
    </dl>

    and styled with line breaks using:

    dd:after {
    	content: "\A";
    	white-space: pre;
    }

    (check the rest of the dl/dd/dt declarations in the template style.css for more information).

    Hope that helps!
    Ewout

    Hi, I’m using the same plugin and some item meta dont display right if order contains more than 1 product.

    For 1 product/order, it looks like this http://imgur.com/a/aDxmz,

    but for 2 products/order, some item meta is missing: http://imgur.com/a/oF7XU

    It’s quite confusing to see the different results. Could you explain the issue for me, or I need to insert the meta manually. Thanks.

    Plugin Contributor Ewout

    (@pomegranate)

    Hi!
    The plugin only outputs WooCommerce Item Meta. The Extra Product Options plugin stores them mainly in their own variable and then displays it in a table separate from the regular item meta. It depends on their fallback functions whether this is displayed or not. I don’t think this is related to the number or items in an order but rather to the item in question – I’d recommend trying to remove one item from such an order that displays incomplete information to see if that fixes it.
    How is this displayed in the WooCommerce emails?

    Ewout

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Compatibility with WooCommerce Extra Product Options’ is closed to new replies.