Product Attributes Disappeared
-
Hi,
This site has been up for almost 20 years. We created a custom attribute named Brands.
To the theme > child theme > woocommerce > content-product.php file this was added:
<div style=”float:left;width:32%;”><b>BRAND:</b> <?php
$subheadingvalues = get_the_terms( $product->id, ‘pa_brand’);foreach ( $subheadingvalues as $subheadingvalue ) {
echo $subheadingvalue->name;
}
?></div>When logged into WordPress and viewing the products, I can see the Product > Attribute > Brand and see the items selected. On the website, they are no longer showing.
I have tried things suggested in other support threads but none have worked:
– clearing the cache
– turning plugins off
– adding a new attribute with items and assigning it to a productAll plugins are up-to-date. WordPress is up-to-date.
Any suggestions on how to fix this are appreciated.
Thanks,
DaphneThe page I need help with: [log in to see the link]
The topic ‘Product Attributes Disappeared’ is closed to new replies.