Jump to content



Member Since 16 Apr 2011
Offline Last Active Nov 03 2013 02:48 PM

#149716 Defer JavaScript loading to bottom.tpl

Posted by mghazal on 22 November 2012 - 08:41 AM

up can change scripts from {script src="YOURSCRIPT.JS"} to <script defer async src="YOURSCRIPT.JS"></script>

#143381 FREE ADDON: "Lazy Loader" and "Back to Top" for CS3

Posted by mghazal on 22 August 2012 - 06:44 AM

On your site : http://cs-cart-skins...ecsp-bigec.html

Do you have "new-arrival/sale/bestseller/featured" block as an addon?

#139003 Utf-8 characters in the URL

Posted by mghazal on 19 June 2012 - 02:17 PM

You can change /addon/seo/func.php, Add this line of code
$url_pattern = urldecode($url_pattern);
just after

if ((AREA == 'C') && !empty($req['sef_rewrite'])) {

// Remove web directory from request
if (!preg_match('!^(' . $current_path . ')?/(' . $config['customer_index'] . ')(.*)$!', $_SERVER['REQUEST_URI'])) {

$url_pattern = @parse_url($_SERVER['REQUEST_URI']);

if you save you seo names in the database correctly in greek then this should work perfectly

#138994 Canonical Addon

Posted by mghazal on 19 June 2012 - 12:54 PM

I just added this script to /skins/basic/customer/addons/my_changes/hooks/index/meta.post.tpl and it works fine for me.

{if $product}
{assign var="canonical_url" value="products.view?product_id=`$product.product_id`"|fn_url}
{if $category_data}
  {assign var="canonical_url" value="categories.view?category_id=`$category_data.category_id`"|fn_url}
  {assign var="canonical_url" value=$config.current_url|fn_url}
  {assign var="canonical_url" value=$canonical_url|replace:'&amp;sl=EN':''}
  {assign var="canonical_url" value=$canonical_url|replace:'&amp;sl=JO':''}
  {assign var="canonical_url" value=$canonical_url|replace:'?sl=EN':''}
  {assign var="canonical_url" value=$canonical_url|replace:'?sl=JO':''}
<link rel="canonical" href="{$config.http_location}{$canonical_url}"/>

#133464 CS-Cart 3 RC Released

Posted by mghazal on 20 March 2012 - 09:00 AM

can i specify different addons setting for each store "ultimate edition"?