Woocomerce primary category can’t set

#261195
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    We checked the primary category of your products and our plugin is correctly saving those in the database but it seems that the breadcrumbs you are using follow a different method to display the categories.

    ​​​​​​​The breadcrumbs you have on your website are not coming from Rank Math so there’s nothing we can do to modify those breadcrumbs.

    If you wish to switch to the breadcrumbs from Rank Math please follow this tutorial: https://rankmath.com/kb/breadcrumbs/

    Hope this helps clarify your doubts and solve the issue.

    Don’t hesitate to get in touch if you have any other questions.

    Can you please help me with disabling themes by default Breadcrumb & Activate Rankmath’s breadcrumb…Actually i read your blog & also watch your video on youtube. But i am confused….How can i disable themes by default breadcumb & active rankmath’s breadcumb….

    Please……help me …..

    Tammy
    Rank Math business

    Hello,

    You can remove the WooCommerce breadcrumbs on most themes by adding the following code snippet on your theme’s functions.php file:

    /**
     * Remove the breadcrumbs 
     */
    add_action( 'init', 'woo_remove_wc_breadcrumbs' );
    function woo_remove_wc_breadcrumbs() {
        remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 );
    }

    The next step will be add the Rank Math breadcrumb snippet on the section that you want them to appear. The code required to show the RM breadcrumbs is shown below:

    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>

    Looking forward to helping you. Thank you.

    ​​​​​​​

    I tried the above code to remove breadcrumb but it’s not working…If you can do it from your side then please do it for me.

    I just want to use Rank math’s breadcrumb instead of themes breadcrumb…Site credentials are the same as given…Please do it for me….Request from my side…As i have never try anything like that…

    Please, please…

    Ankit
    Rank Math business

    Hello,

    I have disabled the theme’s breadcrumbs and added the Rank Math breadcrumbs. Could you please get in touch your theme provider and ask them about the breadcrumbs position so that we can add the code there for the proper style.

    Looking forward to helping you. Thank you.

    Sir Actually, I have Bought a GPL theme…so I will not get any support…

    But i have used this code to center align. Which i exactly want….Now it’s looking good as i wanted…..

    .rank-math-breadcrumb {
    text-align: center!important;

    }

    i want to ask you 1 question….is there any issue with css? If so then please let me know….

    Hello,

    The CSS seems correct and since it is working fine for you there is nothing wrong with it.

    Hope this clarifies your doubts. Let us know if you need any other assistance.

    Thanks.

    Thank you so much sir for Helping me. Finally, My problem solved.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Actually sir I have already Given 5 stars + 5-6 Lines of Review…..

    Hello,

    Thank you so much for leaving us a review. We really appreciate it.

    If you have any further questions, please feel free to start a new forum discussion, and it will be our pleasure to assist you once more.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)

The ticket ‘Woocomerce primary category can’t set’ is closed to new replies.