Good Morning Everybody,
We sell tartan cloth by the metre. We generally have a minimum order of 2 metres. However, we also want to be able to supply a swatch or sample.
Using components causes layout problems and other bugs that are not yet fixed.
We could set the price to 'price per ten cms ' and charge the sample as 1 cm which would be fine. However the general minimum order would be 200 cms. Therefore we want to change ActinicOrder.pm to allow an order of 1 but not 2-199. This would have to be restricted to only the relevant products.
One thought is to have a code that picks up the min order value of 200 and allows an exception of 1 for this case only. Therefore any products with a min order of 200 would be treated this way.
Another thought is to type in S which could be picked up here
elsif ($nQuantity =~ /\D/ || # if there are any non-digits in the quantity
$nQuantity < $nMinQuantity || # or the quantity is not >= min quantity
($nMaxQuantity != 0 && # or ( the quantity ordered is more than the quantity allowed)
$nQuantity > $nMaxQuantity) )
Is this viable? If so does anyone know exactly where and what we would change?
Many thanks,
Niall
http://www.highlandclans.co.uk/Stock..._of_Edgar.html
We sell tartan cloth by the metre. We generally have a minimum order of 2 metres. However, we also want to be able to supply a swatch or sample.
Using components causes layout problems and other bugs that are not yet fixed.
We could set the price to 'price per ten cms ' and charge the sample as 1 cm which would be fine. However the general minimum order would be 200 cms. Therefore we want to change ActinicOrder.pm to allow an order of 1 but not 2-199. This would have to be restricted to only the relevant products.
One thought is to have a code that picks up the min order value of 200 and allows an exception of 1 for this case only. Therefore any products with a min order of 200 would be treated this way.
Another thought is to type in S which could be picked up here
elsif ($nQuantity =~ /\D/ || # if there are any non-digits in the quantity
$nQuantity < $nMinQuantity || # or the quantity is not >= min quantity
($nMaxQuantity != 0 && # or ( the quantity ordered is more than the quantity allowed)
$nQuantity > $nMaxQuantity) )
Is this viable? If so does anyone know exactly where and what we would change?
Many thanks,
Niall
http://www.highlandclans.co.uk/Stock..._of_Edgar.html
Comment