The shipping costs aren't displayed in the shopping cart till the customer selects the kind of shipping we wishes to use during the checkout process.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
It is not possible yet. Someone needs to write the shipping estimator moduleinuyasha wrote: i saw you can display "Total Cart Weight" on shop-cart
is it possible display shipping if i use weight base shipping
As a workaround, if your shipping is simple, you can install the MinOrderQty_v0.3 Contribution
This contribution has the Total Cart Weight in the Cart page
You could then use a table to show your shipping rates so the customers can work out the shipping manually
This is not an ideal solution but it is better than having to go through the process of registering an account to be able to check out to find out what shipping will be.
I have hacked a shipping estimator but I have a problem that is beyond my knowledge level.
If the customer is logged in, the shipping will show on the cart page but it won't show if they are not logged in.
Makes sense, cuz Opencart needs to know which geo zone to ship to. But in my situation, I only have one geo zone. I ship to Australia only and one price for all states based on weight.
How do I tell Opencart to just use the only one zone-geo zone I have
I use zone-based shipping
My code so far is:
In catalog/controller/cart.php
Find
Below Add
In catalog/template/default/cart.tpl
Find
Below add
Would appreciate any help offered. Thank-you
If the customer is logged in, the shipping will show on the cart page but it won't show if they are not logged in.
Makes sense, cuz Opencart needs to know which geo zone to ship to. But in my situation, I only have one geo zone. I ship to Australia only and one price for all states based on weight.
How do I tell Opencart to just use the only one zone-geo zone I have
I use zone-based shipping
My code so far is:
In catalog/controller/cart.php
Find
Code: Select all
$view->set('subtotal', $currency->format($cart->getSubtotal()));
Code: Select all
// Shipping Estimator
$view->set('methods', $shipping->getQuotes());
$view->set('default', $session->get('shipping_method'));
// Shipping Estimator
Find
Code: Select all
<tr>
<td><?php echo $text_cartweight; ?></td>
<td><?php echo $display_weight; ?></td>
</tr>
</table>
</div>
Code: Select all
<!-- Start Shipping Estimator -->
<?php if ($methods) { ?>
<div class="n">
<table>
<?php foreach ($methods as $method) { ?>
<?php if (!$method['error']) { ?>
<?php foreach ($method['quote'] as $quote) { ?>
<tr>
<td class="g"><label for="<?php echo $quote['id']; ?>">
<?php echo $quote['title']; ?></label></td>
<td class="g"><label for="<?php echo $quote['id']; ?>"><?php echo $quote['text']; ?></label></td>
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<td colspan="2" class="g"><div class="warning"><?php echo $method['error']; ?></div></td>
</tr>
<?php } ?>
<?php } ?>
</table>
</div>
<?php } ?>
<!-- End Shipping Estimator -->
Last edited by jty on Tue Oct 14, 2008 1:19 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest