Quantity box add to cart issue - by haramizuki

This topic has 12 replies, 6 voices, and was last updated 8 years, 4 months ago ago by Robert Hall

  • Avatar: haramizuki
    haramizuki
    Participant
    December 8, 2015 at 06:08

    Hello, i have updated the theme to 2.6. I tried to change the quantity to a number greater than 1, and after clicking the add to cart button, the cart displays only 1 item. This was also an issue in the previous version, which I also reported and was fixed after, but I did not know how it was fixed. 😀

    May I also ask if it’s possible to make the spacing between the quantity box and the Add to Cart button a little bit closer in the Shop and Product Category Page, just like on Favorites (aka Wishlist) page? I tried to do so by adding a custom css code, but it also affects the code on the Favorites page, making the “Add to Cart” button overlap on the quantity box.

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    December 8, 2015 at 07:38

    Hello

    The plugins you have added is woocommerce extensions. You should contact them resolve quanity issue. Please try following code to increase space:
    .etheme_add_to_cart_button{float:right!important;}

    Regards,
    Brian Johnson

    Avatar: haramizuki
    haramizuki
    Participant
    December 8, 2015 at 16:34

    Unfortunately, the float:right code made it more farther from each other, but thanks for including the div class. I managed to edit it on my own. =D

    The quantity issue seems to apply only on Shop and Wishlist pages – It works on Single Product page. Is it still a plugin issue?

    Avatar: stan
    Stan Russell
    Participant
    December 8, 2015 at 16:39

    Hello haramizuki,

    you may temporary disable third-party plugins to check is this functionality related to these plugins.

    Regards,
    Stan Russell.

    Avatar: haramizuki
    haramizuki
    Participant
    December 8, 2015 at 17:02

    Hi, I tried to disable all the plugins installed. But then the quantity box on the Shop and favorites pages disappeared. I didn’t deleted anything, I just disabled the plugins. Activating the plugins didn’t do anything as well.

    I did followed the instructions here to add a quantity box on Shop page:

    http://www.themelocation.com/how-to-add-quantity-field-with-each-product-on-shop-page-woocommerce/

    But it still didn’t show the show the quantity field.

    Avatar: Eva
    Eva Kemp
    Support staff
    December 8, 2015 at 19:21

    Hello,

    I’ve added the code to functions.php file as described in this article:
    https://shopplugins.com/add-a-quantity-field-to-the-woocommerce-archive-pages/

    Now quantity box is shown on Shop page.
    Clear browser cache and check.

    Regards,
    Eva Kemp.

    Avatar: haramizuki
    haramizuki
    Participant
    December 9, 2015 at 07:02

    Hi Eva,

    Thanks that worked for Shop page, but on Favorites (wishlist) page, it still won’t show. 🙁

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 9, 2015 at 08:37

    Hello,

    There is no such option for Wishlist page:
    http://support.yithemes.com/entries/97827468-Add-Quantity-field-to-wishlist

    Best regards,
    Jack Richardson.

    Avatar: haramizuki
    haramizuki
    Participant
    December 9, 2015 at 10:12

    I was able to have a quantity box before – and it was there for months, before I disabled all the plugins yesterday. Really weird that it got all messed up after disabling plugins, enabling them should have fixed the issue. Oh well. Anyway, thank you so much for the help and patience! Really appreciate it!

    Avatar: stan
    Stan Russell
    Participant
    December 9, 2015 at 10:48

    Hello haramizuki,

    is your problem solved?

    Regards,
    Stan Russell.

    Avatar: haramizuki
    haramizuki
    Participant
    December 9, 2015 at 18:18

    Hi Stan,

    Regarding the quantity box on shop page, yes, it has been solved. 🙂

    However I’m having issues with adding more than 1 quantity to cart on Shop Page, and Quantity field in Wishlist. I know that the quantity field in wishlist page doesn’t appear by default, but it did show when I followed the instructions here before: http://www.themelocation.com/how-to-add-quantity-field-with-each-product-on-shop-page-woocommerce/

    I did report it before on this forum link: https://www.8theme.com/topic/add-to-cart-button-overlaps-in-wishlist/ – You’ll see that Robert was able to fix the add to cart button overlapping the quantity box on wishlist page, meaning the quantity field did appear; also, the quantity issue got fixed after Robert’s post as well. I was able to add more than 2 quantity to cart, so I assumed he was able to fix that issue, although he only mentioned adding CSS — but this issue came back after upgrading the theme to latest version (2.6).

    Somehow, after re-enabling all the plugins it disappeared. I’m still investigating if the cause is from an upgrade from Woocommerce or other plugins, but it’s just weird that it messed up after disabling the plugins – maybe something to do with cache… I’m not sure.

    Is it safe to update WordPress to 4.4 with WooPress?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 9, 2015 at 18:35

    Hello haramizuki,

    To avoid losing your changes after theme update we recommend you to use the Child Theme.
    Please read more in our documentation:
    https://www.8theme.com/demo/docs/woopress/index.html#!/3_child_theme
    As I see here:
    http://www.themelocation.com/how-to-add-quantity-field-with-each-product-on-shop-page-woocommerce/
    the author wrote

    You can find the add-to-cart file under wp-content > plugins >woocommerce > templates > loop > add-to-cart.php

    In this case you need copy this file into it saving folder structure and make changes there.
    For example:
    wp-content/themes/woopress_child/woocommerce/templates/loop/add-to-cart.php

    Is it safe to update WordPress to 4.4 with WooPress?

    We recommend you to keep 4.3.1 version for now as we haven’t tested 4.4 version yet.

    Regards,
    Robert Hall.

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

You must be logged in to reply to this topic.Log in/Sign up

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