Rita Kikani
Forum Replies Created
-
Hi @eventaus,
You can write below code in your overridden template file :
<td><strong><?php _e('Ticket QTY:', 'wp-event-manager-sell-tickets'); ?></strong><br><span style="font-family:au; font-size:14px; padding:5px; color:#000;"> <?php foreach ($order->get_items() as $item) { $order_product_id = $item->get_product_id(); if($product_id == $order_product_id){ echo $item->get_quantity() .'<br/>'; } } ?></td>
If you have any further query then please continue in this thread.
Thank you.
Hi @gogata221,
The text for Load more button is coming from event-listings-end.php file, so to change the text, you need to override template file from wp-content\plugins\wp-event-manager\templates\event-listings-end.php to wp-content\themes\YOUR_THEME\wp-event-manager\event-listings-end.php and change at your theme side file.
You will get more about how to override template file from : https://wp-eventmanager.com/knowledge-base/template-files-override/
Thank you.
Hi @eventaus,
As registration is paid addon, you need to open support ticket on our site for related issue, our team will help to fix your issue regarding paid addon.
Thank you.
Hi @eventaus,
This is a woocommerce customization part, so I am not sure about above code, but I can guide you about to set product as private. As per my knowledge, you can not purchase any private product, so you must need to set it as a public first then only you can buy it. second, if you want to hide from normal users, then you need to set “Catalog visibility” as “Hidden” then you must need third party plugin to restrict the product to specific users or user roles. Plugins like WooCommerce Memberships or WooCommerce Private Store would be helpful to you.
After that, you need to override template file called, “content-tickets-details.php” from sell ticket plugin and in that file you need to add condition based on restriction to view ticket which you set in woo products.
I hope that this will help you to resolve your issue.
Thank you.
Hi @eventaus,
If you are getting an error “Sorry, this product cannot be purchased.”, then you need to check the product price, it may possible that product price is not added in cart and because of that you are getting this error.
Thank you.
Hi @eff16,
Sorry for the inconvenient and thank you for informing about the issue. I would like to inform you that this issue is resolved for our upcoming version, you can verify here : https://github.com/wpeventmanager/wp-event-manager/issues/1648. If you have urgency then you can use this version : https://github.com/wpeventmanager/wp-event-manager/tree/3_1_44, you just need to reset field-editor first then create same field with newer version, your issue would be resolve.
If you have any further query then please continue in this thread.
Thank you once again.
Hi @ejaganece,
I would like to inform you that above both the functions I had applied in my setup and working fine, in addition our plugin, there is no word “Plural:”, so could you please check is there any customized done from your end which include word “Plural:”.
Thank you.
Hi mluzvdb,
We would like you to inform that, we remove some code from our date-filter as they bother/disturb the speed of data retrieve from database. But, we provided filter so if any one wants to go with that code then they can easily use that filter and add that previous or new query arguments while filter the events.
This is the filter, which you can use at your theme side to change query argument, you can ask your developer that how you can use this.
apply_filters(‘get_event_listings_query_args’, $query_args, $args);
If you still have query then please continue in this thread, we will help you and guide you.
Thank you.
Hi @mluzvdb,
Yes, we update code because of some reason of code quality, but you can write again that same date filter query code by using filter apply_filters(‘get_event_listings_query_args’, $query_args, $args);
If you still have query then please continue in this thread, we will help you to resolve your issue.
Thank you.
Hi @amineriad,
Currently we do not have this feature in our plugin, So, you need to customize by your self to achieve this functionality.
To customize, you need to override template file called content-past_event_listing.php at your theme side, and in that file you can add your filter.
To know more about, How to override template file, you can read this doc : https://wp-eventmanager.com/knowledge-base/template-files-override/
Then you need to add query argument by using apply_filters(‘event_manager_past_event_listings_args’, $args_past) to get filtered record.
Thank you.
Hi @ejaganece,
You need to write below code in your theme functions.php file.
add_filter('event_manager_event_filters_showing_events_links', 'wpem_event_filters_showing_events_links', 10, 2); function wpem_event_filters_showing_events_links($links, $args){ unset($links['rss_link']); return $links; } add_filter('event_manager_get_listings_custom_filter_text', 'wpem_get_listings_custom_filter_text', 10, 2); function wpem_get_listings_custom_filter_text( $message, $search_values){ $message = "YOUR MESSAGE"; return $message; }
I hope this code will help you to resolve your issue.
Thank you.
Hi @ejaganece,
I am still not getting what exactly you want to change and remove from the event page. I had seen your image but please mention which part you want to remove, which part you want to show, where you want to add text in written in your image, so I can assist you.
Thank you.
Hi @eventaus,
As per our current version, we do not have this type of functionality, but you can create free ticket for your guest and allow them to register or you can create registration on behalf of them and provide them QR code.
Thank you.
Hi @eventaus,
You need to override template file called radio-field.php from wp-content\plugins\wp-event-manager\templates\form-fields to wp-content\themes\YOUR_CHILD_THEME\wp-event-manager\form-fields, then at your theme side file you need to override code with below :
<?php /** * Radio Field. Example definition: * * 'test_radio' => array( * 'label' => __( 'Test Radio', 'wp-event-manager' ), * 'type' => 'radio', * 'required' => false, * 'default' => 'option2', * 'priority' => 1, * 'options' => array( * 'option1' => 'This is option 1', * 'option2' => 'This is option 2' * ) * ) */ $field['default'] = empty($field['default']) ? current(array_keys($field['options'])) : $field['default']; $default = !empty($field['value']) ? $field['value'] : $field['default']; foreach ($field['options'] as $option_key => $value) : ?> <label> <input type="radio" name="<?php echo esc_attr(isset($field['name']) ? $field['name'] : $key); ?>" id="<?php echo esc_attr($key); ?>" attribute="<?php echo esc_attr(isset($field['attribute']) ? $field['attribute'] : ''); ?>" value="<?php echo esc_attr($option_key); ?>" <?php checked($default, $option_key); ?> /> <div><?php _e(esc_html($value)); ?></div> </label> <?php endforeach; if (!empty($field['description'])) : ?> <div class="radio-description"> <small class="description"> <?php echo wp_kses_post($field['description']); ?> </small> </div> <?php endif; ?>
Also, you need to add below css in your child theme css file :
.radio-description{ clear: both; }
I hope this script will use to resolve your issue.
Hi @ejaganece,
You can hide “RSS” link by applying below filter in your theme functions file.
apply_filters('event_manager_event_filters_showing_events_links',$links, $args);
To update or remove search message, you need to apply below filter in your theme functions file.
apply_filters('event_manager_get_listings_custom_filter_text', $message, $search_values);
If you have any further query then please let us know here, we will help you to resolve.
Thank you.