WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] Custom HTML sitemap for WP e-COMMERCE (2 posts)

  1. mings
    Member
    Posted 5 months ago #

    Hello,
    Greetings!
    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!
    Thankyou!

    https://wordpress.org/plugins/wp-e-commerce/

  2. mings
    Member
    Posted 4 months ago #

    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....

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.