Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #230721

    Leearna C
    Participant

    I am using woocommerce and when I go to the cart there are 2 Proceed to Checkout buttons. I have been on Woocommerce website and it says that problem is theme related and to contact you guys. my site is http://www.abouther.com.au Can you help?

    #230814

    Rue Nel
    Moderator

    Hello There,

    We’ve noticed that you are using an older version of X theme. Please make sure to validate X Theme to get automatic x theme and x shortcodes updates. Our current versions are
    X theme version 3.2.3
    X Shortcode 3.0.5

    Most of the time updating the theme and plugins resolves the issue. Please let us know how it goes.

    Thank you.

    #231453

    Leearna C
    Participant

    Hi

    I understand your concern. I have purchased the theme for the site but have never been able to validate the site, see my support link conversation here – https://theme.co/x/member/forums/topic/api-key-missing/#post-231451

    Once we get this problem sorted and I do updates do you think it will work without the double up?

    Thanks.
    L

    #231694

    Paul R
    Moderator

    Hi,

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #231749

    Leearna C
    Participant
    This reply has been marked as private.
    #231990

    Zeshan
    Member

    Hi Leearna,

    Thanks for writing in!

    Just answered to your another question, please review that: https://theme.co/x/member/forums/topic/woocommerce-shipping-bullets-not-aligning/#post-231964

    Thank you.

    #259068

    Carmine M
    Participant

    Team,
    I too am having this issue.

    the site is mvseasalt.com

    I took a screen shot http://www.mvseasalt.com/wp-content/uploads/2015/04/double-proceed-to-checkout.png

    #259080

    Rob V
    Participant

    Hi Carmine,

    I had the same issue, but found the solution here: https://theme.co/x/member/forums/topic/woocommerce-cart-issue-after-update/#post-255352

    Problem is that X isn’t yet fully up-to-date with the latest Woo 😉

    Succes!

    #259216

    Rue Nel
    Moderator

    Hello Guys,

    This is a known issue with the current release of X with the current release of Woocommerce 2.3.8. You can resolve this by editing your woocommerce cart template in X. Using FTP, please download the cart.php located in /wp-content/themes/x/woocommerce/cart/cart.php to your local computer and replace it with the code below:

    <?php
    
    // =============================================================================
    // WOOCOMMERCE/CART/CART.PHP
    // -----------------------------------------------------------------------------
    // @version 2.3.8
    // =============================================================================
    
    if ( ! defined( 'ABSPATH' ) ) {
      exit; // Exit if accessed directly
    }
    
    wc_print_notices();
    
    do_action( 'woocommerce_before_cart' ); ?>
    
    <form action="<?php echo esc_url( WC()->cart->get_cart_url() ); ?>" method="post" class="cart-form">
    
      <?php do_action( 'woocommerce_before_cart_table' ); ?>
    
      <table class="shop_table cart" cellspacing="0">
        <thead>
          <tr>
            <th class="product-remove">&nbsp;</th>
            <th class="product-thumbnail">&nbsp;</th>
            <th class="product-name"><?php _e( 'Product', '__x__' ); ?></th>
            <th class="product-price"><?php _e( 'Price', '__x__' ); ?></th>
            <th class="product-quantity"><?php _e( 'Quantity', '__x__' ); ?></th>
            <th class="product-subtotal"><?php _e( 'Total', '__x__' ); ?></th>
          </tr>
        </thead>
        <tbody>
    
          <?php do_action( 'woocommerce_before_cart_contents' ); ?>
    
          <?php
    
          foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
    
            $_product   = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key );
            $product_id = apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key );
    
            if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $cart_item_key ) ) {
    
              ?>
    
              <tr class="<?php echo esc_attr( apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ) ); ?>">
    
                <td class="product-remove">
                  <?php echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove" title="%s">&times;</a>', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), __( 'Remove this item', '__x__' ) ), $cart_item_key ); ?>
                </td>
    
                <td class="product-thumbnail">
                  <?php
                    $thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key );
                    if ( ! $_product->is_visible() ) {
                      echo $thumbnail;
                    } else {
                      printf( '<a href="%s">%s</a>', $_product->get_permalink( $cart_item ), $thumbnail );
                    }
                  ?>
                </td>
    
                <td class="product-name">
                  <?php
                    if ( ! $_product->is_visible() ) {
                      echo apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key );
                    } else {
                      echo apply_filters( 'woocommerce_cart_item_name', sprintf( '<a href="%s">%s</a>', $_product->get_permalink( $cart_item ), $_product->get_title() ), $cart_item, $cart_item_key );
                    }
    
                    // Meta data
                    echo WC()->cart->get_item_data( $cart_item );
    
                    // Backorder notification
                    if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) {
                      echo '<p class="backorder_notification">' . __( 'Available on backorder', '__x__' ) . '</p>';
                    }
                  ?>
                </td>
    
                <td class="product-price">
                  <?php echo apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key ); ?>
                </td>
    
                <td class="product-quantity">
                  <?php
                    if ( $_product->is_sold_individually() ) {
                      $product_quantity = sprintf( '1 <input type="hidden" name="cart[%s][qty]" value="1" />', $cart_item_key );
                    } else {
                      $product_quantity = woocommerce_quantity_input( array(
                        'input_name'  => "cart[{$cart_item_key}][qty]",
                        'input_value' => $cart_item['quantity'],
                        'max_value'   => $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(),
                        'min_value'   => '0'
                      ), $_product, false );
                    }
                    echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key );
                  ?>
                </td>
    
                <td class="product-subtotal">
                  <?php echo apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); ?>
                </td>
    
              </tr>
    
              <?php
    
            }
    
          }
    
          do_action( 'woocommerce_cart_contents' );
    
          ?>
    
          <tr>
            <td colspan="6" class="actions">
    
              <?php if ( WC()->cart->coupons_enabled() ) { ?>
                <div class="coupon action-group">
                  <label for="coupon_code"><?php _e( 'Coupon', '__x__' ); ?>:</label> <input name="coupon_code" type="text" class="input-text" id="coupon_code" value="" placeholder="<?php _e( 'Coupon code', '__x__' ); ?>" /> <input type="submit" class="button" name="apply_coupon" value="<?php _e( 'Apply Coupon', '__x__' ); ?>" />
                  <?php do_action( 'woocommerce_cart_coupon' ); ?>
                </div>
              <?php } ?>
    
              <div class="update action-group">
                <input type="submit" class="button" name="update_cart" value="<?php _e( 'Update Cart', '__x__' ); ?>" />
                <?php do_action( 'woocommerce_cart_actions' ); ?>
              </div>
    
              <?php wp_nonce_field( 'woocommerce-cart' ); ?>
    
            </td>
          </tr>
    
          <?php do_action( 'woocommerce_after_cart_contents' ); ?>
    
        </tbody>
      </table>
    
      <?php do_action( 'woocommerce_after_cart_table' ); ?>
    
    </form>
    
    <div class="cart-collaterals">
    
      <?php do_action( 'woocommerce_cart_collaterals' ); ?>
    
    </div>
    
    <?php do_action( 'woocommerce_after_cart' ); ?>

    Or you can refer to this post: https://theme.co/x/member/forums/topic/woocommerce-cart-issue-after-update/#post-255352

    Hope this helps. Kindly let us know.

    #265422

    Carmine M
    Participant

    Team,
    replace cart.php with your code works great. All fixed.

    Q4u: will this file get written over during any updates? If yes what type of updates, X? Or WooCommerce? Or?

    With Best Regards,

    -Carmine

    PS: Thanks Rob V.

    #265589

    Christopher
    Moderator

    Hi there,

    Since file is located in X so it will be overwritten in next update of theme.

    Thanks.