Problem after updating to Royal 3.0.1 and WC 3.0.0

This topic has 15 replies, 4 voices, and was last updated 8 years, 7 months ago ago by Rose Tyler

  • Avatar: thorth219
    thorth219
    Participant
    April 10, 2017 at 08:33

    Hello,
    I’ve already followed the step that you’ve mentioned on https://www.8theme.com/topic/is-royal-theme-ready-and-compatible-with-the-newest-woocommerce-3-0-update/ for updating the themes. And now, there are some issues in my website.

    – “Add to cart” buttons on frontend are not working. (ROYAL Themes only, problem is gone when we switch to storefront)
    – We can’t “Add product” on backoffice. It show “This page isn’t working”
    – Can’t edit “Billing Details” , “shipping details” , Product, Shipping option on backoffice -> order -> edit. Neither on “add order” menu
    – There are two “Order Status” field on Backoffice Order Menu

    I put the login details too, in case if you want to take a look at the problem

    Thank you

    Please, contact administrator
    for this information.
    14 Answers
    Avatar: henryrl
    Henry
    Participant
    April 10, 2017 at 08:53

    Hi,

    After I activate and fill the license.

    I stuck on Plugins Section more than 2 hours.
    With message “Importing demo content…
    Please wait, it may take up to 2 minutes.”
    What happened ?

    Please help and your suggestion.

    Regards,
    Henry

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 10, 2017 at 10:20

    Hello, @thorth219,

    Please use our last theme version and WooCommerce 3.0.1 http://prntscr.com/eum0vh.
    Also, try to disable 3-rd party plugins and then check your issues.
    Let us know the result.

    Regards,
    Rose Tyler.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 10, 2017 at 10:22

    Hello, @Henry,

    You have been answered in original thread https://www.8theme.com/topic/problem-installing-royal-v3-0-at-plugins-section/. Please don’t submit additional topics for the same issue. Thank you for understanding.

    Regards,
    Rose Tyler.

    Avatar: thorth219
    thorth219
    Participant
    April 13, 2017 at 09:19

    Hi Rose, thanks for your response

    WooCommerce already updated to 3.0.2. Found out some 3rd-party plugins need to be updated. Now, the add product button on backoffice is working, but all the submenu in “Product Data” section (like shipping, inventory, linked product, etc) aren’t working.

    the other problem still the same:
    – “Add to cart” buttons on frontend are not working. (ROYAL Themes only, problem is gone when we switch to storefront)
    – Can’t edit “Billing Details” , “shipping details” , Product, Shipping option on backoffice -> order -> edit. Neither on “add order” menu
    – There are two “Order Status” field on Backoffice Order Menu

    Also,
    what is the latest Royal Themes’s Version? 3.0.1 ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 13, 2017 at 12:58

    Hello,

    Our latest theme version is 3.0.1 and compatibility with WooCommerce 3.0.1.
    Did you try to disable 3-rd party plugins and check your issues then?
    Please note we don’t guarantee full compatibility of 3rd-party plugins with the theme.

    Regards,
    Rose Tyler.

    Avatar: nachoc
    nachoc
    Participant
    April 18, 2017 at 21:02

    I have a problem with the checkout page after the updating. Fatal error: Can’t use method return value in write context in wp-content/themes/royal/woocommerce/checkout/form-billing.php on line 48

    How can i solve this, please?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 19, 2017 at 13:36

    Hello, @nachoc,

    You have been replied in your topic https://www.8theme.com/topic/fatal-error-wp-contentthemesroyalwoocommercecheckoutform-billing-php/#post-160534

    Regards,
    Rose Tyler.

    Avatar: thorth219
    thorth219
    Participant
    April 20, 2017 at 15:38

    Hi Rose,
    Some of the problems were solved already. But, there are still some problems here , like:

    1. Add to cart button not working, cart shows nothing after we clicked the add-to-cart button.
    2. People can only checkout from wishlist page

    Here is what error-log state in cpanel :

    The The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.0.3. Replace with woocommerce_add_to_cart_fragments.

    3. Also, when I scrolled down my site, the menu on fixed navigation disappeared (means: become transparent), except the logo. It only happens on homepage.
    ——I’ve tried your suggestion on this thread CONTAINS OUTDATED COPIES OF SOME WOOCOMMERCE TEMPLATE FILES , but it doesn’s solve the issue.

    Any suggestions?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 21, 2017 at 09:36

    Hello, @thorth219,

    1, 2. It is related to WooCommerce: 3.0.3, so please revert back to 3.0.1 version, as we haven’t released compatible theme update yet, or wait for new theme update.
    3. Please provide a link to your site.

    Regards,
    Rose Tyler.

    Avatar: thorth219
    thorth219
    Participant
    April 28, 2017 at 05:19

    Hello, Rose

    Thanks for the themes update.
    Themes already updated to 3.0.2, but the ‘add to cart’ problem still exist (only on single product pages).
    Any suggestions for the problem?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 28, 2017 at 10:11

    Hello, @thorth219,

    I sent your report to our developers. Thank you for the notice.
    I’ve activated Ajax “Add To Cart” (Theme Options -> Single Product Page), so you can add to cart product on single product pages.

    Regards,
    Rose Tyler.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 28, 2017 at 10:45

    Hello, @thorth219,

    To solve problem, please change /royal/woocommerce/single-product/add-to-cart/simple.php file to:

    <?php
    /**
     * Simple product add to cart
     *
     * @author 		WooThemes
     * @package 	WooCommerce/Templates
     * @version     3.0.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    
    global $woocommerce, $product;
    
    if ( ! $product->is_purchasable() ) return;
    ?>
    
    <?php
    	// Availability
    	$availability      = $product->get_availability();
    	$availability_html = empty( $availability['availability'] ) ? '' : '<p class="stock ' . esc_attr( $availability['class'] ) . '">' . esc_html( $availability['availability'] ) . '</p>';
    	
    	echo apply_filters( 'woocommerce_stock_html', $availability_html, $availability['availability'], $product );
    ?>
    
    <?php if ( $product->is_in_stock() ) : ?>
    
    	<?php do_action( 'woocommerce_before_add_to_cart_form' ); ?>
    
    	<form class="cart" method="post" enctype='multipart/form-data'>
    	 	<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
    
    	 	<?php
    	 		if ( ! $product->is_sold_individually() )
    
    	 		/**
    			 * @since 3.0.0.
    			 */
    			do_action( 'woocommerce_before_add_to_cart_quantity' );
    
    	 			woocommerce_quantity_input( array(
    	 				'min_value' => apply_filters( 'woocommerce_quantity_input_min', 1, $product ),
    	 				'max_value' => apply_filters( 'woocommerce_quantity_input_max', $product->backorders_allowed() ? '' : $product->get_stock_quantity(), $product )
    	 			) );
    
    	 		/**
    			 * @since 3.0.0.
    			 */
    			do_action( 'woocommerce_after_add_to_cart_quantity' );
    	 	?>
    
    	 	<input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" />
    
    	 	<button type="submit" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" class="single_add_to_cart_button <?php if(etheme_get_option('ajax_addtocart')): ?>etheme-simple-product<?php endif; ?> button alt"><?php echo $product->single_add_to_cart_text(); ?></button>
    
    		<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
    	</form>
    
    	<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
    
    <?php endif; ?>

    Regards,
    Rose Tyler.

    Avatar: thorth219
    thorth219
    Participant
    April 30, 2017 at 07:43

    @Rose Tyler ,
    Hey, it’s worked ! Problems Solved !

    Thanks a lot

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 3, 2017 at 10:20

    Hello, @thorth219,

    You’re welcome!

    Regards,
    Rose Tyler.

  • Viewing 15 results - 1 through 15 (of 15 total)

The issue related to '‘Problem after updating to Royal 3.0.1 and WC 3.0.0’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.