file update
This commit is contained in:
parent
cc70ebeac4
commit
9df61994b6
|
@ -236,21 +236,28 @@ ul.mep_rt_settings_list li {
|
|||
padding: 20px;
|
||||
border: 5px solid #0071a1;
|
||||
/* border-top: 0px; */
|
||||
width: 75%;
|
||||
float: left;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mage_settings_panel_wrap .nav-tab {
|
||||
float: left;
|
||||
float: none;
|
||||
border: 2px solid #0e678c;
|
||||
border-bottom: none;
|
||||
margin-left: .5em;
|
||||
margin-left: 0;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.71428571;
|
||||
line-height: 25px;
|
||||
font-weight: 600;
|
||||
background: #0071a1;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
}
|
||||
.mage_settings_panel_wrap .nav-tab.nav-tab-active {
|
||||
background: #5ea8c8;
|
||||
|
@ -341,4 +348,18 @@ div#mep_event_list_thumbnail_meta_boxes table td input#enable_global_qty {
|
|||
}
|
||||
#mep_event_list_thumbnail_meta_boxes .media_preview {
|
||||
width: 92%!important;
|
||||
}
|
||||
.wrap.mage_settings_panel_wrap {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h2.nav-tab-wrapper {}
|
||||
|
||||
.wrap.mage_settings_panel_wrap h2.nav-tab-wrapper {
|
||||
width: 20%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
float: left;
|
||||
}
|
|
@ -713,6 +713,13 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
'desc' => __('Enter Text For Hide Date Lists button', 'mage-eventpress'),
|
||||
'type' => 'text',
|
||||
'default' => 'Hide Date Lists'
|
||||
),
|
||||
array(
|
||||
'name' => 'mep_event_recurring_ribon_text',
|
||||
'label' => __('Recurring Ribon Text', 'mage-eventpress'),
|
||||
'desc' => __('Recurring Event ribon text', 'mage-eventpress'),
|
||||
'type' => 'text',
|
||||
'default' => 'Recurring Event'
|
||||
)
|
||||
|
||||
)),
|
||||
|
|
|
@ -215,9 +215,9 @@ function mep_checkout_validation($posted)
|
|||
function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $values, $order)
|
||||
{
|
||||
|
||||
$eid = array_key_exists('event_id', $values) ? $values['event_id'] : 0; //$values['event_id'];
|
||||
$location_text = mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress'));;
|
||||
$date_text = mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress'));;
|
||||
$eid = array_key_exists('event_id', $values) ? $values['event_id'] : 0; //$values['event_id'];
|
||||
$location_text = mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress')) ? mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress')) : 'Location';
|
||||
$date_text = mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) ? mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) : 'Date';
|
||||
if (get_post_type($eid) == 'mep_events') {
|
||||
$mep_events_extra_prices = $values['event_extra_option'];
|
||||
$cart_location = $values['event_cart_location'];
|
||||
|
@ -227,7 +227,8 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
|||
$form_position = mep_get_option('mep_user_form_position', 'general_attendee_sec', 'details_page');
|
||||
$event_user_info = $form_position == 'details_page' ? $values['event_user_info'] : mep_save_attendee_info_into_cart($eid);
|
||||
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
||||
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
|
||||
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
|
||||
|
||||
if ($recurring == 'yes') {
|
||||
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {
|
||||
foreach ($ticket_type_arr as $_event_recurring_date) {
|
||||
|
|
|
@ -2375,6 +2375,7 @@ function mep_hide_hidden_product_from_single(){
|
|||
if(is_product()){
|
||||
$post_id = $post->ID;
|
||||
$visibility = get_the_terms( $post_id, 'product_visibility' );
|
||||
if(is_object($visibility)){
|
||||
if($visibility[0]->name == 'exclude-from-catalog'){
|
||||
$check_event_hidden = get_post_meta($post_id,'link_mep_event',true) ? get_post_meta($post_id,'link_mep_event',true) : 0;
|
||||
if($check_event_hidden > 0){
|
||||
|
@ -2385,6 +2386,7 @@ function mep_hide_hidden_product_from_single(){
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue