Skip to content

Instantly share code, notes, and snippets.

@coenjacobs
Created May 4, 2012 14:05
Show Gist options
  • Select an option

  • Save coenjacobs/2594985 to your computer and use it in GitHub Desktop.

Select an option

Save coenjacobs/2594985 to your computer and use it in GitHub Desktop.
Display WooCommerce product attribute archive links on product page, right below the add to cart button.
@jhinden
Copy link
Copy Markdown

jhinden commented Jun 28, 2014

I can't get this to work. If my attribute name is 'format', I put pa_format (format being the name of the attribute) and they don't show up. Should it be '<pa_format>' or 'pa_format' or pa_format? Neither seem to work. Thanks!

@dfmpmag
Copy link
Copy Markdown

dfmpmag commented Apr 12, 2017

Hello,
From last update of Woocommerce I have label "Product" in front of every attribute name. Please how could I remove it?
Thanks

@seldimi
Copy link
Copy Markdown

seldimi commented Aug 23, 2017

Change hook
add_action( 'woocommerce_shop_loop_item_title', 'cj_show_attribute_links' );

@MVMORADIA
Copy link
Copy Markdown

I want to add Link in attributes Value and want to display Link in attributes Value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment