Variable pricing?
-
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.