Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,221
    Plugin Contributions
    1

    Default Shipping Estimator not selectable when logged

    I've seen similar posts addressing the point that when logged in the 'estimate shipping costs' on the shopping cart page does not allow for selection of another address. I have tried this on a live site and a new v1.51 install so I think it is default Zen Cart behaviour, but need to confirm if there is a way to 'activate' it. So,

    Add product to cart without logging in gives, on the shopping cart page, 'Estimate Shipping Costs' with Country dropdown, State dropdown and Post code field and Available Shipping Methods.

    Create account, add product to cart and on the shopping cart page the 'Estimate Shipping Costs' shows the Ship to address as the create account address and the Available delivery methods - no option to select an alternative.

    Ideally, what I think I would like to see when logged in is for the 'Estimate delivery costs, on the shopping cart page, to allow for an address other than the one entered at create account time. Is there any way of achieving this?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shipping Estimator not selectable when logged

    You could try this ...

    Using your templates and overrides, add the code in RED to the file:
    /includes/templates/your_templates_dir/templates/tpl_modules_shipping_estimator.php

    Code:
    <?php
      if($_SESSION['cart']->count_contents()) {
    //    if ($_SESSION['customer_id']) {
        if ((false)) {
    
    ?>
    <h2><?php echo CART_SHIPPING_OPTIONS; ?></h2>
    Code:
    <table width="100%" border="1" cellpadding="2" cellspacing ="2">
    <?php // if ($_SESSION['customer_id'] < 1 ){ ?>
    <?php if (true){ ?>
        <tr>
    and to the file:
    /includes/modules/your_templates_dir/shipping_estimator.php

    Code:
    //  if ($_SESSION['customer_id']) {
      if ((false)) {
        // user is logged in
    See if that does it for you ...
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. v150 Shipping estimator not showing up when logged in
    By menappi in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 4 Sep 2012, 08:20 PM
  2. Shipping Estimator not showing when logged in
    By shrimp-gumbo-mmmhhh in forum General Questions
    Replies: 8
    Last Post: 9 Oct 2009, 06:40 AM
  3. Shipping Estimator does not work for me when not logged in
    By speedraceratl in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 22 Aug 2009, 06:14 PM
  4. Shipping Estimator - problems when not logged in?
    By vik007 in forum General Questions
    Replies: 3
    Last Post: 3 Dec 2007, 02:00 PM
  5. Shipping Estimator Error 404 when cliet is not logged in
    By mikebr in forum Built-in Shipping and Payment Modules
    Replies: 29
    Last Post: 14 Jun 2007, 07:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR