Quantity Increment

Hello All,



I sell products in increment of 5 let say If I am selling 5 Candies and I wanted to sell like the following :-



Customer Add 5 Candies in there shopping cart the system should allow them to add an increment of 5 not 6 so the quantity box should look like



5

10

15

20

25



not 5,6,7,8,9 10, I hope you guys got my point, just wanted to know how this can be done with CS-Cart.

can this be done for particular products we sell?

This is nice. Almost what I need.



My client sells wine, in boxes with amounts of 6 or 12 bottles. Customers buy one or multiple boxes. I don’t want my client to enter “6:12:18:24:30:36…” or “12:24:36…” in the quantity box with each product.

He wants to show the price per bottle on all product pages except for the shopping cart checkout procedure where the total amount is calculated.



I thought of adding an extra field in the product details admin (like you did with the Quantity box) where my client can enter the amount of items in the box. Default will be 6 bottles. (about 90% of catalog, he also sells glasses or sherry/port which come in different quantity per box).


  • My client can enter his price per bottle in the admin.
  • On the store frontend the customer reads that the wine is packed in a box with 6 bottles and he types/orders for example 2 (for 2 boxes of 6 bottles).
  • Shopping cart calculates the total amount: 2 x 6 x price per bottle.



    What do you think of this idea? Is that the most practical way of dealing with this? Would I be changing the same files as your quantity box tweak?

I’ve added a column to the products table (step 1) and I’ve added this in the query mentioned in step 5. The admin works. I’ve added the extra field and by entering a number in the field, the products table gets updated.



Now I need to calculate the 6 x price per bottle in the frontend but I’m not sure where to do this. Is pricing calculated somewhere centrally? Where can I find that? My thought is to enter the new column name in that calculation so the formula gets like this: “ordering amount x items per box x price per bottle”

Hi dab,



I think this is close to what I need.



I have a product that has a minimum of 5 that have to be bought. Thats ok just make the product Product Sofftware Licensing Minimum of 5 = $100.00 (1 product = $20.00)

But the i need to have an option where the customer can increase the number of licenses by whatever Increment they need to purchase ie: 1 x $20 of 10 x $20.



Would this mod you have made allow this?



Also can you install it for me for a fee?



Andrew

[quote name=‘hans’]…

Now I need to calculate the 6 x price per bottle in the frontend but I’m not sure where to do this. Is pricing calculated somewhere centrally? Where can I find that? My thought is to enter the new column name in that calculation so the formula gets like this: “ordering amount x items per box x price per bottle”[/QUOTE]



Still looking for an answer. :frowning:

It must be somewhere in the fn_cart.php file that I have to add/change. I bet there is sql queries too that need to be added… but where and how… :confused: