Some points that are necessary to discuss.

This topic has 4 replies, 2 voices, and was last updated 3 months, 3 weeks ago ago by Luca Rossi

  • Avatar: Sahil
    Sahil
    Participant
    July 29, 2024 at 06:15

    Please clear all the below doubts:
    1: If user is placing the order second time and placing from the new address then will it automatically save it to the my account?

    2: You may also like section in my account- need to check what is the logic behind this, how it is working and how can i edit.

    3: Need to add a custom filter in all the shop or category pages. Please tell steps.

    4: If you see dipnik.com website once and go on the search section then sub categories are also visible in the search section, i need to turn off it and i need to make sure only categories should come in that product search bar.

    5: Also please let me know about the search logic that how the search bar is working and how it is finding the products based upon?

    6: I have removed the default register and login system of xstore and instead added the otp based system so i need to have the phone number auto saved in the my-account as well as in checkout page.

    7: Sync of the Address changes in the My Account and Checkout

    8: In the default feature of xstore order tracking , we just need to input the order id of the user and we want to remove the email from it, please suggest where to remove it.

    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    July 30, 2024 at 05:56

    Hi @Sahil,

    Thanks for contacting us.

    1. Yes, this default feature is from the WooCommerce plugin.

    2. That section might be Cross Sell/Up Sell Products, please take a look at this: https://woocommerce.com/document/related-products-up-sells-and-cross-sells/

    3. Can you please explain more details or provide some screenshots? We’re still not clear on this point.

    4. Please add the following code under functions.php file locates in your child theme:

    
    add_filter('etheme_elementor_ajax_search_categories_args', 'n2t_etheme_elementor_ajax_search_categories_args');
    function n2t_etheme_elementor_ajax_search_categories_args(){
        return array(
    	    'show_option_all' => esc_html__('All categories', 'xstore-core'),
    	    'taxonomy'        => $taxonomy,
    	    'hierarchical'    => true,
    	    'echo'            => false,
    	    'id'              => null,
    	    'class' => implode(' ', $categories_class),
    	    'name'            => $taxonomy,
    	    'orderby'         => 'name',
    	    'value_field'     => 'slug',
    	    'hide_if_empty'   => true,
            'exclude' => [123]
        );
    }
    

    After that replace the 123 number with your category ID you want to hide.

    5. The search bar typically works by matching the user’s query with product titles, descriptions and based on selected category.

    6. & 7. & 8. It requires the customization codes and fall out of scope our support standard services. Should you require personalized customization services, we invite you to submit a request through our customization panel at the following link: https://www.8theme.com/account/#etheme_customization_panel. This will allow you to engage directly with our technical team.

    Please note that customization services are subject to additional charges. The exact amount will be determined after a detailed review of your request.

    Thank you for your attention to this matter.

    Best regards,
    The 8Theme Team.

    Avatar: Sahil
    Sahil
    Participant
    July 30, 2024 at 08:02

    For point 3 better explanation: Suppose there is one more thing just like product categories. I should select that option from product backend and then it should show outside in the shop page as a filter.

    For point 4: Code is throwing a lot of errors.
    Check screenshot

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 30, 2024 at 10:08

    Hi @Sahil,

    3. Unfortunately, the category product filter will show all the categories for now. We can’t select some of them to display.

    4. Sorry for the confusion, the correct code should be:

    
    add_filter('etheme_elementor_ajax_search_categories_args', 'n2t_etheme_elementor_ajax_search_categories_args');
    function n2t_etheme_elementor_ajax_search_categories_args($args){
        $args['exclude'] = [123, 345];
        return $args;
    }
    

    Don’t forget to change the 123, 345 with your category items which you want to hide.

    Best regards,
    The 8Theme Team.

  • Viewing 4 results - 1 through 4 (of 4 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.