Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1339052
    riwaro
    Participant

    Hello,

    On the customer account page I would like to add a link directly to the shop. That should work? 2. How do I move the page title (My Account) further to the right?
    attached a picture
    Many greetings Thomas

    #1339328
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    1) Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. We’re afraid that it won’t be as simple as some CSS code. We would need to edit some woocommerce php, or write some scripts. You may wish to consult a developer to assist you with this.

    2) Could you please provide us with your website URL so we can take a closer look?

    Thanks.

    #1339456
    riwaro
    Participant
    This reply has been marked as private.
    #1339466
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .woocommerce-account header.x-header-landmark.x-container.max.width {
        display: none;
    }

    Hope that helps.

    #1339472
    riwaro
    Participant

    Hello,

    I have entered the code in the css. But has nothing to do with the link in the shop?
    🙂

    Thomas

    #1339482
    Christopher
    Moderator

    Please update account page to :

    <div class="x-column x-2-3">[woocommerce_my_account]</div>
    <div class="x-column x-1-3">[button type="real" shape="square" size="mini" href="http://kwonro.riwaro.de/shop/" title="Example"]shop[/button]</div>

    Hope it helps.

    #1339483
    riwaro
    Participant

    I found this plugin – WooCommerce Login. I hope it works.

    #1339484
    riwaro
    Participant

    this code in the css?

    <div class=”x-column x-2-3″>[woocommerce_my_account]</div>
    <div class=”x-column x-1-3″>[button type=”real” shape=”square” size=”mini” href=”http://kwonro.riwaro.de/shop/&#8221; title=”Example”]shop[/button]</div>

    #1339486
    Rue Nel
    Moderator

    Hello There,

    Please let us know if the plugin works out for you.

    And by the way, this is not a css code. It is a valid html code and you should only place this in the page content description.

    Hope this helps.

    #1339487
    riwaro
    Participant

    ist this the my-account.php ?

    #1339490
    riwaro
    Participant

    “And by the way, this is not a css code. It is a valid html code and you should only place this in the page content description.”

    Clear. Just worked very long tonight …..

    #1339503
    riwaro
    Participant

    Hello,

    now we almost have it.
    1. The button should be slightly larger.
    2. The text comes twice. Probably the wrong position in the my-account.php

    <? Php
    / **
    * My Account page
    *
    * This template can be overridden by copying it to yourtheme / woocommerce / myaccount / my-account.php.
    *
    * HOWEVER, on occasion WooCommerce will need to update template files and you
    * (The theme developer) will need to copy the new files to your theme to
    * Maintain compatibility. We try to do this as little as possible, but it does
    * Happen. When this happens the version of the template file will be bumped and
    * The readme will list any important changes.
    *
    * @see https://docs.woocommerce.com/document/template-structure/
    * @author WooThemes
    * @package WooCommerce / Templates
    * @version 2.6.0
    * /

    If (! Defined (‘ABSPATH’)) {
    Exit;
    }

    Wc_print_notices ();

    / **
    * My Account navigation.
    * @since 2.6.0
    * /
    Do_action (‘woocommerce_account_navigation’); ?>

    <Div class = “woocommerce-MyAccount-content”>
    <? Php
    / **
    * My Account content.
    * @since 2.6.0
    * /
    Do_action (‘woocommerce_account_content’);
    ?>
    <Div class = “x-column x-2-3”> [woocommerce_my_account] </ div>
    <Div class = “x-column x-1-3”> [button type = “real” shape = “square” size = “mini” href = “http://kwonro.riwaro.de/shop/&#8221; title = “Example”] Shop [/ button] </ div>
    </ Div>

    #1339529
    Christopher
    Moderator

    Hi there,

    There is duplicated content, since you have shortcode in this page http://kwonro.riwaro.de/wp-admin/post.php?post=8964&action=edit
    In previous replay https://community.theme.co/forums/topic/my-account-page-with-link-to-the-shop/#post-1339482, I was referring to updating this shortcode to the one I provided.

    So please do one of the following methods:

    #1 Follow my previous replay https://community.theme.co/forums/topic/my-account-page-with-link-to-the-shop/#post-1339482, update shortcode and disable your plugin.

    #2 Or enable plugin and remove [woocommerce_my_account] shortcode from account page. Also remove folloiwg code :

    <Div class = “x-column x-2-3”> [woocommerce_my_account] </ div>
    <Div class = “x-column x-1-3”> [button type = “real” shape = “square” size = “mini” href = “http://kwonro.riwaro.de/shop/” title = “Example”] Shop [/ button] </ div>

    Hope it helps.

    #1339535
    riwaro
    Participant

    Hello
    I would like to use the code. Property but the wrong position in the php. Where exactly must the code pure

    #1339543
    riwaro
    Participant

    Hello
    I changed it. Only the button to the shop and the link are not displayed correctly.

    Thomas

  • <script> jQuery(function($){ $("#no-reply-1339052 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>