Hey Q,
I did, sorry for my ignorance.
Now, I setup 100.00 on the subtotal field.
Now, when I try to order products that are less than: $100.00 I get this error:
Error: Shipping Method required. If I add another product and I exceed $100.00, the free shipping kicks in.
Please help
I did, sorry for my ignorance.
Now, I setup 100.00 on the subtotal field.
Now, when I try to order products that are less than: $100.00 I get this error:
Error: Shipping Method required. If I add another product and I exceed $100.00, the free shipping kicks in.
Please help
ok thank you.
I aktivate flat rate shipping (for orders under 100€) and the free shipping module with 100.00 in the subtotal field.
BUT now I have both shipping methods when a clients order is over 100€. Can I take a change so the client only see the free shipping and not both methods?
I aktivate flat rate shipping (for orders under 100€) and the free shipping module with 100.00 in the subtotal field.
BUT now I have both shipping methods when a clients order is over 100€. Can I take a change so the client only see the free shipping and not both methods?
To do what you want, you can force the shipping module to autochoose freeshipping:
EDIT: catalog/model/shipping/free.php
FIND:
AFTER, ADD:
This fools the cart by forcing free shipping and quickly redirecting the page. This will only work for registered checkout, since the guest checkout has the shipping and payment on the same page and I can't bypass the page
EDIT: catalog/model/shipping/free.php
FIND:
Code: Select all
$method_data = array(
'id' => 'free',
'title' => $this->language->get('text_title'),
'quote' => $quote_data,
'sort_order' => $this->config->get('free_sort_order'),
'error' => FALSE
);
Code: Select all
//Q: If this free shipping is available, override all other shipping modules and force this one.
$this->session->data['shipping_method'] = $quote_data['free'];
$this->session->data['comment'] = (isset($this->session->data['comment'])) ? $this->session->data['comment'] : '';
if(!isset($this->session->data['guest'])) {
$this->response->redirect(HTTPS_SERVER . 'index.php?route=checkout/payment'));
}
I am using 1.4.6 and I put this code
but it also skipped my pickup at store.
Is it possible to show checkout shipping with the other shipping possibillities?
Code: Select all
//Q: If this free shipping is available, override all other shipping modules and force this one.
$this->session->data['shipping_method'] = $quote_data['free'];
$this->session->data['comment'] = '';
$this->response->redirect(HTTPS_SERVER . 'index.php?route=checkout/payment');
Is it possible to show checkout shipping with the other shipping possibillities?
Thanks for the fast reply.
Maybe I was not clear enough.
But what I want is above $ 100 free shipping and still pickup at store. And flate rate not visible.
When I install those 3 shipping methods and the amount is above 100 it still shows al 3
With the code it is going directly to the payment options that is not what I want.
I try-out the if statement in catalog\model\shipping flate.php but it did not worked out
Maybe I was not clear enough.
But what I want is above $ 100 free shipping and still pickup at store. And flate rate not visible.
When I install those 3 shipping methods and the amount is above 100 it still shows al 3
With the code it is going directly to the payment options that is not what I want.
I try-out the if statement in catalog\model\shipping flate.php but it did not worked out
Then you need to change add some code to flat rate module that hides the flat rate option
1. EDIT: catalog/model/payment/flat.php
2. FIND:
3. BEFORE, ADD:
1. EDIT: catalog/model/payment/flat.php
2. FIND:
Code: Select all
if ($status) {
Code: Select all
if ($this->cart->getSubtotal() > 100.00) {
$status = false;
}
Ok thanks,
but i think it has to by
1. EDIT: catalog/model/shipping/flat.php
2. FIND:
3. below, ADD:
but i think it has to by
1. EDIT: catalog/model/shipping/flat.php
2. FIND:
Code: Select all
if (!$this->config->get('flat_geo_zone_id')) {
$status = TRUE;
} elseif ($query->num_rows) {
$status = TRUE;
} else {
$status = FALSE;
}
3. below, ADD:
Code: Select all
if ($this->cart->getSubtotal() > $this->config->get('free_total')) {
$status = false;
}
Who is online
Users browsing this forum: No registered users and 212 guests