Support » Plugin: WooCommerce » Make The Edited Register Page Stable and Get Rid of Double Click Logout

  • Resolved emregokteoe

    (@emregokteoe)


    Hello to you all,

    I am using one of the woodmart built-in themes and have 2 issues (I think they are so easy to do but couldn’t find any solution on internet which works well) one is about register page link on the sidebar login are and the logout confirmation.

    1) When you go to our website which is http://www.fitovision.com and click on Login/Register button on the right top of the page a sidebar widget comes out. I have changed the Create An Account link to my custom page but because I did this on the integration page of woocommerce to the theme, when I get any update it goes back. So looking for a hook or function codes to add to the child theme functions page to keep it there forever even if I get any update. Could you please tell me how to do that? I have asked this to the theme editors support page but they said it belongs to woocommerce so asked me to open a ticket here.

    2) Second one is when you login to the page we have an dropdown menu on the top on the place of Login/Register link. And there is Log Out link on the at dropdown menu. When I click it it goes to My Account page and when I click there again it logs out. I have read and applied too many ways to bypass the logout confirmation on first click but none of them worked as I realised that they were all old dated posts. So I thought after some time and your updates it should be forced by the wocoommerce to do it. But my clients definitely do not want it. Is there again anything else I can do for that to log out on the first click? And keep it there with adding to the child theme functions page?

    Thank you for replies instead.

    Emre GOKTEPE

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Saif H. (woo-hc)

    (@babylon1999)

    Hello @emregokteoe,

    Seems like your site is heavily customised, I’m not sure what can be done here as this forum is for WooCommerce-related questions. Nonetheless, we’ll be more than happy to take a look if you can answer the questions below.

    • First, your site’s link is broken, can you please fix it and attach some screenshots to help us understand the problem better?
    • You mention doing these changes from the Integration page but by default, there is no option to change these settings from there, Screenshot.
    • Also, please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.
    • Look forward to hearing back from you.

    Thread Starter emregokteoe

    (@emregokteoe)

    1) Im so sorry that I have tried to write http://www.fitovision.net my fault. This is the website.

    2) I have mentioned the right path of the integration page of the theme from this LINK

    3) As you can see on Screenshot 1 I want to change that ‘Create An Account’ link with my custom link (which Im using now) but as I have asked to the theme coder, they said this is a part of woocommerce so I need to ask to you to put the right function code to the child theme to change it with my custom register page so it can stay there even the theme gets an update.

    4) And my other problem is when you click on the sign out link from top menu the one I have marked on this Screenshot 2 It goes to my account page for a confirmation. But I want the customer to be logged out directly when they click on this Log Out link. I have seen too many functions with a title of bypass woocommerce logout confirmation but none of them worked unfortunately. Could you please also help me with this?

    5) My Sytem Report

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://fitovision.net
    Site address (URL): https://fitovision.net
    WC Version: 7.0.0
    REST API Version: ✔ 7.0.0
    WC Blocks Version: ✔ 8.5.1
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.2
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: tr_TR
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.32
    PHP Post Max Size: 128 MB
    PHP Time Limit: 3000
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.30-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.9.4
    WC Database Prefix: wp_
    Toplam veritabanı boyutu: 30.44MB
    Veritabanı veri boyutu: 27.51MB
    Veritabanı indis boyutu: 2.93MB
    wp_woocommerce_sessions: Veriler: 0.13 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_woocommerce_api_keys: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_woocommerce_attribute_taxonomies: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_woocommerce_downloadable_product_permissions: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB
    wp_woocommerce_order_items: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_woocommerce_order_itemmeta: Veriler: 0.05 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_woocommerce_tax_rates: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB
    wp_woocommerce_tax_rate_locations: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_woocommerce_shipping_zones: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_woocommerce_shipping_zone_locations: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_woocommerce_shipping_zone_methods: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_woocommerce_payment_tokens: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_woocommerce_payment_tokenmeta: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_woocommerce_log: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_actionscheduler_actions: Veriler: 0.13 MB + Dizin: 0.14 MB + Motor InnoDB
    wp_actionscheduler_claims: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_actionscheduler_groups: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_actionscheduler_logs: Veriler: 0.11 MB + Dizin: 0.09 MB + Motor InnoDB
    wp_commentmeta: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_comments: Veriler: 0.02 MB + Dizin: 0.09 MB + Motor InnoDB
    wp_e_events: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_iyzico_card: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_iyzico_order: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_links: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_litespeed_url: Veriler: 0.01 MB + Dizin: 0.03 MB + Motor MyISAM
    wp_litespeed_url_file: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor MyISAM
    wp_options: Veriler: 6.47 MB + Dizin: 0.16 MB + Motor InnoDB
    wp_postmeta: Veriler: 10.52 MB + Dizin: 0.77 MB + Motor InnoDB
    wp_posts: Veriler: 8.52 MB + Dizin: 0.22 MB + Motor InnoDB
    wp_revslider_css: Veriler: 0.13 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_css_bkp: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_layer_animations: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_revslider_layer_animations_bkp: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_revslider_navigations: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_revslider_navigations_bkp: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_revslider_sliders: Veriler: 0.03 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_sliders_bkp: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_slides: Veriler: 0.13 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_slides_bkp: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_static_slides: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_revslider_static_slides_bkp: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_smush_dir_images: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_term_relationships: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_term_taxonomy: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_termmeta: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_terms: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_um_metadata: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_usermeta: Veriler: 0.11 MB + Dizin: 0.08 MB + Motor InnoDB
    wp_users: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor InnoDB
    wp_vtprd_purchase_log: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_vtprd_purchase_log_product: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_vtprd_purchase_log_product_rule: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_vtprd_transient_cart_data: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wc_admin_note_actions: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_wc_admin_notes: Veriler: 0.05 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_wc_category_lookup: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_wc_customer_lookup: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_wc_download_log: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_wc_order_coupon_lookup: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_wc_order_product_lookup: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB
    wp_wc_order_stats: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor InnoDB
    wp_wc_order_tax_lookup: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB
    wp_wc_product_attributes_lookup: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_wc_product_download_directories: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_wc_product_meta_lookup: Veriler: 0.02 MB + Dizin: 0.09 MB + Motor InnoDB
    wp_wc_rate_limits: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_wc_reserved_stock: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    wp_wc_tax_rate_classes: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_wc_webhooks: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_wccs_condition_meta: Veriler: 0.00 MB + Dizin: 0.01 MB + Motor MyISAM
    wp_wccs_conditions: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdp_order_items: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdp_orders: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdp_persistent_rules_cache: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdp_rules: Veriler: 0.06 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdr_order_discounts: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdr_order_item_discounts: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_wdr_rules: Veriler: 0.00 MB + Dizin: 0.00 MB + Motor MyISAM
    wp_woodmart_wishlist_products: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB
    wp_woodmart_wishlists: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB
    
    ### Post Type Counts ###
    
    attachment: 446
    cms_block: 22
    custom_css: 1
    customize_changeset: 9
    elementor_library: 1
    mc4wp-form: 1
    nav_menu_item: 54
    oembed_cache: 1
    page: 32
    portfolio: 9
    post: 15
    product: 65
    product_variation: 8
    rcbp-rule: 1
    revision: 533
    shop_coupon: 4
    shop_order: 25
    um_directory: 1
    um_form: 5
    woodmart_sidebar: 1
    woodmart_size_guide: 1
    wp_global_styles: 2
    wpcf7_contact_form: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (13) ###
    
    Advanced Dynamic Pricing for WooCommerce: (AlgolPlus) – 4.1.5
    Contact Form 7: (Takayuki Miyoshi) – 5.6.3
    Elementor: (Elementor.com) – 3.7.8
    Hezarfen For Woocommerce: (Intense Yazılım Ltd.) – 1.4.9
    iyzico WooCommerce: (iyzico) – 3.1.3
    LiteSpeed Cache: (LiteSpeed Technologies) – 5.2.1
    Loco Translate: (Tim Whitlock) – 2.6.2
    MC4WP: Mailchimp for WordPress: (ibericode) – 4.8.10
    Slider Revolution: (ThemePunch) – 6.5.31
    Safe SVG: (10up) – 2.0.3
    Ultimate Member: (Ultimate Member) – 2.5.0
    WooCommerce: (Automattic) – 7.0.0
    Woodmart Core: () – 1.0.35
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: object-cache.php
    
    ### Must Use Plugins (1) ###
    
    Elementor Safe Mode: (Elementor.com) – 1.0.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: TRY (₺)
    Currency Position: right
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    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: ✔
    
    ### WC Pages ###
    
    Mağaza giriş sayfası: #8 - /magaza/
    Sepet sayfası: #9 - /sepet/
    Ödeme sayfası: #10 - /odeme/
    Hesabım sayfası: #11 - /hesabim/
    Şartlar ve koşullar: #9167 - /site-kullanim-sartlari/
    
    ### Theme ###
    
    Name: Woodmart Child
    Version: 1.0.0
    Author URL: http://xtemos.com
    Child Theme: ✔
    Parent Theme Name: Woodmart
    Parent Theme Version: 7.0.2
    Parent Theme Author URL: http://themeforest.net/user/xtemos
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: woodmart/woocommerce/archive-product.php
    woodmart/woocommerce/cart/cart-item-data.php
    woodmart/woocommerce/cart/cart.php
    woodmart/woocommerce/cart/cross-sells.php
    woodmart/woocommerce/cart/mini-cart.php
    woodmart/woocommerce/checkout/form-checkout.php
    woodmart/woocommerce/checkout/thankyou.php
    woodmart/woocommerce/content-product-cat.php
    woodmart/woocommerce/content-product.php
    woodmart/woocommerce/content-single-product.php
    woodmart/woocommerce/content-widget-product.php
    woodmart/woocommerce/global/breadcrumb.php
    woodmart/woocommerce/global/form-login.php
    woodmart/woocommerce/global/quantity-input.php
    woodmart/woocommerce/loop/add-to-cart.php
    woodmart/woocommerce/loop/loop-end.php
    woodmart/woocommerce/loop/loop-start.php
    woodmart/woocommerce/loop/no-products-found.php
    woodmart/woocommerce/loop/orderby.php
    woodmart/woocommerce/loop/pagination.php
    woodmart/woocommerce/loop/sale-flash.php
    woodmart/woocommerce/myaccount/form-login.php
    woodmart/woocommerce/product-searchform.php
    woodmart/woocommerce/single-product/add-to-cart/grouped.php
    woodmart/woocommerce/single-product/add-to-cart/variable.php
    woodmart/woocommerce/single-product/meta.php
    woodmart/woocommerce/single-product/product-attributes.php
    woodmart/woocommerce/single-product/product-image.php
    woodmart/woocommerce/single-product/product-thumbnails.php
    woodmart/woocommerce/single-product/rating.php
    woodmart/woocommerce/single-product/related.php
    woodmart/woocommerce/single-product/sale-flash.php
    woodmart/woocommerce/single-product/tabs/description.php
    woodmart/woocommerce/single-product/tabs/tabs.php
    woodmart/woocommerce/single-product/title.php
    woodmart/woocommerce/single-product/up-sells.php
    woodmart/woocommerce/single-product.php
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    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: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-10-12 07:38:44 +03:00
    Options: ✔
    Notes: 50
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Tamamla: 395
    Oldest: 2022-09-26 13:30:44 +0000
    Newest: 2022-10-11 19:55:45 +0000
    
    Başarısız: 1
    Oldest: –
    Newest: –
    
    Bekleyen: 1
    Oldest: 2022-10-12 10:41:08 +0000
    Newest: 2022-10-12 10:41:08 +0000
    
    ### Status report information ###
    
    Generated at: 2022-10-12 00:03:29 +03:00
    
    Plugin Support Saif H. (woo-hc)

    (@babylon1999)

    Hello @emregokteoe,

    3) As you can see on Screenshot 1 I want to change that ‘Create An Account’ link with my custom link (which Im using now) but as I have asked to the theme coder, they said this is a part of woocommerce so I need to ask to you to put the right function code to the child theme to change it with my custom register page so it can stay there even the theme gets an update.

    If I understand you correctly, you want to change the link to the registration page. 🙂

    First, in WooCommerce the login and registration is on the same page. Seems like you’ve separated the two using a plugin, custom code or theme.

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.