1. Startseite
  2. Wissensdatenbank
  3. WooCommerce Großhandelspreise Premium
  4. Mindestanforderungen
  5. So fügen Sie eine Mindestmenge auf Archivseiten hinzu, indem Sie einen Mengenauswahl hinzufügen

So fügen Sie eine Mindestmenge auf Archivseiten hinzu, indem Sie einen Mengenauswahl hinzufügen

By default the archives pages in WooCommerce (Categories, Tags and even the main Shop page archive) do not display a quantity selector and have hard coded the add to cart buttons to a quanitty of 1.

This is fine for retail situations, but for wholesale customers it can be confusing when there is a minimum quantity amount on that particular product and the price doesn’t match up in the cart due to not satisfying this rule.

The best way to get around this is by adding a quantity box to your archive pages. The WooCommerce Wholesale Prices Premium plugin will then pick up on this and adjust the minimum quantity to the amount you defined in your product.

Here’s a quick guide on how to override your loop/add-to-cart.php template to achieve this:

https://docs.woothemes.com/document/override-loop-template-and-show-quantities-next-to-add-to-cart-buttons/

Now you should see quantity selectors next to your add to cart buttons and when logged in, your wholesale customers will see the correct min quantity pre-filled in those boxes.

War dieser Artikel hilfreich?

Verwandte Artikel

Benötigen Sie Unterstützung?

Können Sie die Antwort, die Sie suchen, nicht finden?
Support kontaktieren
Kauf abschließen