Jump to content

huggettm

Member
  • Posts

    294
  • Joined

  • Last visited

Posts posted by huggettm

  1. ah apologies, the file is box.navigation.php (tech support told me main.php)

     

     

    Thank you for your help so far,

    so I have this but it is not creating the sticky menu, do i need to populate data-topbar=""

     

     

    <div class="sticky"><nav class="top-bar category-nav" data-topbar="" id="box-navigation" data-options="sticky_on: medium,large">
      <ul class="title-area">
         <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 class="left">
            <li class="show-for-medium-up"><a 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><a href="{$URL.certificates}" title="{$LANG.navigation.giftcerts}">{$LANG.navigation.giftcerts}</a></li>
            {/if}
            {if $CTRL_SALE}
            <li><a href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li>
            {/if}
         </ul>
      </section>
    </nav></div>

  2. FYI anyone looking to use a sym link for multiple stores, I did it by installing cubecart so it creates its image folder structure, then creating the sym link afterwards to the source folder. 

    I then updated the product images using the g7 data pump addon.

    1 minute ago, Al Brookbanks said:

    Makes sense. Can't say I blame them. Stuck between a rock and a hard place here... I suppose the only solution is to put all sites on one cPanel account if you want to use symlinks. However if one gets hacked they all get hacked. 

    Maybe you do need to mirror or rsync the images/source folder.

    I don't blame the hosting company for making this change. It's best for the greater good. 

    its 40,000 images so I didnt want to have it copied on every website :)

    but typing it out... yeh thats probably why it goes wrong lol

  3. manually setting the product code matches it fine, so there is definitely something wrong in the export of the data (I think the same factor affects the google product reviews also)

    Smarty gives this:

    $ITEMS

    Origin: "Smarty object"

    Value

    Array (1)
    d8ae1ad510dbfcadfa2022b5ec743de1 => Array (52)
      product_id => "17834"
      product_code => "AC77145"
      quantity => 1
      description => "Day of the Dead Serape<br><br> Male - Adult - One Size Fits Most <br><br> Con..."
      description_short => ""
      price => 20.52
      name => "Day of the Dead Serape (Adult Costumes) - Male - One Size Fits Most"
      cat_id => "39"
      popularity => "292"
      sale_price => "0.00"
      cost_price => "13.38"
      stock_level => "339"
      stock_warning => "0"
      use_stock_level => "1"

     

     

    using $item or $items makes no difference - do i need to define something else first?

  4. apologies i just didnt copy those in

    {literal}<script>
      fbq('track', 'Purchase', {
        currency: 'USD',
        content_type: 'product',
        contents: [
            {
                item_price: '{/literal}{$item.price}{literal}',
                id: '{/literal}{$item.product_code}{literal}',
                quantity: '{/literal}{$item.quantity}{literal}',
            }
        ],
      });
    </script>{/literal}

     

    is what i had

×
×
  • Create New...