Quantity Pricing beginning unit greater than 1

General ShopSite user discussion

Quantity Pricing beginning unit greater than 1

Postby Joel Schleiff » Wed Jul 26, 2006 7:01 pm

Is there currently a way to start the quantity pricing structure at a number
other than 1 unit. A couple of my clients are wholesalers who sell
merchandise in lots starting at 25, 50, 100 units and do NOT offer sales
below a specific minimum. Being able to use the quantity pricing model
would work excellently for them but the first break needs a variable
beginning minimum unit rather than the default to 1. As each of the higher
tiers uses a variable beginning and ending unit, I hoped that doing the same
with the first tier might be any easy fix.
Any information will be much appreciated.
If no current solution exists, is this something Shopsite might include in
a future upgrade?
Thanks in advance!
Joel Schleiff
 

re:Quantity Pricing beginning unit greater than 1

Postby robm » Sat Aug 05, 2006 4:48 am

Currently there is no built-in way in ShopSite to require a minimum quantity using quantity based discounts. A few workarounds:

- Disable changing the quantity in the cart in the backoffice. Then, on the catalog / moreinfo page, use Javascript to check the contents of the quantity box to enforce a minimum quantity before adding the product to the cart.

- Have the add to cart button go to a script that checks if a minimum if met before adding the product to the cart.

- Set the product as a pack of 5, 25, etc... and then the customer can only order in those increments.

- Instead of a text box for quantity, hardcode a dropdown with set amounts the customer can choose from.

Rob
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut

Re: Quantity Pricing beginning unit greater than 1

Postby Bearwood » Mon Oct 09, 2006 12:05 am

I have the same problem. I am looking at using Shopsite but have about 1,000 sku's that require starting quantities greater than 1. Did anyone try the solutions suggested here and are they amenable to a global database stock update as I would not be interested in coding or updating manually.

Joel Schleiff wrote:Is there currently a way to start the quantity pricing structure at a number
other than 1 unit. A couple of my clients are wholesalers who sell
merchandise in lots starting at 25, 50, 100 units and do NOT offer sales
below a specific minimum. Being able to use the quantity pricing model
would work excellently for them but the first break needs a variable
beginning minimum unit rather than the default to 1. As each of the higher
tiers uses a variable beginning and ending unit, I hoped that doing the same
with the first tier might be any easy fix.
Any information will be much appreciated.
If no current solution exists, is this something Shopsite might include in
a future upgrade?
Thanks in advance!
Bearwood
 
Posts: 8
Joined: Sun Oct 08, 2006 12:41 pm

Postby dhsproducts » Wed Oct 10, 2007 3:15 pm

Thanks to the help of a friend, I was able to use the following Javascript in a custom page template:

-----------------------------------------

function ValidateQuantityEntry(field)
// This function validates the quantity ordered when the customer exits the
//product quantity field.
// Change the value in the “IF” statement and in the line below the 'alert'
//statement to change the increment value.
{
if ((field.value%50)==0)
{
//Do Nothing
}
else
{
alert("Products are only sold in increments of 50.");
field.value = 50;
field.focus();
}
}

-----------------------------------------

On a custom Product template change the qnty" value to the following:

qnty" value="1" onblur="ValidateQuantityEntry(this)"

(This is the default value of each field ("1")

For each product, enter the minimum default value you want your product to have. If 50 is your standard increment value, enter 50 for the minimum default value, for 100…enter 100, etc.

This worked like a charm for ordering quantities from the product information page. I am working on the shopping cart.
dhsproducts
 
Posts: 3
Joined: Wed Aug 15, 2007 11:29 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 77 guests