Support » Plugin: WooCommerce » Making the /- Plus and Minus quantity button go up in increments of 12

  • I have been trying to solve what I thought might be an easy fix but I can’t seem to find any information anywhere.

    My problem is this:

    I am setting up a wholesale store using woocommerce with the min/max quantity and wholesale store plugins. I want to show a simple product with its single unit price (no problem) but as all products in the store are wholesale they can only be sold in (multiples) cartons of 6 or 12.

    The min/max plugin allows me to set a minimum order quantity (say 12 items) but when I click on the -/+ Minus and Plus quantity selector to add another carton (another 12 items) it only adds one number (single item) at a time… E.g. 13, 14, 15, 16 and so on.

    So my question is… “Is it possible to modify the ‘quantity.php’ or other php file so that the order quantities only go up in increments of 12?” (E.g. 12, 24, 36, 48, etc.)

    I know I could simply set up and show a single carton cost as a simple product or do dropdown variables but my client wants to show total quantities with a base per unit price.

    Ideally I would like to enter a number into the minimum order field and whatever that number is it just adds the same number again. For example… I enter the number 6 and each time I click on the + (plus) Qty field it adds 6, E.g. 6, 12, 18, 24… or I enter the number 5 and it adds 5, E.g. 5, 10, 15 and so on.

    This would be useful for a number of stores (selling packs of screws or bolts with a single unit price but sold in multiples for example).

    Thanks in advance for any feedback you may have.

  • The topic ‘Making the /- Plus and Minus quantity button go up in increments of 12’ is closed to new replies.