Title: [Plugin: eShop] Edit product overview
Last modified: August 20, 2016

---

# [Plugin: eShop] Edit product overview

 *  Resolved [ukululu2](https://wordpress.org/support/users/ukululu2/)
 * (@ukululu2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/)
 * Hi,
    How i can edit the product template? I want to remove “additional options”
   from post body even they are active.
 * [http://wordpress.org/extend/plugins/eshop/](http://wordpress.org/extend/plugins/eshop/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102336)
 * There isn’t a product template in eShop. What “additional options” are you referring
   to? Can you post a link to an example?
 *  Thread Starter [ukululu2](https://wordpress.org/support/users/ukululu2/)
 * (@ukululu2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102338)
 * I want to remove what is inside the rectangle:
    [http://i49.tinypic.com/mirlx.jpg](http://i49.tinypic.com/mirlx.jpg)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102344)
 * Are these options sets?
 *  Thread Starter [ukululu2](https://wordpress.org/support/users/ukululu2/)
 * (@ukululu2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102345)
 * Yes, but i just want to remove that info from post body without unset this options.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102348)
 * Then you should be able to use CSS to hide the options – either by amending your
   theme’s CSS or your custom eshop.css file (see Appearance -> eShop). I suggest
   using Firefox with the Firebug add-on for this kind of CSS work.
    [http://getfirebug.com/](http://getfirebug.com/)
 *  Thread Starter [ukululu2](https://wordpress.org/support/users/ukululu2/)
 * (@ukululu2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102351)
 * Humm.. no way to hide it in php code?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102364)
 * No. sorry.
 *  Thread Starter [ukululu2](https://wordpress.org/support/users/ukululu2/)
 * (@ukululu2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102491)
 * So, where is the php code?
 *  Thread Starter [ukululu2](https://wordpress.org/support/users/ukululu2/)
 * (@ukululu2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102499)
 * **Solution:**
 * Go to eshop-shortcodes.php and remove this code:
 *     ```
       case 'optionset':
       				if(isset($eshop_product['optset'])){
       					$osets=$eshop_product['optset'];
       					$thclass='';
       					$thprice=__('Price','eshop');
       					if(isset($eshop_product['sale']) && $eshop_product['sale']=='yes'){
       						$thprice=__('Sale Price','eshop');
       						$thclass=' class="sale"';
       					}
       					if(is_array($osets)){
       						$listed.='<dt>'.__('Additional Options','eshop')."</dt>\n";
       						$listed.='<dd>';
       						$opttable=$wpdb->prefix.'eshop_option_names';
       						$optsettable=$wpdb->prefix.'eshop_option_sets';
       						foreach($osets as $optid){
       							$myrowres=$wpdb->get_results($wpdb->prepare("select name as optname, price,weight from $optsettable where optid='%d' ORDER by id ASC",$optid));
       							$egrab=$wpdb->get_row($wpdb->prepare("select * from $opttable where optid='%d' LIMIT 1",$optid));
       							if(isset($egrab->name)){
       								$ename=$egrab->name;
       								$etype=$egrab->type;
       								$edesc=$egrab->description;
       								$checkrows=sizeof($myrowres);
       								$i=1;
       								$tbody='';
       								foreach($myrowres as $myrow){
       									if($myrow->weight=='')
       										$myrow->weight='0';
       									$alt = ($i % 2) ? '' : ' class="alt"';
       									$tbody.="<tr".$alt.">\n".
       									'<th id="'.$eshopletter.'eshopnumrow'.$i.'" headers="'.$eshopletter.'eshopnum">'.$i.'</th>';
       									if(!in_array('option',$willhide))
       										$tbody.='<td headers="'.$eshopletter.'eshopoption '.$eshopletter.'eshopnumrow'.$i.'">'.stripslashes(esc_attr($myrow->optname)).'</td>';
       									if(!in_array('price',$willhide))
       										$tbody.='<td headers="'.$eshopletter.'eshopprice '.$eshopletter.'eshopnumrow'.$i.'"'.$thclass.'>'.sprintf( __('%1$s%2$s','eshop'), $currsymbol, number_format_i18n($myrow->price,__('2','eshop'))).'</td>';
       									if($eshopoptions['shipping']=='4' && !in_array('weight',$willhide)){
       										/* ,'1- weight 2-weight symbol' */
       										$tbody.='<td headers="'.$eshopletter.'eshopweight '.$eshopletter.'eshopnumrow'.$i.'">'.sprintf( __('%1$s %2$s','eshop'), number_format_i18n($myrow->weight,__('2','eshop')),$weightsymbol).'</td>';
       									}
       									$tbody.="</tr>\n";
       									$i++;
       								}
       								$listed.='<strong>'.stripslashes(esc_attr($ename)).'</strong><br />';
       								$listed.=nl2br(stripslashes(esc_attr($edesc)));
       								$listed.='<table class="eshop" summary="'.__('Product Options by option and price','eshop').'">
       								<thead><tr>
       								<th id="'.$eshopletter.'eshopnum">#</th>';
       								if(!in_array('option',$willhide))
       									$listed.='<th id="'.$eshopletter.'eshopoption">'.__('Option','eshop').'</th>';
       								if(!in_array('price',$willhide)){
       									$listed.='<th id="'.$eshopletter.'eshopprice"'.$thclass.'>'.$thprice.'</th>';
       								}
       								if($eshopoptions['shipping']=='4' && !in_array('weight',$willhide))
       									$listed.='<th id="'.$eshopletter.'eshopweight">'. __('Weight','eshop').'</th>';
       								$listed.='</tr></thead><tbody>'."\n";
       								$listed.=$tbody;
       								$listed.='</tbody></table>'."\n";
       								$eshopletter++;
       							}
       						}
       						$listed.="</dd>\n";
       					}
       				}
       				break;
       ```
   
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102507)
 * Please be aware that, if you hack the plugin’s code, we can no longer offer you
   any support.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘[Plugin: eShop] Edit product overview’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eshop_d6e4b8.svg)
 * [eShop](https://wordpress.org/plugins/eshop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eshop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eshop/)
 * [Active Topics](https://wordpress.org/support/plugin/eshop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eshop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eshop/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-eshop-edit-product-overview/#post-3102507)
 * Status: resolved