• Resolved webaffin

    (@webaffin)


    Hi,

    in your new version you introduced the new item in my account “communication preferences”.

    Is it possible to hide? I do not want to use it.

    If no, how can I change url slug to this item? I am located in Germany and so I would like to have a German slug. I neither found anything to change slug name in plugin preferences nor in WooCommerce endpoints configuration.

    Thanks for help,
    Robert

    • This topic was modified 4 years, 4 months ago by webaffin.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support damianmachnik

    (@damianmachnik)

    Hi Robert,

    You can remove Communication Preferences from the My Account tab with a filter.

    Try this code:

    add_filter( 'shopmagic/core/communication_type/account_page_show', '__return_false' );

    Thank you for using our plugin ??

    Plugin Support damianmachnik

    (@damianmachnik)

    I am marking this topic as resolved. If you have any issues, please respond.

    Thread Starter webaffin

    (@webaffin)

    Yeah, thanks for the tip. It worked! Greetings.

    Plugin Support damianmachnik

    (@damianmachnik)

    Great to hear ?? Thanks for the confirmation.

    Hi

    I am a bit green at using code, could you tell where should I put the above code with elementor or wordpress editor, many thanks.

    Andy

    Plugin Support damianmachnik

    (@damianmachnik)

    Hi @lazylemon,

    The easiest way to do it will be with another plugin.

    For example, you can download and activate Code Snippets and create a new snippet within it.

    Here’s an example for you – https://imgur.com/a/G9zBF7y

    Hi @damianmachnik,

    I will try it, thanks a lot

    Could you please tell us how to use the communications option in my account page? I know how to hide it but I want to know what it does. It just goes to 404 error when I click on it.

    Plugin Support damianmachnik

    (@damianmachnik)

    Hi @jayxe2727

    Here’s an article from our blog, which explains communication options in ShopMagic https://shopmagic.app/blog/shopmagic-2-8-is-here/

    If you see a 404 error, kindly check the communication-preferences webpage – is it still there? It should be automatically added by ShopMagic and contains a shortcode [shopmagic_communication_preferences] only.

    If this webpage is deleted, it can throw a 404 error. If it was deleted, you need to recreate it. To accomplish this, you need to:

    1. Go to your pages listing in WordPress dashboard and find page you want to use for Communication preferences.
    2. Get the ID of the page (you can find it, e.g. entering the editor and looking for ?post={ID} in URL. Make sure content of the page contains shortcode [shopmagic_communication_preferences].
    3. Log into your database management interface (e.g phpMyAdmin).
    4. Search for option_name shopmagic_communication_account_page_id in wp_options table.
    5. Update value with the ID of the page you selected in step 2.

    If, on the other hand, communication-preferences exists, and you still see an error, write us your store address which has this issue, and we will take a look at it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Hide new item in my account “communication preferences”?’ is closed to new replies.