Home Forums WoodMart support forum THEME UPDATE ISSUE

THEME UPDATE ISSUE

Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #384014

    E-N Admin
    Participant

    I’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 1 year, 10 months ago by E-N Admin.
    #384017

    E-N Admin
    Participant

    Mobile button issue mentioned above can be seen on our homepage where we use product carousel element.

    #384023

    E-N Admin
    Participant

    FOOTER ISSUE SINCE UPDATE.

    I have also just noticed our mobile footer is no longer collapsible

    See image: https://prnt.sc/OQL6NxlOmEwq

    #384093

    E-N Admin
    Participant

    Hi, 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?

    #384112

    E-N Admin
    Participant

    Another 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.

    #384157

    Artem Temos
    Keymaster

    Hello,

    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

    #384229

    E-N Admin
    Participant

    admin access is provided

    #384230

    E-N Admin
    Participant

    Hi 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.

    #384483

    E-N Admin
    Participant

    Hi

    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.

    #384540

    Artem Temos
    Keymaster

    Hello,

    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

    #384605

    E-N Admin
    Participant

    I 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-

    #384611

    E-N Admin
    Participant

    That file is not present on the child theme. When going to the child theme directory, these are only the contents

    #384637

    Artem Temos
    Keymaster

    You need to create this file in the child theme first woodmart-child/woocommerce/content-product-standard.php

    Kind Regards

    #384769

    E-N Admin
    Participant

    Hi 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.

    #384870

    Artem Temos
    Keymaster

    It looks like the child theme is not activated yet. Please, activate it in Appearance -> Themes to apply the changes.

    Kind Regards

    #384995

    E-N Admin
    Participant

    Hi,

    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.php

    Can 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.

    #385021

    Artem Temos
    Keymaster

    No problem, please, send us your FTP access and we will do this for you.

    Kind Regards

    #385155

    E-N Admin
    Participant

    Hi there,

    Thank you. Access provided

    #385227

    Artem Temos
    Keymaster

    Hello,

    We have applied the changes for you. Please, check how it works now.

    Kind Regards

    #385873

    E-N Admin
    Participant

    Hi,

    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

    https://prnt.sc/1zzqyj1

    #385898

    Artem Temos
    Keymaster

    Hi,

    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;
    }
    #386099

    E-N Admin
    Participant

    Hi,

    I had placed the code in Global CSS however, the changes didn’t take effect for mobile. It only worked for desktop.

    Thanks

    #386101

    E-N Admin
    Participant

    Also, I just noticed that the mobile footer is no longer collapsible – its just a lengthy scroll.

    #386428

    Artem Temos
    Keymaster

    Hello,

    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

    #386532

    E-N Admin
    Participant

    Hi,

    Putting “helpers’ in delayed JS didn’t help or do anything. It’s still not collapsible.

    Thanks

    #386546

    Artem Temos
    Keymaster

    You 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

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