Home › Forums › WoodMart support forum › THEME UPDATE ISSUE
THEME UPDATE ISSUE
- This topic has 25 replies, 2 voices, and was last updated 2 years, 8 months ago by
Artem Temos.
-
AuthorPosts
-
June 17, 2022 at 12:59 pm #384014
E-N AdminParticipantI’m fed up of updates breaking certain things on the website.
New update has broken the shop page button design layout and replacement of the review stars and product carousel elements has also been broken and has caused the buttons to be together. The buttons are stacked together on desktop, while before the update the buttons were side by side and he review stars were above the buttons. Our ‘Personalisation’ button text also use to be our brand colour Pink. But since the update it has gone grey with hover of black.
see image: https://prnt.sc/DSupk0oaz9up (desktop) and https://prnt.sc/avZI-tKZDN-Q (desktop)
It use to be like before the update: https://prnt.sc/1zzqyj1 (desktop) and https://prnt.sc/P0XxVqThDBKK (mobile)
Our personalisation button was beside add to bag for desktop and above add to bag button for mobile.
We need this fixed asap. There’s a few issues here to address – please carefully review .
-
This topic was modified 2 years, 8 months ago by
E-N Admin.
June 17, 2022 at 1:06 pm #384017
E-N AdminParticipantMobile button issue mentioned above can be seen on our homepage where we use product carousel element.
June 17, 2022 at 1:22 pm #384023
E-N AdminParticipantFOOTER ISSUE SINCE UPDATE.
I have also just noticed our mobile footer is no longer collapsible
See image: https://prnt.sc/OQL6NxlOmEwq
June 17, 2022 at 3:41 pm #384093
E-N AdminParticipantHi, sorry for the double ups. Will my issues above get looked into?
It’s causing a lot of headache for my live site. Can you please let me know how to stop auto update of theme. It’s so hard to manage a website and have it crash and support isn’t instant in resolving issues. Why is there no theme rollback capability?
June 17, 2022 at 4:23 pm #384112
E-N AdminParticipantAnother issue,
Footer is now overlapping on all pages. For example shop page. https://prnt.sc/JcNv0c4UA2zP
Footer is over the pages and then on homepage There’s a white and black gap between the footer and the banner image.June 17, 2022 at 5:26 pm #384157
Artem TemosKeymasterHello,
1. To fix the footer collapse problem, add the following script to the Delay JS exceptions list in WP Rocket settings
widgetCollapse
2. We don’t see the footer overlap problem on your website at the moment https://gyazo.com/1d2deb557eba00b8ea270e5921ed81f4
3. To return buttons positions you need to create a file in the child theme
woodmart-child/woocommerce/content-product-standard.php
with the following code<?php /** * woocommerce_shop_loop_item_title hook * * @hooked woocommerce_template_loop_product_title - 10 */ do_action( 'woocommerce_shop_loop_item_title' ); ?> <?php woodmart_product_categories(); woodmart_product_brands_links(); woodmart_product_sku(); ?> <?php if ( 0 < $product->get_average_rating() || woodmart_get_opt( 'show_empty_star_rating' ) ) : ?> <div class="wd-star-rating"> <?php echo wp_kses_post( woodmart_get_product_rating() ); ?> </div> <?php endif; ?> <?php woodmart_stock_status_after_title(); ?> <?php /** * woocommerce_after_shop_loop_item_title hook * * @hooked woocommerce_template_loop_rating - 5 * @hooked woocommerce_template_loop_price - 10 */ do_action( 'woocommerce_after_shop_loop_item_title' ); ?> <div class="wd-add-btn wd-add-btn-replace<?php echo woodmart_get_old_classes( ' woodmart-add-btn' ); ?>"> <?php if ( woodmart_loop_prop( 'product_quantity' ) ): ?> <?php woodmart_product_quantity( $product ); ?> <?php endif ?> <?php do_action( 'woodmart_add_loop_btn' ); ?> <?php do_action( 'woocommerce_after_shop_loop_item' ); ?> </div> <?php if ( woodmart_loop_prop( 'progress_bar' ) ): ?> <?php woodmart_stock_progress_bar(); ?> <?php endif ?> <?php if ( woodmart_loop_prop( 'timer' ) ): ?> <?php woodmart_product_sale_countdown(); ?> <?php endif ?> <?php if ( woodmart_loop_prop( 'stretch_product_desktop' ) || woodmart_loop_prop( 'stretch_product_tablet' ) || woodmart_loop_prop( 'stretch_product_mobile' ) ) : ?> </div> <?php endif; ?> </div>
and the following lines to the functions.php file in the child theme
add_action( 'wp', function () { remove_action( 'woodmart_add_loop_btn', 'woocommerce_template_loop_add_to_cart', 10 ); add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); }, 10000 );
4. Please, send us your admin access so we can check what is wrong with the button color.
Kind Regards
June 17, 2022 at 10:27 pm #384229
E-N AdminParticipantadmin access is provided
June 17, 2022 at 10:53 pm #384230
E-N AdminParticipantHi there,
Cloudways mentioned we don’t have a child theme in our file so they had placed it in the woodmart core file the code you provided and it just made all the product appear on the left alignment of the shop page and there was double buttons.
See image: https://prnt.sc/UPi4YUOOeAdz
Also just noticed that our logo on desktop is not appearing.
June 20, 2022 at 2:42 am #384483
E-N AdminParticipantHi
Could I get assistance with issues mentioned above please? We’ve been waiting 3 days for a solution to the update issues. Our logo doesn’t load for both desktop and mobile and our product buttons are still messed up since the update. Solution above doesn’t work.
Could you also let me know how to stop these auto updates? Why is a roll back not an option since support can’t provide a quick 1:1 quick solution when things break.
June 20, 2022 at 9:57 am #384540
Artem TemosKeymasterHello,
Our theme can’t be updated without clicking on the “Update” button. So if you don’t click it you will always keep the same version.
Please, install the child theme first according to our instructions here https://xtemos.com/docs-topic/setup-child-theme/
As for the logo image, we have removed the custom CSS you added to Theme Settings and now it works correctly. Please, check it from your side.
Kind Regards
June 20, 2022 at 12:22 pm #384605
E-N AdminParticipantI get emails from wordpress that theme has been updated automatically even though plugins and theme are not set to automatic update.
Anyways, we have downloaded the child theme and cloudways tried to put in the code that you had provided and they could find that file name. see image: https://prnt.sc/V4otVAGY1sU-
June 20, 2022 at 12:42 pm #384611
E-N AdminParticipantThat file is not present on the child theme. When going to the child theme directory, these are only the contents
June 20, 2022 at 2:52 pm #384637
Artem TemosKeymasterYou need to create this file in the child theme first
woodmart-child/woocommerce/content-product-standard.php
Kind Regards
June 20, 2022 at 10:59 pm #384769
E-N AdminParticipantHi there,
Have created the file and placed the code and everything mentioned above but no change. Still same design issue for both mobile and desktop.
June 21, 2022 at 9:33 am #384870
Artem TemosKeymasterIt looks like the child theme is not activated yet. Please, activate it in Appearance -> Themes to apply the changes.
Kind Regards
June 21, 2022 at 2:14 pm #384995
E-N AdminParticipantHi,
I had activated the child theme and got a fatal error:
Fatal Error
Line 15
Message Uncaught Error: Call to a member function get_average_rating() on null in /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-content/themes/woodmart-child/woocommerce/content-product-standard.php:15 Stack trace: #0 /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-includes/template.php(772): require() #1 /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/mnt/data/home/…’, false) #2 /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-content/themes/woodmart/woocommerce/content-product.php(143): wc_get_template_part(‘content’, ‘product-standar…’) #3 /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-includes/template.php(772): require(‘/mnt/data/home/…’) #4 /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/mnt/data/home/…’, false) #5 /mnt/data/home/648639
File /mnt/data/home/648639.cloudwaysapps.com/cqkmrgetwr/public_html/wp-content/themes/woodmart-child/woocommerce/content-product-standard.phpCan you please just jump in the site back end and do what is required to get my website back to how it use to look before the update. This issue has been going for a week now and just going back and forth with minimal instructions. I can’t have the site looking like this and broken. It’s almost better to not repurchase a extended support license to not get anymore theme updates.
I’m sorry but this is very frustrating. You know exactly what needs to be done and it’ll be easier for you to go to the backend and make our site look like how it use to before the update. We don’t care for the theme update and other features. Our site design was fine but now its all over the place.
June 21, 2022 at 2:54 pm #385021
Artem TemosKeymasterNo problem, please, send us your FTP access and we will do this for you.
Kind Regards
June 22, 2022 at 2:43 am #385155
E-N AdminParticipantHi there,
Thank you. Access provided
June 22, 2022 at 9:41 am #385227
Artem TemosKeymasterHello,
We have applied the changes for you. Please, check how it works now.
Kind Regards
June 24, 2022 at 8:19 am #385873
E-N AdminParticipantHi,
Thanks for fixing that. However, the ‘Personalise’ Button text is still light grey and not back to the old colour of bright pink – same as the button border colour. #FF48BB
June 24, 2022 at 9:58 am #385898
Artem TemosKeymasterHi,
Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
body .product-grid-item { --wd-link-color: inherit; --wd-link-color-hover: inherit; }
June 25, 2022 at 2:35 am #386099
E-N AdminParticipantHi,
I had placed the code in Global CSS however, the changes didn’t take effect for mobile. It only worked for desktop.
Thanks
June 25, 2022 at 2:41 am #386101
E-N AdminParticipantAlso, I just noticed that the mobile footer is no longer collapsible – its just a lengthy scroll.
June 27, 2022 at 9:22 am #386428
Artem TemosKeymasterHello,
Please, send us a screenshot from the mobile device so we can see how the buttons look for you.
And add the following script to the Delay JS exception list in WP Rocket settings to fix the footer problem
helpers
Kind Regards
June 27, 2022 at 1:57 pm #386532
E-N AdminParticipantHi,
Putting “helpers’ in delayed JS didn’t help or do anything. It’s still not collapsible.
Thanks
June 27, 2022 at 2:28 pm #386546
Artem TemosKeymasterYou have some other kind of cache on your website except WP Rocket. Maybe it comes from your server. Please, disable it and test how it works.
Kind Regards
-
This topic was modified 2 years, 8 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register