WP e-Commerce Related Products
Adding a "see all" link (1 post)

  1. babyhuey48089
    Posted 2 years ago #

    I would like to add a link to see all related products. What I have is something like this:

    <a href="https://mysite.com/?s=<?php 'product_tag' ; ?>">See all colorways of this pattern</a>

    But I'm having a hard time passing the correct variable to the search link. I cant figure out which variable is containing the product tag.
    This would be very helpful because some of my products have more than 100 related products and I don't want to have to list all of them on the single product page. It would be more efficient if I could just show 20 and have the link to the search page for the rest.
    This is where I'm trying to add the code:

                    echo "</div><div class='clear'></div>";
                    ?><a href="https://mysite.com/?s=<?php echo 'product_tag' ; ?>">See all colorways of this pattern</a><?php
                endif; ?><?php
     * This is style for related product, default.

    Maybe this could be added as a function in the next release?
    Any help would be appreciated.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP e-Commerce Related Products
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic