shashikant1991
Forum Replies Created
-
We have just purchased it. Anyways thanks for the revert. Will get back there.
Hi Aswin,
Unfortunately I have tried the custom tab with short code method (ultimate member custom form short code). Below is the code for your reference. It shows 503 service service unavailable once updated.
function um_mycustomtab_add_tab( $tabs ) { $tabs[ 'mycustomtab' ] = array( 'name' => 'My Custom', 'icon' => 'um-faicon-pencil', 'custom' => true ); UM()->options()->options[ 'profile_tab_' . 'mycustomtab' ] = true; return $tabs; } add_filter( 'um_profile_tabs', 'um_mycustomtab_add_tab', 1000 ); /** * Render tab content * * @param array $args */ function um_profile_content_mycustomtab_default( $args ) { echo do_shortcode( '[ultimatemember form_id="577" = "true"]' ); } add_action( 'um_profile_content_mycustomtab_default', 'um_profile_content_mycustomtab_default' );Also, I have created a drop down for application status as discussed above but unfortunately it is not showing on the profile page. Attaching a few screenshots for your reference.
I have done the code for showing the submitted data in the table format in wordpress admin panel in a separate page. Just waiting for showing a form (ultimate member built in form) in the extra tab & application reject or processing which you have suggested earlier. Please help
Thanks
Hi Aswin,
I have added a custom tab to the user profile page and removed all the other default tabs. Can you help how to add the form created under forms to display under that tab? Is this through coding we will be achieving?
Also, unable to add a user field as suggested by you. This plugin is something new to me. Can you please help?
Thanks
Hi Aswin,
Thank you so much for the response.
Let me follow what you have mentioned and get back if I still face any issues. I am not sure if I can manage the customization. But surely let me try this first.
One questions, what is the difference between an account page and profile page? I just need a customer / client dashboard for the user who registers on the website and I need the application / form to be submitted and create an application with status that’s it. Admin will review the details submitted by the user and takes a decision to approve or reject.
Also if possible wanted to show the documents submitted by the user in his/her dashboard or profile page itself so that they feel secure as these are important / identity related documents.
Thanks
ShashikantHi,
Unfortunately this custom code isn’t working on our website but the same was working on the screen shot / video shared above.
We have just started working on the website and apart from astra theme, woocommerce and elementor, we have nothing installed on the website.Please try helping us as this is one of the main feature we are looking at in the website.
As you said we can wait for someone to revert back on this.
Thanks
Hi Please find the below status report.
` ### WordPress Environment ### WordPress address (URL): https://www.4seasonsvizag.com Site address (URL): https://www.4seasonsvizag.com WC Version: 8.3.1 REST API Version: ✔ 8.3.1 WC Blocks Version: ✔ 11.4.9 Action Scheduler Version: ✔ 3.6.4 Log Directory Writable: ✔ WP Version: 6.4.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.1.24 PHP Post Max Size: 2 GB PHP Time Limit: 360 PHP Max Input Vars: 5000 cURL Version: 7.87.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 10.6.15-MariaDB-cll-lve Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.3.1 WC Database Prefix: wp_ Total Database Size: 21.34MB Database Data Size: 18.62MB Database Index Size: 2.72MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 3.41MB + Index: 0.06MB + Engine InnoDB wp_postmeta: Data: 8.48MB + Index: 0.34MB + Engine InnoDB wp_posts: Data: 5.50MB + Index: 0.09MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 26 customize_changeset: 3 elementor_library: 7 nav_menu_item: 7 page: 7 post: 2 product: 1 product_variation: 16 revision: 446 seedprod: 1 shop_order_placehold: 1 wapf_product: 1 wp_global_styles: 2 wp_navigation: 1 wp_template: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (8) ### Advanced Product Fields Pro for WooCommerce: by StudioWombat – 2.7.6 Code Snippets: by Code Snippets Pro – 3.6.2 Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.15.3 Elementor Pro: by Elementor.com – 3.17.1 Elementor: by Elementor.com – 3.17.3 Hostinger: by Hostinger – 1.9.5 Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.29 WooCommerce: by Automattic – 8.3.1 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: INR (₹) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ✔ HPOS feature screen enabled: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – ### WC Pages ### Shop base: #6 - /shop Cart: #7 - /cart Checkout: #8 - /checkout My account: #9 - /my-account Terms and conditions: ❌ Page not set ### Theme ### Name: Astra Version: 4.5.1 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-virtual-downloadable product-external-affiliate settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2023-12-01 07:55:54 +05:30 Options: ✔ Notes: 66 Onboarding: - ### Action Scheduler ### Complete: 103 Oldest: 2023-11-21 07:57:24 +0000 Newest: 2023-11-30 10:49:04 +0000 Failed: 2 Oldest: 2023-11-21 07:58:37 +0000 Newest: 2023-11-30 07:28:56 +0000 Pending: 1 Oldest: 2023-12-01 05:38:28 +0000 Newest: 2023-12-01 05:38:28 +0000 ### Status report information ### Generated at: 2023-11-30 18:50:50 +05:30 `- This reply was modified 2 years, 6 months ago by shashikant1991.
Hi Tamrat,
I have tried both your codes. The first one is working fine (default variation selection).
But the second code, updating the variation price in place of the main price isn’t working fine. It has hidden the price above the add to cart button but the main price isn’t changing as per variation selection.
I am using elementor + astra theme no other plugins.
Can you please help here.
Hi Tamrat,
Thank you very much for your instant response.
To achieve this, you can use the “Default Form Values” option on the “Variations” tab in your WooCommerce settings. This will allow you to set the first variation/swatch as the default selection on the product page.
I have tried this and it works perfectly fine on the product page. I hope this works / shows the default price in the shop / category page as well.
I also have tried using the given code and it seems working perfectly fine.
Just wanted one more help if that possible. Currently the default or first variation’s price is shown on the product page after I update this code using snippets plugin. But on change of variation drop down the price is updated just above the add to cart which is actually confusing the users. Can we get the price updated once variation is selected or change at the main price place only?
To be clear I would like to update the main price when user changes the variation.Thanks