Custom Product Attribute No Longer Showing for Variable Product with WC3.0
-
Hi,
Currently using v1.6.5 with WC3.0.6.
I have added the following code that used to work to pull custom attribute and show them in the invoice for both simple & variable product. Now it only works with simple product.
<dt class="sku"><?php _e( 'HS Tariff:', 'wpo_wcpdf' ); ?></dt><dd class="sku"><?php $wpo_wcpdf->product_attribute('HS Tariff', $item['product']); ?></dd>
When used for variable product, it will show nothing (blank). Is this something related to the changes in WC3.0.6 in accessing attributes variable product or the plugin itself?
Many thanks for the awesome work.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom Product Attribute No Longer Showing for Variable Product with WC3.0’ is closed to new replies.