sorry but this is too much for me. I think I can not do this. Now is 5pm in Portugal (Europe) im going to try later but it will be difficult.
Tanks You are OK![]()
sorry but this is too much for me. I think I can not do this. Now is 5pm in Portugal (Europe) im going to try later but it will be difficult.
Tanks You are OK![]()
Can you give a little more detailed example of what you are trying to do?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
ok
for zone 1 i have shipping models:
flat
store pickup
flattransf
flatclone
flatpaypal
i turn on the module freeoptions ( with >=90 ) everything is on (flat, store pickup, flattransf, flatclone and flatpaypal) if the order is <90 if the order is >=90 only the module freeoptions is on, the others shipping modules disappear. This is only for one zone.
That is how it is designed to work ... what is it you want to change?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
if i install the code that you give me in all the shipping modules they go off if order >=90 (if i have module freeoptions).
I want :
wall modules work normal if module freeoptions is off even the order is <90 or >=90
wall modules work normal if module freeoptions is on, but they go off if order >=90, only module freeoptions is on
Currently, if the order is >= 90 and the Zone is correct, then all the shipping modules except Free Shipping Options freeoptions turn off ...
But, if the Zone does not match, and the order is >= 90 all of the other shipping modules work, correct?
Is the problem that you are trying to turn off this feature sometimes?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Can the modules go on or off depending the shipping cost of freeoptions module?
if i do >=500 the others modules go off, if i do >=40 the others modules go off, automatically they only go off depending of shipping cost of freeoptions module. the freeoptions module is always on
You could do this ...
Create a file called:
/includes/languages/english/extra_definitions/extra_free_shipping_options.php
and enter the code:
Change in the shipping modules the 90 to be:Code:<?php $_SESSION['free_shipping_options_amount'] = 90;
$_SESSION['free_shipping_options_amount']
Now, when you want to use the Free Shipping Options with the 1 Zone, have the file:
/includes/languages/english/extra_definitions/extra_free_shipping_options.php
set to 90 ...
When you do not want to use this, set it to 10000 ...
Does this do what you are trying to do?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
i have this
change to this???if ( ($this->enabled == true) ) {
$check_flag = false;
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . 6 . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
while (!$check->EOF) {
if ($check->fields['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check->fields['zone_id'] == $order->delivery['zone_id']) {
$check_flag = true;
break;
}
$check->MoveNext();
}
if ($check_flag == true && ($order->info['total'] - $order->info['shipping_cost']) >= 700) {
$this->enabled = false;
}
}
if ( ($this->enabled == true) ) {
$check_flag = false;
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . $_SESSION['free_shipping_options_amount'] . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
while (!$check->EOF) {
if ($check->fields['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check->fields['zone_id'] == $order->delivery['zone_id']) {
$check_flag = true;
break;
}
$check->MoveNext();
}
if ($check_flag == true && ($order->info['total'] - $order->info['shipping_cost']) >= 700) {
$this->enabled = false;
}
}