I'm trying to modify the freeamount module to charge a flat rate (regardless of how many vendors its applied to or are represented in the shopping cart at the time), and then to default to free above the set threshold.
This is using mvs 1.3 on 2.3.4.
Anybody know of a way of doing that - has it been done etc?
I'm wondering about:
declare a global variable to count the number of times the module is loaded per basket then to divide the shipping cost by the number of times its loaded. Although actually that wouldn't work either as its run sequentially, the first time would charge the whole fee, the rest would have to be set to zero.
Other vendors in the basket could have a separate shipping cost - so overriding the global shipping total I don't think would work.
Is there already a count of the number of times a particular module as loaded?
Getting a bit bogged down in it!
Thanks in advance.