Home › Forums › WoodMart support forum › Size Guide disappeared!
Size Guide disappeared!
- This topic has 11 replies, 2 voices, and was last updated 5 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
April 4, 2019 at 1:47 pm #116959
dogvibeParticipantHello guys!
After the last update, all my products that have size guides had this option hidden. Can you help me?Product example: https://www.dogvibe.com.br/loja/humanos/t-shirts/t-shirt-dog-vibe-summer/
Thank you!
April 4, 2019 at 5:50 pm #117017
dogvibeParticipantI am sending a printscreen of the product. I already checked the theme settings and it is activated and also checked the size guides menu and everything is ok.
https://uploaddeimagens.com.br/imagens/size-png-8615c804-f46e-4d6e-b039-bfba21662291
thank you
April 4, 2019 at 5:52 pm #117019
Elise NoromitMemberHello,
Please update your credentials and deactivate all the plugins not related to the theme.
Best Regards
April 4, 2019 at 6:29 pm #117033
dogvibeParticipantI deactivated all the plugins and did not solve the problem. About updating my credentials I did not understand how to do.
Thanks!
April 4, 2019 at 7:10 pm #117052
dogvibeParticipantLook. I just did a version downgrade and installed it to 3.2 and the size guide went back to working immediately. Then I decided to reinstall 3.6.1 and the “Size guide” disappears again.
Remembering that the plugins are almost all disabled, being only active the plugins that accompany the theme and the woocommerce.April 5, 2019 at 3:48 am #117089
Elise NoromitMemberHello,
Please update the credentials and confirm the permit to deactivate the plugins for checking.
Best Regards
April 5, 2019 at 12:46 pm #117196
dogvibeParticipantHi!
I am sending the credentials of my staging which is an identical copy. So I ask that when you find a solution, let me know how to do it on the main site. Plugins are already disabled, but you can do whatever you feel is necessary in this installation.
Thank you!!
April 5, 2019 at 12:48 pm #117201
Elise NoromitMemberHello,
We shall fix this in our nearest update. Meanwhile please add this code to the functions.php of the child theme and activate your plugins:
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 ); } }
Best Regards
April 5, 2019 at 12:53 pm #117202
dogvibeParticipantHello,
I do not use child theme, but anyway the placement of the code generated the error of the attached image.Best.
Attachments:
You must be logged in to view attached files.April 5, 2019 at 1:56 pm #117219
Elise NoromitMemberHello,
Please install the child theme or you will have to wait till the update has been released.
Best Regards
April 5, 2019 at 2:26 pm #117222
dogvibeParticipantHello!
No problems! I will keep it as it is in version 3.2 that is ok for me at the moment and will wait for the update.
Thanks a lot for the help!!
April 5, 2019 at 2:41 pm #117226
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register