Could also be nice with an option to show(or not show) Manufacturer and category, so we don't have to find it in ec_product_details_page.php around line 880...
The picture show the changes I made to the code:
1) "Per Person"
2) Removed Manufactorer
3) Removed Category
When selling a service, there are no manufactorers and as for category, personally, it is only for my own use for now...
Code:
<?php if( get_option( 'ec_option_show_categories' ) ){ ?> <?php if( count( $this->product->categoryitems ) > 0 ){ ?><div class="ec_details_categories"><?php /* echo $GLOBALS['language']->get_text( 'product_details', 'product_details_categories' ); */ ?> <?php /* $categoryitems = array( ); foreach( $this->product->categoryitems as $categoryitem ){ $categoryitems[] = '<a href="' . $this->product->get_category_link( $categoryitem->post_id, $categoryitem->category_id ) . '">' . $categoryitem->category_name . '</a>'; } echo implode( ', ', $categoryitems ); */ ?></div><?php }?> <?php }?> <?php if( get_option( 'ec_option_show_manufacturer' ) ){ ?> <div class="ec_details_manufacturer"><?php /* echo $GLOBALS['language']->get_text( 'product_details', 'product_details_manufacturer' ); */ ?> <a href="<?php echo $this->product->get_manufacturer_link( ); ?>"><?php /* echo $this->product->manufacturer_name; */ ?></a></div> <?php }?>
1) "Per Person"
2) Removed Manufactorer
3) Removed Category
When selling a service, there are no manufactorers and as for category, personally, it is only for my own use for now...
Comment