[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] using criteria quantity (like weight) inside the shipping subroutine
****** message to minivend-users from Eduardo Fernandez Corrales <efernandez@sistelnet.es> ******
Hello everyone:
I am using a subroutine to calculate shipping. The relevant line in the
shipping.asc is:
upseuropa UPS Europa weight 1 10001 s coste_ups_eu
;[value country]
Inside the coste_ups_eu subroutine I check the country and return a
shipping cost accordingly.
Now I would like to return the shipping cost taking the weight also into
account. For that I need to pass the weight to the subroutine. How could I
do this?
I have tried modifying shipping.asc like
upseuropa UPS Europa weight 1 10001 s coste_ups_eu
;[value country];[value weight]
and also tried:
upseuropa UPS Europa weight 1 10001 s coste_ups_eu
;[value country];@@TOTAL@@
and many others.
I might be overlooking something obvious. Please point me in the right
direction.
Thanks in advance.
--
Eduardo Fernández Corrales
eduardo@sistelnet.es
Sistelnet Integraciones Telemáticas - http://www.sistelnet.es
NUEVOS TELEFONOS: 95-4186897 95-4186898 902-293030 Fax: 954186901
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list