Results 1 to 10 of 25

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    hmmm... To test to see if this file is being used for the shipping estimator... I would change one of the defines to something else;

    define('TEXT_TOTAL_WEIGHT', '  Weight: ');

    to

    define('TEXT_TOTAL_WEIGHT', '  TEST Weight TEST : ');
    ~Steve~

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    I was actually doing that, just as you were advising me to do it.... I must be learning

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    I just tried placing the same file in \includes\languages\CUSTOM\english\popup_shipping_estimator.php but still not generating the test text.

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    OK, so it gets stranger. I just searched the text, "Estimate Shipping Costs" form the title in the popup page and the only file developers toolkit finds this text in is english.php

    Why is DTK not finding it in popup file?

  5. #5
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    Have you changed the shipping estimator template? May be the template is not using the Defines...



    \includes\templates\custom\templates\tpl_modules_shipping_estimator.php

    line 22

    <?php if (!empty($totalsDisplay)) { ?>
    <div class="cartTotalsDisplay important"><?php echo $totalsDisplay; ?></div>
    <?php } ?>
    ~Steve~

  6. #6
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    Quote Originally Posted by s_t_e_v_e View Post
    Have you changed the shipping estimator template? May be the template is not using the Defines...



    \includes\templates\custom\templates\tpl_modules_shipping_estimator.php

    line 22

    <?php if (!empty($totalsDisplay)) { ?>
    <div class="cartTotalsDisplay important"><?php echo $totalsDisplay; ?></div>
    <?php } ?>
    Just checked and I've never changed this file. It's still in the default template files, never been touched. I double checked line 22 and it's exactly as above.

  7. #7
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    The only other place those constants are defined is in;
    \includes\languages\english\shopping_cart.php

    but the popup shipping estimator shouldnt be using those... but... have a look.
    ~Steve~

  8. #8
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: New line or Add a Space in CSS Shipping Estimator

    I already tried that, again just as you were typing... I uploaded a copy of shopping_cart with some TEST TEXT and nothing appeared.

    Bizarre, right? I don't know why my popup language file isn't changing the popup page. It's not a big issue, but an interesting one :-)

 

 

Similar Threads

  1. v151 Shipping Estimator Questions for Popup and In-Line Cart Views
    By DBB1 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Nov 2012, 12:52 AM
  2. Add line space between catagory listings
    By btman in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Aug 2011, 03:59 PM
  3. CSS for Shipping Estimator
    By davidandrews in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 20 Mar 2009, 03:20 AM
  4. CSS for shipping estimator
    By CandleMan in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Feb 2009, 09:33 AM
  5. shipping estimator breaks at line 8?
    By tvadpro in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 30 Nov 2006, 02:06 AM

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