WP e-Commerce Related Products
[resolved] Ignores Category, Shows All Random Categories (3 posts)

  1. isabel104
    Posted 3 years ago #

    I manually placed the template tag <?php on_wpec_related() ?> in the footer of single product page. It ignores the:

    related_by 'wpsc_product_category'

    Instead, it shows products of all categories. Does this maybe not work inside the footer?


  2. isabel104
    Posted 3 years ago #

    Also, it doesn't exclude the current single product from the related loop.

  3. isabel104
    Posted 3 years ago #

    Ok, I moved the tag from the theme footer to inside wpsc-single-product.php. It works fine from wpsc-single-product.php. Just couldn't get it to work in the footer. I tried resetting, rewinding, etc. It's fine, I'll keep it in single.

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