Home Forums WoodMart support forum How could I add size guide for 400 product in a bulk?

How could I add size guide for 400 product in a bulk?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #225055

    crawpic
    Participant

    I can’t go one per one product to put the size guide. How could I activate the size guide per category automatically?

    #225085

    Hello,

    You can create a size guide and then can assign the categories to it from there as well.

    Screenshot for Clarification: https://ibb.co/G296kMd

    Regard’s.
    Xtemos Studio.

    #225269

    crawpic
    Participant

    I did that and is not working.

    #225404

    Hello,

    Please deactivate all the third-party plugins, activate the parent theme, clear cache, and check back.

    If the problem continues then leave the third party plugins deactivated and tell me with the permission to debug then we will troubleshoot with theme plugins.

    Best Regards.

    #225536

    crawpic
    Participant

    The problem is the following, each product don’t autoadd the size guide per category. I tried deactivating but nothing happens. You have permission to debug anything you want.

    Here is a screenshot: https://imgur.com/a/IrflqU3

    The only way to show the size guide is to go to each product page and select manually. I would like to do it in a whole.

    #225645

    Hello,

    I have tried to log in to your website and was unable to login it displayed an Error. Please make sure that you have provided a valid login URL to check it me and help you out accordingly.

    Screenshot for Clarification: https://ibb.co/DRWK2qh

    Regard’s.
    Xtemos Studio.

    #225908

    crawpic
    Participant

    Try again with that link please. Nevertheless your mates could log in in other topics, I think the issue is your connection.

    #225909

    crawpic
    Participant

    I found that topic https://xtemos.com/forums/topic/size-guide-bulk-assignments/ cause I have the same problem and I tried the following function code that you give him and is not working or “auto add” to each product in a bulk that belongs to each category.

    function woodmart_sguide_display( $post_id = false ){
    $post_id = ( $post_id ) ? $post_id : get_the_ID();

    $sguide_post_id = get_post_meta( $post_id, ‘woodmart_sguide_select’ );

    if ( isset( $sguide_post_id[0] ) && $sguide_post_id[0] == ‘disable’ ) return;

    if ( isset( $sguide_post_id[0] ) && !empty( $sguide_post_id[0] ) ){
    $sguide_post_id = $sguide_post_id[0];
    }else{
    $terms = wp_get_post_terms( $post_id, ‘product_cat’ );
    if ( $terms ) {
    foreach( $terms as $term ){
    $sguide_post_meta = get_term_meta( $term->term_id, ‘woodmart_chosen_sguide’ );
    if ( $sguide_post_meta[0] ) {
    $sguide_post_id = $sguide_post_meta[0];
    }else{
    $sguide_post_id = false;
    }
    }
    }
    }
    if ( $sguide_post_id ) {
    $sguide_post = get_post( $sguide_post_id );
    $size_tables = get_post_meta( $sguide_post_id, ‘woodmart_sguide’ );

    woodmart_sguide_display_table_template( $sguide_post, $size_tables );
    }
    }

    #225954

    Hello,

    I have logged into your website and checked that the products on your website are added in more than one category.

    And to display the size guide on all the products you need to assign the size guide to both categories then clear the cache and check back.

    I have added the size guide “babuchas” to the parent category “urbanAW20 and babuchasAW20” and the size guide is displaying on all products of both categories.

    Screenshot for Clarification: https://ibb.co/VByps8f

    Please check the products of the category babuchasAW20 and urbanAW20 the size guide is appearing on all the products.

    If you don’t want to use that option then make sure that the products are only added to one category. OR try adding the size guides to each product separately.

    Regard’s.
    Xtemos Studio.

Viewing 9 posts - 1 through 9 (of 9 total)