Title: Time Duration options
Last modified: August 21, 2016

---

# Time Duration options

 *  Resolved [Mr Tibbs](https://wordpress.org/support/users/mtibesar/)
 * (@mtibesar)
 * [12 years ago](https://wordpress.org/support/topic/time-duration-options/)
 * Hello,
 * Could you please add a blank to the Time Duration options list?
 * Currently, there is Per Month, Per Week and Per Year selections but no way to
   not select any time duration at all.
 * This page refers: [http://jnlent.com/store/](http://jnlent.com/store/)
 * The photography packages listed are a one time purchase.
 * Thank you very much!
 * [https://wordpress.org/plugins/easy-pricing-table-manager/](https://wordpress.org/plugins/easy-pricing-table-manager/)

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

 *  [Chuck Burke](https://wordpress.org/support/users/sizzlemonkey/)
 * (@sizzlemonkey)
 * [12 years ago](https://wordpress.org/support/topic/time-duration-options/#post-5048550)
 * Yes, I would second this request.
 * The pricing table is great…to work well, but I would like to have an option for
   single sale as well…
 * Thank you for your time!
 *  [iografica](https://wordpress.org/support/users/iografica/)
 * (@iografica)
 * [12 years ago](https://wordpress.org/support/topic/time-duration-options/#post-5048602)
 * Yes i great if Time Duration options can be blank
 *  [bestb](https://wordpress.org/support/users/bestb/)
 * (@bestb)
 * [12 years ago](https://wordpress.org/support/topic/time-duration-options/#post-5048603)
 * Maybe its easier if you add additional option instead of having it blank, e.g.
   one time fee
 *  Thread Starter [Mr Tibbs](https://wordpress.org/support/users/mtibesar/)
 * (@mtibesar)
 * [12 years ago](https://wordpress.org/support/topic/time-duration-options/#post-5048606)
 * Little bump here please. We can’t use your plugin unless the Time duration options
   are expanded.
 * Thank you very much!
 *  [xabbu1974](https://wordpress.org/support/users/xabbu1974/)
 * (@xabbu1974)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/time-duration-options/#post-5048619)
 * Yea, same here. I like the look of the plugin but it makes me look stupid that
   I charge for photography or web design by the month. I need a way to delete that
   or blank option.
    [Joshua Self Photography Pricing Page](http://www.joshuaselfphotography.com/pricing/#)
   Thanks!
 *  [mlotorocks](https://wordpress.org/support/users/mlotorocks/)
 * (@mlotorocks)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/time-duration-options/#post-5048638)
 * If you’re comfortable editing the plugin it’s pretty easy, just have to change
   in a few files. Note though that if you update the plugin all of this will go
   away.
    In my case I want nothing at all, just the price. Here’s what I did:
 * In the file pricingtable.php look for:
 *     ```
       <span>/<?php if($row->time_duration=='2'){echo week;}
                                   else if($row->time_duration=='3'){ echo yr;}
                                   else { echo "mo";}?></span></span></li>
       ```
   
 * and replace with this:
 *     ```
       <span><?php if($row->time_duration=='2'){echo "/week";}
                                   else if($row->time_duration=='3'){ echo "/yr";}
                                   else if($row->time_duration=='4'){ ;}
   
                                   else { echo "/mo";}?></span></span></li>
       ```
   
 * Then find this:
 *     ```
       <span>/<?php if($row->time_duration=='2'){echo week;}
                                   else if($row->time_duration=='3'){ echo yr;}
                                   else { echo "mo";}?></span></span></li>
       ```
   
 * and change to this:
 *     ```
       <span><?php if($row->time_duration=='2'){echo "/week";}
                                   else if($row->time_duration=='4'){ ;}
   
                                   else if($row->time_duration=='3'){ echo "/yr";}
                                   else { echo "/mo";}?></span></span></li>
       ```
   
 * OK that’s it for that file.
    Then go into the inc folder (all other files will
   be in there as well) and open view_pricing_detail.php
 * Find this:
    `<td class="easy_pricing_list_title"><?php if($row->time_duration
   =="1"){ echo "Per Month";} else if($row->time_duration=="2"){ echo "Per Week";}
   else {echo "Per Year";}?></td>`
 * Change to this:
 *     ```
       <td class="easy_pricing_list_title"><?php if($row->time_duration=="1"){ echo "Per Month";} else if($row->time_duration=="2"){ echo "Per Week";} else if($row->time_duration=="3"){ echo "Per Year";}
   
                   else {echo "One Time Fee";}?></td>
       ```
   
 * In the file manage_pricing.php
    Find this:
 *     ```
       <tr><th><label>Time Duration</label></th><td>
                        <select name="time_duration">
                        <option value="1">Per Month</option>
                        <option value="2">Per Week</option>
                        <option value="3">Per Year</option>
       ```
   
 * change to this:
 *     ```
       <tr><th><label>Time Duration</label></th><td>
                        <select name="time_duration">
                        <option value="1">Per Month</option>
                        <option value="2">Per Week</option>
                        <option value="3">Per Year</option>
                        <option value="4">One-Time Fee</option>
       ```
   
 * In the file easy_pricing_edit.php
    Find this:
 *     ```
       <?php if(esc_attr($time_duration)=="1"){
       					echo '<option value="1">Per Month</option>';
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="3">Per Year</option>';
       				 }
       				else if(esc_attr($time_duration)=="2"){
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="3">Per Year</option>';
       					echo '<option value="1">Per Month</option>';
   
       				}
       				else if(esc_attr($time_duration)=="3"){
       					echo '<option value="3">Per Year</option>';
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="1">Per Month</option>';
       				}
       				 ?>
       ```
   
 * add replace with this:
 *     ```
       <?php if(esc_attr($time_duration)=="1"){
       					echo '<option value="1">Per Month</option>';
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="3">Per Year</option>';
       					echo '<option value="4">One Time Fee</option>';
   
       				 }
       				else if(esc_attr($time_duration)=="2"){
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="3">Per Year</option>';
       					echo '<option value="1">Per Month</option>';
       					echo '<option value="4">One Time Fee</option>';
   
       				}
       				else if(esc_attr($time_duration)=="3"){
       					echo '<option value="3">Per Year</option>';
       					echo '<option value="4">One Time Fee</option>';
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="1">Per Month</option>';
       				}
       				else if(esc_attr($time_duration)=="4"){
       					echo '<option value="4">One Time Fee</option>';
       					echo '<option value="2">Per Week</option>';
       					echo '<option value="1">Per Month</option>';
       					echo '<option value="3">Per Year</option>';
   
       				}
   
       				 ?>
       ```
   
 * It’s a lot but totally doable. Good luck!
 * *note you may have to also adjust the css to get the circles to look better, 
   at least in my case I needed to.

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

The topic ‘Time Duration options’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-pricing-table-manager_695250.
   svg)
 * [Easy Pricing Table](https://wordpress.org/plugins/easy-pricing-table-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-pricing-table-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-pricing-table-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-pricing-table-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-pricing-table-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-pricing-table-manager/reviews/)

 * 6 replies
 * 6 participants
 * Last reply from: [mlotorocks](https://wordpress.org/support/users/mlotorocks/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/time-duration-options/#post-5048638)
 * Status: resolved