Support » Plugin: Quantity Field on Shop Page for WooCommerce » Layout problems after update

  • joelmellin

    (@joelmellin)


    Hi!

    As can bee seen in the attached pictures I have issues with the layout after the last update of the plugin.
    1. The quantity field is no longer centered over the add to cart button
    2.The quantity field is not visible at all if there is only 1 left in stock. Only if the stock is 2 or more.

    Could you please help to fix this?

    Picture 1

    Picture 2

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wooassist

    (@wooassist)

    @joelmellin try adding this on your css

    .quantity {
    	width: 108px;
    	margin: 0 auto 5px !important;
    	/* float: none; */
    }

    #2 is logical, if you have 1 left in stock then there is no need to give the option to the customer to increase or decrease the quantity since they can only order 1.

    Thread Starter joelmellin

    (@joelmellin)

    Thanks!

    The code worked to fix the layout issue.

    When it comes to that the quantity field is not visible at all if there is only 1 left in stock. Was it like that before? If I remember correct it showed up before even if the quantity was only one. I like it better if it shows also if the quantity is only one. As you can see in the attached picture it creates a asymmentry when the quantity field is not there for the products that only have one in stock. The add to cart button will then be higher up under the picture of the products with only one in stock compared to those with more in stock.

    Picture 1

    Plugin Author wooassist

    (@wooassist)

    @joelmellin this is a woocommerce feature and we cannot control it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Layout problems after update’ is closed to new replies.