charakad 0 Report post Posted May 2, 2011 I recently updated the WP E-commerce plugin to 3.8 version which * Utilize custom post types for products * Utilize custom taxonomy for categories and variations. However it does not work with EcoPro. Main products page works fine. http://www.lakmatea.dreamhosters.com/products-page which shows all products (2). There are 2 categories (black and green). Accessible on http://www.lakmatea.dreamhosters.com/products-page/black http://www.lakmatea.dreamhosters.com/products-page/green Products are accessible on http://www.lakmatea.dreamhosters.com/products-page/black/earl-grey/ But products does not show as the main page. It shows as posts for both categories and single product pages. I guess you could help me on this. Could you please let me know how to get the category pages and single product pages fixed up like the product page. Thank you Charaka Share this post Link to post Share on other sites
cmunns 16 Report post Posted May 3, 2011 well it looks like the single product page is working fine to me. Is category pages supposed to work out of the box for this or do you have to include a template tag/php? Share this post Link to post Share on other sites
charakad 0 Report post Posted May 4, 2011 Thanks for your reply Adam. Formatting of the product is fine. However some of elements are missing 1. Product name in the carousel section which shows as "the latest" 2. submenus (checkout, transaction results, your account) like in the products page. (http://www.lakmatea.dreamhosters.com/products-page/) Category page and single product pages are supposed to work out of the box. Pages structure are shown below and template tags that are used is shown too Products [productspage] |____ Checkout [checkout] |____ Transaction results [transactionresults] |____ Your account [userlog] Any category or single product pages is derived from [productspage]. Tile of the page is dereived from the category name or single product name. All these pages should show the above submenus in the ecopro submenu section. Basically these sub-pages are a clone of the productspage other than the main content. Appreciate your help. Regards Charaka Share this post Link to post Share on other sites
cmunns 16 Report post Posted May 5, 2011 If you add a e-commerce category widget and click on one of those links, what do you get? the same thing? Share this post Link to post Share on other sites
charakad 0 Report post Posted May 5, 2011 Thanks Adam, If I put the category code, it shows the product under that category in the correct way. I have put it now. http://www.lakmatea.dreamhosters.com/products-page/ I think the post by Hanna Iris in this forum post is perhaps the way to solve this. http://getshopped.org/forums/topic.php?id=19136 Why Custom Post Type theming is broken in WordPress http://www.leewillis.co.uk/wordpress-custom-post-type-theming-is-broken/ Thanks again Charaka Share this post Link to post Share on other sites
charakad 0 Report post Posted May 10, 2011 Hi Adam, With the new release of WP e-commerce (3.8.3), we need to have the following pages in the theme folder. - single-wpsc-product.php to show the single product pages - taxonomy-wpsc_product_category.php to show the products by category I am not a programmer to combine all relevant ecopro pieces of codes to put into these pages. But I could see that it is the way to do it. I have managed to change the page title for category and single product so far. Manage to put the subnav. But it does not list the correct pages. Appreciate your help to 1. get the subnav (to show the child page of the Products page) 2. replicate the formatting of the product's main page on the category page Thanks and Regards Charaka Share this post Link to post Share on other sites
charakad 0 Report post Posted May 10, 2011 Hi Adam, I managed to get this done except for sub nav. Could you please help to fix up the sub nav. Categories page http://www.lakmatea.dreamhosters.com/?wpsc_product_category=green Single Product Page http://www.lakmatea.dreamhosters.com/?wpsc-product=earl-grey Thank you Charaka Share this post Link to post Share on other sites
cmunns 16 Report post Posted May 10, 2011 The subnav if 3-levels deep will display in the sidebar as they do already. Share this post Link to post Share on other sites
charakad 0 Report post Posted May 11, 2011 Thanks Adam for your help. But I do not need it in the sidebar. I manged to get this done by hard coding it (".$page_id='4'.") <?php echo wp_list_pages("title_li=&depth=1&child_of=".$page_id='4'."&echo=0&sort_column=menu_order");?> If you show me a better way to do put it, it is very much appreciated. Thanks Charaka Share this post Link to post Share on other sites