[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
shipping method base on current date ?
Hello Minivend gurus,
As my products have a date field, I am looking for a way to define a
shipping price based on current date.
For example,
- if (product's date - current date) > 10 days, then shipping price =
10 $
- else shipping price = 20 $
I tried to set up this as described in doc about fedex, by creating a
fedex_cost perl subroutine in catalog.cfg.
But minivend complains about this function in catalog.cfg when starting.
Documentation is not really clear on this part. How is the right way to
use a fedex_cost subroutine ?
Is there a more clever way to define the shipping method I am looking
for ?
Many thanks in advance for your help.
Francois