My client was hoping to be able to generate a warning if the total orders from his site was not divisable by 12 essentially.
Let me explain - he is selling bottled beers and for shipping purposes he wants to ship the bottles in crates of 12. Therefore customers can order as many differing beers as they like in their crate(s) but the each crate must be FULL. The reason being that the bottles are likely to break if the crates arent full.
I have phoned Actinic and they cant help me and suggested I post in here. I can see how to achieve this if I had hand coded this in php without a problem but being locked in Actinics setup and no real working knowledge of Perl I'm a bit stuck!!
The simple workaround is for me to put some static html in the basket page that will warn/remind the customer regardless of whether they have a "complete" crate or not. But I wondered if it was in fact possible to perform a check on the total quantity variable (which ever that is) and output the text depending on the result in some way??
Am I asking too much of Actinic here?
TIA
Let me explain - he is selling bottled beers and for shipping purposes he wants to ship the bottles in crates of 12. Therefore customers can order as many differing beers as they like in their crate(s) but the each crate must be FULL. The reason being that the bottles are likely to break if the crates arent full.
I have phoned Actinic and they cant help me and suggested I post in here. I can see how to achieve this if I had hand coded this in php without a problem but being locked in Actinics setup and no real working knowledge of Perl I'm a bit stuck!!
The simple workaround is for me to put some static html in the basket page that will warn/remind the customer regardless of whether they have a "complete" crate or not. But I wondered if it was in fact possible to perform a check on the total quantity variable (which ever that is) and output the text depending on the result in some way??
Am I asking too much of Actinic here?
TIA
Comment