Cart Totals Not Displaying & Error using waiting list

This topic has 30 replies, 2 voices, and was last updated 9 years, 6 months ago ago by Eva Kemp

  • Avatar: mdmason23
    mdmason23
    Participant
    June 22, 2015 at 07:02

    Hello,

    I am having a couple of problems:

    1- When I add non-downloadable products to my cart, the cart totals disappear after I click the calculate shipping button. It appears they shift to the right off of the page. I am currently using the boxed layout option; however, the same thing happens even if I use the wide layout.

    2- I would like my customers to be able to request notifications when products are restocked. I installed and activated the YITH WooCommerce Waiting List plugin. The item description, add to cart button, add to wishlist options all disappear and I now get the following error on my product pages:

    Warning: Missing argument 3 for YITH_WCWTL_Frontend::output_form() in /home2/ab16542/public_html/butterbeescraps.com/wp-content/plugins/yith-woocommerce-waiting-list/includes/class.yith-wcwtl-frontend.php on line 115

    Fatal error: Call to a member function is_in_stock() on a non-object in /home2/ab16542/public_html/butterbeescraps.com/wp-content/plugins/yith-woocommerce-waiting-list/includes/class.yith-wcwtl-frontend.php on line 133

    Please help!
    Thanks,
    Monique

    29 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 22, 2015 at 11:17

    Hello,

    1. Please provide us with FTP and wp-admin panel credentials in Private Content.

    2. As you can see the error is with the plugin itself as the problem is in the plugin files:
    wp-content/plugins/yith-woocommerce-waiting-list/includes/class.yith-wcwtl-frontend.php on line 133
    wp-content/plugins/yith-woocommerce-waiting-list/includes/class.yith-wcwtl-frontend.php on line 115
    Try to reupload it. Also check the plugin with default WordPress theme.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 22, 2015 at 15:35

    Eva,

    Sorry, I should have known to provide you with that info.

    The waiting list plugin works with my previous theme – customizr. I uninstalled and reinstalled the plugin and am getting the same errors. Not sure how to resolve this.

    Thanks,
    Monique

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 22, 2015 at 20:31

    Hello,

    We can log in neither to wp-admin panel nor to your FTP account.
    Please check the credentials.
    Also please clarify how we can replicate the issue with “cart totals”. Give us a direct link.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 22, 2015 at 22:39

    Eva,

    Sorry – I missed a number in the password in the credentials. I’ve made the corrections below.

    To replicate issue:
    1- add item 806-b into the cart (no other items in the store are currently stocked)
    2- go to the cart and click “calculate shipping”
    3- enter any destination and click “update totals”

    When the totals update, they all shift to the right out of view.

    Thanks,
    Monique

    Please, contact administrator
    for this information.
    Avatar: mdmason23
    mdmason23
    Participant
    June 22, 2015 at 23:51

    Eva,

    Can you also look into why there is a large white space under the product banner on my shop page?

    Thanks a bunch!
    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 23, 2015 at 13:36

    Hello,

    What is the correct link to wp-admin panel?
    When I try to use your_domain/wp-admin I’m redirected to the site and authorization page isn’t shown.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 23, 2015 at 15:31

    Eva,

    Not sure why that is happening – that’s how I get to the wp-admin panel. I have put the link in private content to confirm. My website is SSL encrypted with the ithemes security plugin activated. could this be the problem?

    Monique

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 23, 2015 at 16:12

    Hello,

    Thank you for explanation. I was able to access wp-admin panel.
    Sorry but I can’t find the item 806-b. Please give us a direct link of the product.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 23, 2015 at 16:15

    Eva,

    I have disabled my ithemes security just in case that was the problem.

    Monique

    Avatar: mdmason23
    mdmason23
    Participant
    June 23, 2015 at 16:42
    Avatar: Eva
    Eva Kemp
    Support staff
    June 23, 2015 at 20:19

    Hello,

    Please add this code in custom.css file:

    .cart-collaterals .cart_totals {
        width: auto !important;
    }

    To create custom.css you need rename default.custom.css to custom.css in wp-content/themes/blanco directory via FTP and enable it in Blanco – Theme Settings, tick “Enable Custom CSS file”.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 23, 2015 at 20:48

    Eva,

    Thank you! Are you able to help with the waiting list and extra space under the product banner on my shop page?

    The waiting list plugin works with the default plugin, and I have tried reloading it without it fixing the problem.

    Thanks,
    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 24, 2015 at 11:46

    Hello,

    To remove extra space under banner add this code in custom.css file:

    #default_products_page_container .page-description {
        display: none !important;
    }

    We can’t enter wp-admin panel again to check the issue with Waiting list. The wp-admin link redirects to the main site page.
    Please check it.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 24, 2015 at 22:24

    Eva,

    Sorry – I activated my security again. I will leave it off until we get this resolved.

    I have a couple of other minor issues I was hoping you could help me with also:
    1- wait list not working (per our previous discussion)
    2- how can i change the site-wide banner colors? i’d like the background to be #2f4d48 and the text to be white.
    3- is there any way to show a limited number of characters of the product titles when they appear on the product page, or in search results? i’d like to limit the character string to about 65 characters. right now, i am now showing the product titles because some are very long.

    I’m hoping this is it. Thanks for the great support so far. I am really pleased with the responses and the theme…I will definitely be leaving a positive review.

    Thanks,
    monique

    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 00:57

    Eva,

    I found a 4th issue:
    4- the site-wide banner appears over top of everything blocking out part of my logo and and the cart. Is there any way to shift everything down when the site-wide banner is enabled?

    Thanks,
    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 25, 2015 at 07:56

    Hello,

    1. We can’t connect via FTP now. Please provide us with correct FTP credentials.

    2. Could you please show a screenshot what banners you’re talking about?

    3. You can limit product title following one of the instructions in these articles:
    http://businessbloomer.com/woocommerce-shorten-product-titles/
    http://www.pixelninja.me/shorten-woocommerce-product-titles/
    http://support.pixelentity.com/threads/7415-SOLVED-Woocommerce-Product-Title-length-too-long

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 08:38

    Eva,

    Not sure why FTP credentials aren’t working…could it be because of the SSL encryption? I have the security plugin turned off right now – not sure what other changes i would have to make to grant you access to FTP. I have included my credentials in the private content to confirm.

    The following are screen shots of where the sitewide banner is turned on and off in the woocommerce settings, and a screen shot of the website when the banner is activated. Not sure what changed, but the banner is no longer covering the logo or shopping cart.

    woocommerce sitewide banner settings

    website with sitewide notice activated

    Thanks,
    Monique

    Please, contact administrator
    for this information.
    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 09:17

    Eva,

    I have tried adding the 2 different codes to my functions.php file to shorten my product titles, but i keep getting a fatal error:

    Fatal error: Call to undefined function add_filter() in /home2/ab16542/public_html/butterbeescraps.com/wp-includes/functions.php on line 8

    Is there a specific place where the code must be added?

    I’m really sorry – I’m new to all of this – it’s a miracle I even found the functions.php file.

    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 25, 2015 at 11:14

    Hello,

    I’ve added this code in functions.php of the theme:

    add_filter( 'the_title', 'shorten_woo_product_title', 10, 2 );
     
    function shorten_woo_product_title( $title, $id ) {
    if ( is_shop() && get_post_type( $id ) === 'product' ) {
    return substr( $title, 0, 20 ); // change last number to the number of characters you want
    } else {
    return $title;
    }
    }

    and added this code in custom.css for products slider on home page:

    .product-slider .product-slide .product-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap !important;
    }

    Please check products titles now.

    Is the issue with site-wide store notice text fixed?
    As I see it’s not covering the logo.

    Unfortunately Waiting List plugin isn’t compatible with the theme.
    Please take our apologies, but we don’t guarantee compatibility of our theme with third-party extensions.

    Thank you for understanding.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 16:13

    Eva,

    Almost but not quite:
    1- there is a large white space between the product images and the product titles on the shop page
    2- when hovering over the product titles, the color seems to change to the theme default color, not the colors i have specified in the theme settings
    3- i still want to change the color of the site-wide banner – #990000 for the background and #ffffff for the text

    Thanks,
    Monique

    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 16:27

    Nope – wrong again…when i logged out of wp-admin and went to my website, the sitewide banner is covering the cart and part of my logo:
    sitewide banner problems

    Also, when I went to my website using my tablet, the background image does not stay fixed, which causes it to become very blurry. I do have expending enabled, otherwise, the image is not wide enough to fill the full width of the window. I had to fix the image, otherwise it became blurry on the blog page because it is much longer than the other pages and the image expands too much. Since the “fixed” selection for the background is not working on my mobile device, the image expands to the point where it becomes blurry on the blog page. This is not a problem on my desktop computer.

    Thanks,
    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 25, 2015 at 17:47

    Hello,

    1. Please add this code in custom.css file:

    #products-grid .product-image {
        height: 180px !important;
    }

    2. Please use this code in custom.css:

    #products-grid.products_grid .product-grid .product-name a:hover, .product-slider .product-slide .product-name a:hover {
      color: #990000 !important;
    }

    3. Please add the code in custom.css file:

    p.demo_store {
      background: #990000 !important;
      border: 1px solid #990000;
      color: white !important;
    }

    4. Try to use this code to fix the issue with site-wide banner:

    .wrapper-boxed .containerInner {
      margin-top: 15px !important;
    }
    @media only screen and (max-width: 959px) and (min-width: 768px) {
    .containerInner {
      margin-top: 28px;
    }}

    5. I don’t see any issues with the background image on a tablet. Could you please show a screenshot?

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 18:46

    Eva,

    Forget the background for now.

    The code for #2 doesn’t work quite right. The gap remains and the title is cut off. Here’s a screen shot before adding the code:
    shop page before code

    And a screenshot after the code is added to the custom.css file:
    product page after code

    The issue with the site wide banner is resolved.

    Thanks,
    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 25, 2015 at 19:23

    Hello,

    I’ve added this code in custom.css file:

    #products-grid .product-image, .product-image .img-wrapper, .product-slider .product-image {
        height: 180px;
    }

    Please check products now.

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 25, 2015 at 22:31

    …and now when you go to the individual product pages, there is no “add to cart” or “add to wishlist” buttons :/ The tabs and the descriptions are all gone, too. And no site-wide banner appears at the top of the screen on the individual product pages. This is the error I see:

    Parse error: syntax error, unexpected ‘<‘ in /home2/ab16542/public_html/butterbeescraps.com/wp-content/themes/blanco/woocommerce/single-product/add-to-cart/simple.php on line 14

    And, when I go remove the “<“, I get a different error…unexpected something or other in the same line.

    When I remove the code added in the functions.php and custom.css files, it makes no difference. Add, this same error appears on all products – whether they are in stock or not.

    Here’s another screen shot:
    individual product page errors

    This is critical that it is fixed immediately – my store is live and my customer have no product description to refer to.

    Thanks,
    Monique

    Avatar: mdmason23
    mdmason23
    Participant
    June 26, 2015 at 02:21

    Eva,

    I also notice that when I hover over the “back to top” in the lower left corner, it uses the blanco default colors instead of the ones i picked in the theme settings.

    Thanks,
    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 26, 2015 at 08:48

    Hello,

    I’ve reuploaded the file wp-content/themes/blanco/woocommerce/single-product/add-to-cart/simple.php. Please check single product pages now.

    To change background color of “Back to top” button you need edit the image wp-content/themes/blanco/images/top.png (use some image editor, Photoshop, for example).

    Regards,
    Eva Kemp.

    Avatar: mdmason23
    mdmason23
    Participant
    June 26, 2015 at 19:30

    Thanks, Eva!!! All issues seem to be resolved 🙂

    Monique

    Avatar: Eva
    Eva Kemp
    Support staff
    June 26, 2015 at 19:51

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Cart Totals Not Displaying & Error using waiting list’' 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.