Jump to content

Claudia

Member
  • Posts

    242
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Claudia

  1. I keep getting these warnings.  Anything to do to stop it - or do I need to worry? Thanks for any and all help.

    [13-Sep-2023 09:02:41 America/Louisville] PHP Warning:  Invalid Security Token in /home/xxxxx/public_html/classes/sanitize.class.php on line 155
    [13-Sep-2023 09:02:41 America/Louisville] PHP Warning:  Undefined global variable $_GET in /home/xxxxx/public_html/includes/functions.inc.php on line 218
    [13-Sep-2023 09:30:31 America/Louisville] PHP Warning:  Undefined array key "HTTP_USER_AGENT" in /home/xxxxxx/public_html/classes/user.class.php on line 719
    [12-Sep-2023 21:06:52 America/Louisville] PHP Warning:  Trying to access array offset on value of type bool in /home/xxxxx/public_html/classes/cubecart.class.php on line 660
     

  2. template file element.navigation_tree.php

    <li class="has-sub-cbd">
       <a class="vertical-navigation-box-link-cbd" href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a>
       {if isset($BRANCH.children)}
       <ul class="vnb-sub-cbd">
          <li itemprop="name" class="vnb-sub-title-cbd">{$BRANCH.name}</li>
          {$BRANCH.children}
       </ul>
       {/if}
    </li>

    When I say yes to expand navigation tree in store settings I get this over top my menu:

    vmthrucc.thumb.PNG.6cc92607e6007942d5b1167f2a96b772.PNG

    I have it setup with my own files to do what I want, but I wanted to set it up thru Cubecart.  Now every time I add a category, or child, I have to do it manually. I add such a varity of items I'm always adding or changing categories.

    More Info:  The categories to the left in the image above are what shows using Cubecart with the expand categories store setting at no. I'm not using my files at all.

  3. I've changed the css in the foundation navigation files so it now acts as a vertical menu.  However, I can't get it to show my "children" and I don't know where to put my script. Any help is appreciated

    https://www.cambargainstore.com/

     

    {if $CATEGORIES}
    {$CATEGORIES}
    {else}
    <div id="vertical-navigation-box-cbd">
      <ul itemscope itemtype="http://www.schema.org/SiteNavigationElement" class="vnb-top-cbd">
                  <li>    <a href="/listed-only-on-ebay" title="Listed only on eBay" class="vm-ebay-txt">Listed only on eBay</a></li>
                <li>    <a href="/listed-only-on-etsy" title="Listed only on Etsy" class="vm-etsy-txt">Listed only on Etsy</a></li>

       <!--  <li class="name"></li>
         <li class="toggle-topbar left"><a href="">{$LANG.navigation.title} <svg class="icon"><use xlink:href="#icon-caret-down"></use></svg></a></li>
      </ul> -->
    <!--  <section class="top-bar-section">
         <h5 class="hide">{$LANG.navigation.title}</h5> -->
        <!-- <ul itemscope itemtype="http://www.schema.org/SiteNavigationElement" class="left"> -->
      <!--      <li itemprop="name" class="show-for-medium-up"><a itemprop="url" href="{$ROOT_PATH}" title="{$LANG.common.home}"><svg class="icon"><use xlink:href="#icon-home"></use></svg></a></li> -->
            {$NAVIGATION_TREE}
        <!--    {if $CTRL_CERTIFICATES && !$CATALOGUE_MODE}
            <li itemprop="name"><a itemprop="url" href="{$URL.certificates}" title="{$LANG.navigation.giftcerts}">{$LANG.navigation.giftcerts}</a></li>
            {/if} -->
       <!--     {if $CTRL_SALE}
            <li itemprop="name"><a itemprop="url" href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li>
            {/if} -->
         </ul>
         </div>
      {/if}

     

    <li class="has-sub-cbd">
       <a class="vertical-navigation-box-link-cbd" href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a>
       {if isset($BRANCH.children)}
       <ul class="vnb-sub-cbd">
          <li itemprop="name" class="vnb-sub-title-cbd">{$BRANCH.name}</li>
          {$BRANCH.children}
       </ul>
       {/if}
    </li>

     

    <script>
        $('.vnb-sub-cbd').hide();
        $('.has-sub-cbd').hover(function(){
            $(this).children('.vnb-sub-cbd').fadeToggle(200);
        });
        </script>

     

  4. Many CC versions ago I changed some of my email templates to suit my needs.  For example the Admin Order Received email. I uploaded this to the email template in admin and checked in the database and the test in admin and all my changes are there.  However, when the email is sent, the stock email from CC is sent. How do I make CC send my edited template? I'm using CC version 6.5.1

    Thanks

    Claudia

  5. I just upgraded to 1.0.26 AIOS and my shipping rates are showing twice on the checkout page.  This has always happened and I was given code to correct this, but I'm not sure it would work now.  Here is the change from some previous version of CC.  What should I do?

    In All in One Shipping module, shipping.class.php, near line 212, find:

    $this->debug(sprintf('<strong>&gt;&gt;&gt; Shipping zone [ID %s] matches the delivery address! Use this zone for shipping calculations.</strong>', $this->_all_zones[$i]['id']));

    if ($this->_settings['multiple_zones'] == 'first') {

                $this->debug('Looking for first matching zone of best match (instead of searching for all matching zones - see AIOS module settings)');

    } else {

                $this->debug('Searching for all matching shipping zones (instead of stopping at first matching zone - see AIOS module settings)');

    }

    Change to:

    $this->debug(sprintf('<strong>&gt;&gt;&gt; Shipping zone [ID %s] matches the delivery address! Use this zone for shipping calculations.</strong>', $this->_all_zones[$i]['id']));

    if ($this->_settings['multiple_zones'] == 'first') {

                $this->debug('Looking for first matching zone of best match (instead of searching for all matching zones - see AIOS module settings)');

                $closest_match_zone_id = $this->_all_zones[$i]['id'];

                break;

    } else {

                $this->debug('Searching for all matching shipping zones (instead of stopping at first matching zone - see AIOS module settings)');

    }

    doublerates.PNG.bacdea1154d70c34a8f370f1feeaf80b.PNG

     

  6. I've gone in PayPal to set it up. Completed the file, downloaded it then placed it in the well-known folder as it said to do then clicked register.  PayPal says it can't verify the file. Tried several times then gave up. By the by, thanks for fixing the Apple Pay issye.  My error log also thanks you.

×
×
  • Create New...