Jump to content

JackusD

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Location
    United Kingdom
  • Activity
    Project Owner

Recent Profile Visitors

196 profile views

JackusD's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. Ah, thanks, this has fixed the issue!
  2. Hi, my hosting company had a server move and I'm now getting a 500 error: Warning: ObjectModelCore::getDefinition(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in .../classes/ObjectModel.php on line 1819 Fatal error: Class 'Cache' not found in .../classes/ObjectModel.php on line 1819 Any help would be greatly appreciated!
  3. Ahh, ok, so you're still having issues with the Google Analytics API module then?
  4. Thanks, @JLeonrp, I'll give this a go! Were you getting the "Google is unreachable (check your firewall)" error too?
  5. Having this issue too. Was working for a few months and suddenly today it started saying "Google is unreachable (check your firewall)". I've tried all the solutions offered here without any luck... Anybody have any other suggestions?
  6. Are you sure you aren't pulling in that image again in product-list.tpl? I'm sure what I posted should only show that image once! You could wrap those images in a relatively positioned container, position all but the first image absolute with opacity: 0 so they're stacked and hidden and then use javascript to loop through and show and hide the images.
  7. Sure, if you remove the LIMIT from the Tools.php override: <?php class Tools extends ToolsCore { public static function getProductsImgs($product_id) { $sql = ' (SELECT * from `'._DB_PREFIX_.'image` WHERE id_product="'.$product_id.'" and cover=1) union (SELECT * from `'._DB_PREFIX_.'image` WHERE id_product="'.$product_id.'" and cover IS NULL ORDER BY `position` ) '; $result = Db::getInstance()->ExecuteS($sql); return $result; } } Then you could loop through the images in product-list.tpl with something like this: {assign var='productimg' value=Tools::getProductsImgs($product.id_product)} {foreach from=$productimg item=img name=productimg} <img class="static-img" src="{$link->getImageLink($product.link_rewrite,$product.id_product|cat:"-"|cat:$img.id_image, 'home_default')}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" itemprop="image" /> {/foreach}
  8. It shouldn't. We aren't overriding any existing functions, just creating a new one.
  9. In case anybody needs this for 1.6 you can use this in the Tools.php override: <?php class Tools extends ToolsCore { public static function getProductsImgs($product_id) { $sql = ' (SELECT * from `'._DB_PREFIX_.'image` WHERE id_product="'.$product_id.'" and cover=1) union (SELECT * from `'._DB_PREFIX_.'image` WHERE id_product="'.$product_id.'" and cover IS NULL ORDER BY `position` LIMIT 0,1 ) LIMIT 0,2 '; $result = Db::getInstance()->ExecuteS($sql); return $result; } }
  10. Hi Tung, Thanks for the reply! Yes, those were the shipping options that I'd expected to see. In my example above, if only one of those products is in the cart the correct shipping options are displayed and the user is able to proceed, so all of those carriers are definitely active. I'll take a look at the multiple shipping addresses module later today and see if that solves the problem. Thanks for the help! Jack
  11. Hi, I'm in need of some help! I'm having problems with the checkout when multiple carriers are being used. I have several different carriers set for different products, so some products won't share any of the same carriers. If these products are in the cart, the different shipping options aren't displayed and the user isn't able to proceed e.g. Product 1 has 'Stall Collect', 'Standard Delivery' and 'Express Delivery' carrier options. Product 2 only has a 'Made to Order' carrier option. This is what is displayed when these products are in the cart: I'm pretty stumped on this one, so if anybody could help it would be much appreciated! Thanks, Jack
×
×
  • Create New...