I have a few questions for xstore theme.

This topic has 9 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Rose Tyler

  • Avatar: Vlad
    Vlad
    Participant
    June 20, 2023 at 10:43

    Hi there,

    Please also check the secret content to better understand what I mean in these subsections.

    1. How do I make the word Archives no longer appear there. For each product category, it appears to me that there is an archive… I don’t want this to appear.

    2. How can I edit the Out of stock box? I would like to center the text and the icon and translate the respective text into our language.

    3. I edited the color and border of the discount badge. But I also wanted to move it to the top left, corner. Where can I edit this?

    4. However we edit the extra tabs from the products, they do not remain properly. And if we edit in Visual mode, and if we edit in Text mode.
    It is set for the moment, but if I enter that product again and edit something (regardless, it could be the price), the edit in that tab returns to its place. I noticed that the
    codes disappear immediately after updating.

    5. Is it possible to edit/translate texts like “Add to cart” directly into the code so that after an wocoomerce/wordpress/xstore update it doesn’t return to the original version? I want them to remain as we edit them in the code.

    6. In customise > Add to cart & Quantity, at Advance. You have BEFORE CART FORM and AFTER CART FORM. what are these for?

    I hope I made myself understood enough.
    We are nearing the end of creating the new website and we still have small aspects to edit.
    I hope I wasn’t too insistent :))
    We really like the theme created by you and we definitely recommend it to everyone we know in the field.

    Thank you very much and have a great day!

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2023 at 13:49

    Hello, Vlad,

    Thank you for contacting us and for using XStore.

    1/ This is independent of our theme. You can use Yoast SEO plugin to change it, or contact support of WooCommerce plugin – https://wordpress.org/support/plugin/woocommerce/

    2/ Please provide URL from your site and temporary wp-admin access.

    3/ Custom CSS code can be used. Please provide URL of page so we can sagest you the correct code.

    4/ Please try to edit the content of Text tab, for example – https://prnt.sc/vJPpaulygryS , use <br> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br

    5/ It is recommended to use the Loco translate plugin to translate/change texts. Translation files of the theme should be placed in /wp-content/languages/themes/ folder,
    plugins, like Core plugin, in /wp-content/languages/plugins folder,
    with correct names, for example, for XStore theme: xstore-tr_TR.po, and xstore-core-tr_TR.po for XStore Core plugin, then you will not lose translation after the update – https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/

    6/ Please describe where exactly we can find mentioned by your options.

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you, but, please, submit separate topics for different questions to prevent a mess in this conversation.

    Kind Regards,
    8theme team

    Avatar: Vlad
    Vlad
    Participant
    June 20, 2023 at 19:25

    Hi there,

    Request 1, DONE!

    Request 2: Sorry, but we can’t do that anymore. Please provide me the info how to edit that. Just tell me where and what to add. We have IT team and i cant sent them the details.

    Request 3: On all pages. On homepage, on shop page and on single product page.

    Request 4: We are using (br), we know this already…. like i said
    “It is set for the moment, but if I enter that product again and edit something (regardless, it could be the price), the edit in that tab returns to its place. I noticed that the codes (br) disappear immediately after updating. “

    Request 5 we will try tomorrow this. Thx for info.

    Request 6: I can’t find anymore where is that section… sry. luckily it wasn’t something important, I just wanted to know what it helps. If I find it, I will write to you.

    Thx for info and have a great day there!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 07:24

    Hello, Vlad,

    2. Custom CSS code can be used to change style of Out of stock box. For example:

    .content-product .stock.out-of-stock {
        font-size: 10px;
    }

    This text comes from WooCommerce plugin, so you can translate it there.
    https://woocommerce.com/document/woocommerce-localization/

    3/ Provide at least 1 URL, please. Or try the next code:

    .onsale {
        left: unset !important;
        right: 20px;
    }

    4/ Could you record a video of the problem with all your actions? Then we will try to re-create the problem on our test site.

    Kind Regards,
    8theme team

    Avatar: Vlad
    Vlad
    Participant
    June 22, 2023 at 10:54

    Hi there,

    Most of the request are done.

    It is very difficult to edit with loco translate. I edited some texts, but on the website nothing is changed.

    Thank you very much!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 23, 2023 at 10:41

    Hello, Vlad,

    “It is very difficult to edit with loco translate. I edited some texts, but on the website nothing is changed.” – please provide screenshots of untranslated strings.

    “we edit the extra tabs from the products, they do not remain properly” – please edit content via Text tab only https://prnt.sc/JAwc0Edvz4o0 , do not click on the Visual tab, to prevent the <br> tag from disappearing. It is not our theme bug, because you can see the same behavior in the Product Shop Description area https://prnt.sc/9FRXI3TbwTEF , which comes from WooCommerce.

    Kind Regards,
    8theme team

    Avatar: Vlad
    Vlad
    Participant
    July 12, 2023 at 10:43

    hi there,

    still not working.

    Do u know how to solve this? Did u had same complains from other users?

    Thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 12, 2023 at 11:11

    Hello, Vlad,

    Do you mean the situation with the Text tab?
    As was explained, it is not our theme bug, but a specific behavior of fields there. There is no quick solution, unfortunately.
    You can create static blocks and use them like in this example – https://prnt.sc/TmzJmWcy3ASm
    We did not get complaints from other users, but you can post a request to our dev team here – https://www.8theme.com/taskboard/, and other customers will be able to vote there.

    Kind Regards,
    8theme team

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 12, 2023 at 14:08

    Hello, Vlad,

    By default, WordPress removes the <br> and <p> tags from the content.

    To disable this, try to add the following code to the functions.php file of your child theme:

    /**
     * Disable wp_editor() filtering for <br> tags.
     *
     * @param array $settings The array of editor settings.
     * @return array $settings The updated array of editor settings.
     */
    function disable_wp_editor_filtering( $settings ) {
        $settings['wpautop'] = false;
        return $settings;
    }
    add_filter( 'wp_editor_settings', 'disable_wp_editor_filtering' );
    
    /**
     * Disable removal of <br> tags in wp_editor content.
     *
     * @param string $content The editor content.
     * @return string $content The updated editor content.
     */
    function disable_wp_editor_remove_br( $content ) {
        remove_filter( 'content_save_pre', 'wp_filter_post_kses' );
        return $content;
    }
    add_filter( 'content_save_pre', 'disable_wp_editor_remove_br' );

    Kind Regards,
    8theme team

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.