• soubrette

    (@soubrette)


    I’ve set up attributes such as approximate size, color, waist measurement, etc. for my clothing items. I sell one-of-a-kind items (vintage clothing), so each product generally only has one attribute term associated with each attribute name.

    I’d like to show a two-column table of the product’s attributes/terms inside the short description area of the product page, similar to what is showing inside the “more info” tab lower on the page. I’d also like it to only list the attributes that are available for that product (for example, it won’t show “bust measurement” for skirts).

    I’ve looked all around for the code to do this. I know it involves changing woocommerce templates, and I’m comfortable with that, but everything I’ve tried so far hasn’t worked.

    Does anyone know what I can use to call the product’s attributes (custom taxonomies) and corresponding terms?

    (The site is shoptest.soubrettevintage.com Contact me for the password.)

    https://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Did you try WordPress’s custom fields? It is fairly easy to set them, and then read them out in code. They are specific for the product where you defined them.

    I assume there would then be a filter/hook to change the item’s short description accordingly.

Viewing 1 replies (of 1 total)
  • The topic ‘Insert Woocommerce Product Attributes Table in Product Short Description’ is closed to new replies.