Plugin Directory

Changeset 424122


Ignore:
Timestamp:
08/16/2011 09:39:16 AM (15 years ago)
Author:
liftsuggest
Message:
 
Location:
liftsuggest/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • liftsuggest/trunk/liftsuggest.php

    r413842 r424122  
    6161                    $curr_sku = mysql_real_escape_string($wpsc_query->product['id']);
    6262                    $product_price = mysql_real_escape_string($wpsc_query->product['price']);
     63                    $product_price =  trim(preg_replace("/[^0-9\.]/", "", $product_price),".");
    6364                }
    6465                else
     
    105106                    $curr_sku = mysql_real_escape_string($wpsc_query->product['id']);
    106107                    $product_price = mysql_real_escape_string($wpsc_query->product['price']);
     108                    $product_price =  trim(preg_replace("/[^0-9\.]/", "", $product_price),".");
    107109                }
    108110                else
     
    222224                    }
    223225            }
    224 
     226            if(!isset($_SESSION['reco_prods']))
     227            {
    225228            $_SESSION['reco_prods'] = array();
     229            }
    226230            foreach($reco as $key1=>$value1){
    227231                $reco_group .= get_prod_info($value1['sku'],$cart,$add_to_cart);
  • liftsuggest/trunk/readme.txt

    r413840 r424122  
    55Requires at least: 2.0.2
    66Tested up to: 2.1
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88
    99Liftsuggest is a product recommendation system based on your Google analytics data. It works with WP - Ecommerce plugin.
     
    40404. If you are using  traditional google analytics tracking  please include the following code before pageTracker._trackPageview() call and after var pageTracker = _gat._getTracker("UA-xxxxxx-x") in your template (ideally it is YOURSTOREPATH\wordpress\wp-content\themes\twentyeleven\footer.php)
    4141
    42 
    4342== Frequently Asked Questions ==
    4443
     
    6059
    6160
     61
    6262== Screenshots ==
    6363
     
    7676* Enabled tracking using Google Analytics Custom Variable 5 on Page Level on product pages to show how much additional $ benefit Liftsuggest has brought to your store.
    7777
    78 
    79 
     78= 1.0.2 =
     79* Recomendation percentage updated
Note: See TracChangeset for help on using the changeset viewer.