Reply To: Attribute Listening for searched product

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Attribute Listening for searched product Reply To: Attribute Listening for searched product

#12739
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi Chris,

With the recent changes in WooCommerce 3, this might be possible. Listing attributes was always a nightmare, but I managed to put together a code that might work:

This will list all attributes that are choosen to be visible on the product page, as well as variation page.
You might have to add some custom CSS to be able to style this properly. I would suggest starting with this:

.asp_content dt, .asp_content dd {
    display: table-cell !important;
}

.asp_content dt {
    padding-right: 10px !important;
    font-weight: bold !important;
}

I hope this helps!

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)