Hi
I am setting up a site where order quantities must be in multiples of 6, but the 6 can be a selection from a range of products.
I am trying out a bit of js from this thread coutesy of Norman the Great!, but as the price for 6 is going to be £13.00, and 13/6 = 2.16 recurring, I think the best I am going to be able to do with individual (though not shown) prices on the items is 217 pence * 6 = £13.02. Which is annoying for me and the client.
Is there perhaps a way around this by calculating the order value based on CART_CONTENT(3) / 6 *1300. Of course I would have to ensure that the user could not get to the checkout page with a non-6 divisible quantity, but I reckon I could work that out with time if I could disable quantity changes in the checkout Perl phase.
The other complication is that I will have to set up some discount parameters for bulk orders, and date controlled discounts as well.
A bit of a minefield with my limited experience, but I thought I'd enquire.
Thanks in advance, Dan
I am setting up a site where order quantities must be in multiples of 6, but the 6 can be a selection from a range of products.
I am trying out a bit of js from this thread coutesy of Norman the Great!, but as the price for 6 is going to be £13.00, and 13/6 = 2.16 recurring, I think the best I am going to be able to do with individual (though not shown) prices on the items is 217 pence * 6 = £13.02. Which is annoying for me and the client.
Is there perhaps a way around this by calculating the order value based on CART_CONTENT(3) / 6 *1300. Of course I would have to ensure that the user could not get to the checkout page with a non-6 divisible quantity, but I reckon I could work that out with time if I could disable quantity changes in the checkout Perl phase.
The other complication is that I will have to set up some discount parameters for bulk orders, and date controlled discounts as well.
A bit of a minefield with my limited experience, but I thought I'd enquire.
Thanks in advance, Dan
Comment