• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2966

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Subscriptions
  • Access
  • Log in

Add Category Link Before Add to Cart Button

This tutorial shows you how to add exactly the same category link from the single product page to your shop page archives in WooCommerce.

The Video ( with audio )

A step by step guide showing you how to find the PHP function in WooCommerce files and use it with an action hook to display it before the add to cart button on the shop page and any other archives which use shop page hooks in WooCommerce.

The Code

Copy and paste the PHP code to the end of your child themes functions file or custom code snippets plugin.

WooCommerce

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Code written by Brad Dalton specialist for Genesis & WooCommerce.

Advertise · WPEngine · Genesis · Log in

  • Account
  • Consulting
  • Post Tags
  • Contact
  • Terms
  • Monthly Membership
  • Yearly Subscriptions
  • Log in
 

Loading Comments...