Support » Plugin: WP eCommerce » Custom HTML sitemap for WP e-COMMERCE

  • Resolved mings


    am in a process of making a custom HTML sitemap, so far i got the pages and post alright but having trouble to get all the Sub-Product Categories under Parent Product categories

      $categories = wp_get_object_terms ( $post->ID, ‘wpsc_product_category’ );
      foreach ( $categories as $category ) {
      esc_html_e ( $category->name );

    The problem is I am only getting the first Parent Product Category and the first sub product category listed.

    Will be grateful for a helping hand!

Viewing 1 replies (of 1 total)
  • A simple WP e-COMMERCE html sitemap
    Just go to yoast (dot) com and search for html-sitemap-wordpress
    You will find a simple step by step tuts to create your own custom html sitemap. WP post and page are well covered, you can even exclude WP post/page using post/page id
    On the bottom you will find Add Custom Post Types to your HTML Sitemap
    This will add single product post in your sitemap, plus if you have any other plugin that adds Custom Post then you can exclude other Custom post except WP e-COMMERCE.
    Hope this helps some one….

Viewing 1 replies (of 1 total)
  • The topic ‘Custom HTML sitemap for WP e-COMMERCE’ is closed to new replies.