Title: Variable pricing?
Last modified: August 22, 2016

---

# Variable pricing?

 *  [ericbullet](https://wordpress.org/support/users/ericbullet/)
 * (@ericbullet)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-pricing-1/)
 * I’m using confit and the food menu.
 * However for espresso drinks we have two sizes single and double.
 * is it possible to have two prices?
 * say if I took the following code from nova.php:
 *     ```
       function menu_item_columns( $columns ) {
       		unset( $columns['date'], $columns['likes'] );
   
       		$columns['thumbnail'] = __( 'Thumbnail', 'jetpack' );
       		$columns['labels']    = __( 'Labels',    'jetpack' );
       		$columns['price']     = __( 'Price',     'jetpack' );
       		$columns['order']     = __( 'Order',     'jetpack' );
   
       		return $columns;
       	}
       '
       ```
   
 * added it to functions.php (in a child theme) and changed it to:
 *     ```
       function menu_item_columns( $columns ) {
       		unset( $columns['date'], $columns['likes'] );
   
       		$columns['thumbnail'] = __( 'Thumbnail', 'jetpack' );
       		$columns['labels']    = __( 'Labels',    'jetpack' );
       		$columns['price']     = __( 'Single',     'jetpack' );
                      $columns['price']     = __( 'Double',     'jetpack' );
       		$columns['order']     = __( 'Order',     'jetpack' );
   
       		return $columns;
       	}
       ```
   

The topic ‘Variable pricing?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ericbullet](https://wordpress.org/support/users/ericbullet/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/variable-pricing-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
