Menu

Different Product Layout by Category wise in wp-ecommerce

Hello Friend,

using this code you can display different product layout by category wise


if(wpsc_display_products()):
 if(wpsc_is_in_category()) :
       if(wpsc_category_id() == 89 || 
      wpsc_category_id() == 66 || 
      wpsc_category_id() == 62 || 
      wpsc_category_id() == 61)
      { 
         $menu = "menu1";

      }else
      {
         $menu = "menu2";
      }
  endif;
endif;

No comments

Leave a Reply


5 + 4 =

Categories